اجلب بيانات الفيديو الثنائية المُنشأة لـ Sora 2 عبر GET /v1/videos//content في CometAPI لتنزيل مخرجات الفيديو المكتملة باستخدام video_id.
curl --request GET \
--url https://api.cometapi.com/v1/videos/{video_id}/content \
--header 'Authorization: Bearer <token>'"<string>"completed. وحتى ذلك الحين، ستُرجِع خطأً بدلًا من ملف فيديو.
status: completedvideo_id من خطوة الإنشاء أو إعادة المزجإنشاء الفيديو أو إعادة مزجه
التحقق الدوري من الاكتمال
completed.invalid_request_error، وهذا هو السلوك الذي ينبغي أن تتوقعه بينما لا تزال عملية التصيير قيد التشغيل.Bearer token authentication. Use your CometAPI key.
Completed video id.
Optional content variant such as the main video, thumbnail, or spritesheet when supported by the provider.
Binary video content.
The response is of type file.
curl --request GET \
--url https://api.cometapi.com/v1/videos/{video_id}/content \
--header 'Authorization: Bearer <token>'"<string>"