نماذج الفيديو
The 视频专用 group covers Seedance, Veo, Kling, MiniMax, Grok and other video models, all called through the same video API.
وحدتا فوترة: لكل مقطع ولكل ثانية
This is the one thing to check before picking a model:
- لكل مقطع — سعر واحد لكل طلب بغضّ النظر عن المدّة. أوفر للمقاطع الطويلة.
- لكل ثانية — السعر × المدّة. أرخص للمقاطع القصيرة، وبحسب الاستهلاك للطويلة.
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 / ثانية يكلّف ¥5.625 لمدّة 15 ثانية، بينما يبقى نموذج بسعر ¥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.mp4يعيد video/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.
