Skip to content

Video modelleri

The 视频专用 group covers Seedance, Veo, Kling, MiniMax, Grok and other video models, all called through the same video API.

İki ücretlendirme birimi: klip başına ve saniye başına

This is the one thing to check before picking a model:

  • Klip başına — istek başına tek fiyat, süreden bağımsız. Uzun klipler için daha avantajlı.
  • Saniye başına — fiyat × süre. Kısa kliplerde daha ucuz, uzunlarda kullandığın kadar öde.

Cards in the Model Marketplace state / clip or / second directly, and the Pricing type filter on the left lets you view just one kind.

Düşük birim fiyat, düşük toplam demek değildir

¥0,375 / saniye olarak listelenen bir model 15 saniyede ¥5,625 tutar; ¥4,35 / klip olan bir model ise süre ne olursa olsun ¥4,35 kalır. Karşılaştırmadan önce mutlaka ihtiyacınız olan süreye çevirin.

Calling it

Video is an async job: submit, get a task_id, then poll for the result. Use a token from the 视频专用 group.

bash
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.

Videoyu alma

status completed olduğunda videoyu yanıttaki metadata.url adresinden indirin. Bu adres her zaman şudur:

bash
curl -L 'https://tian-shu.net/v1/videos/{task_id}/content' \
  -H 'Authorization: Bearer <视频专用 grubu anahtarınız>' \
  -o video.mp4

video/mp4 döner.

Videolar sınırlı süre saklanır

Üretim biter bitmez dosyayı indirip kendiniz saklayın. Saklama süresi dolduktan sonra adres çalışmaz.

Başarısızlıkta yanıtta metadata bulunmaz, yalnızca error.message döner — ve ücret alınmaz.

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.