Model video
The 视频专用 group covers Seedance, Veo, Kling, MiniMax, Grok and other video models, all called through the same video API.
Dua satuan tagihan: per klip dan per detik
This is the one thing to check before picking a model:
- Per klip — satu harga per permintaan, tanpa memandang durasi. Lebih hemat untuk klip panjang.
- Per detik — harga × durasi. Lebih murah untuk klip pendek, bayar sesuai pakai untuk yang panjang.
Cards in the Model Marketplace state / clip or / second directly, and the Pricing type filter on the left lets you view just one kind.
Harga satuan lebih murah bukan berarti totalnya lebih murah
Model bertarif ¥0,375 / detik menjadi ¥5,625 untuk 15 detik, sedangkan model ¥4,35 / klip tetap ¥4,35 berapa pun durasinya. Selalu konversikan ke durasi yang benar-benar Anda perlukan sebelum membandingkan.
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.
Mengambil video
Setelah status menjadi completed, unduh klip dari metadata.url pada respons. Alamatnya selalu:
curl -L 'https://tian-shu.net/v1/videos/{task_id}/content' \
-H 'Authorization: Bearer <kunci grup 视频专用 Anda>' \
-o video.mp4Mengembalikan video/mp4.
Klip hanya disimpan dalam waktu terbatas
Unduh dan simpan sendiri berkasnya begitu selesai. Alamat berhenti bekerja setelah masa penyimpanan berakhir.
Saat gagal, respons tidak memuat metadata, hanya error.message — dan tidak ada tagihan.
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.
