動画モデル
The 视频专用 group covers Seedance, Veo, Kling, MiniMax, Grok and other video models, all called through the same video API.
課金は 2 種類:1本あたり / 1秒あたり
This is the one thing to check before picking a model:
- 1本あたり:リクエストごとに固定料金で、長さに関係しません。長尺ほど有利です。
- 1秒あたり:単価 × 長さ。短い動画は安く、長い動画は使った分だけ支払います。
Cards in the Model Marketplace state / clip or / second directly, and the Pricing type filter on the left lets you view just one kind.
単価が安い=総額が安い、ではありません
¥0.375 / 秒 のモデルは 15 秒で ¥5.625、¥4.35 / 本 のモデルは長さに関係なく ¥4.35 です。実際に必要な長さに換算してから比較してください。
Calling it
Video is an async job: submit, get a task_id, then poll for the result. Use a token from the 视频专用 group.
curl 'https://tian-shu.net/v1/videos' \
-H 'Authorization: Bearer <your 视频专用 group key>' \
-H 'Content-Type: application/json' \
-d '{
"model": "seedance-2.0-fast",
"prompt": "neon street on a rainy night, slow dolly in, cinematic",
"aspect_ratio": "16:9"
}'Then poll GET /v1/videos/{task_id}; fetch the result once status becomes completed.
動画の取得
status が completed になったら、レスポンスの metadata.url から動画をダウンロードします。アドレスは常に次の形式です:
curl -L 'https://tian-shu.net/v1/videos/{task_id}/content' \
-H 'Authorization: Bearer <視頻專用 グループのキー>' \
-o video.mp4video/mp4 が返ります。
生成物の保持期間には限りがあります
完了後はできるだけ早くダウンロードし、ご自身で保存してください。 保持期間を過ぎるとこのアドレスは利用できなくなります。
失敗時のレスポンスには metadata がなく、error.message のみが返ります。課金されません。
Parameters differ per model
Supported durations, resolutions and reference-image / first-last-frame capabilities vary a lot between models. Click the Docs button on a model card to see that model's own endpoint reference, parameter table and copy-ready samples — see Using the Marketplace.
