Sora 2 video durumunu, ilerlemeyi ve süre, boyutlar, zaman damgaları ve sona erme gibi metadata bilgilerini retrieve etmek için CometAPI GET /v1/videos/ kullanın.
curl --request GET \
--url https://api.cometapi.com/v1/videos/{video_id} \
--header 'Authorization: Bearer <token>'{
"id": "video_69b25d5f467c81908733a56bc236b4df",
"size": "1280x720",
"error": null,
"model": "sora-2",
"object": "video",
"prompt": "A paper airplane glides across a desk.",
"status": "in_progress",
"seconds": "4",
"progress": 0,
"created_at": 1773296991,
"expires_at": null,
"completed_at": null,
"remixed_from_video_id": null
}statusprogresserrorexpires_atÖnce videoyu oluşturun veya remix yapın
id ile sorgulayın
id değerini burada iletin ve iş completed veya failed durumuna ulaşana kadar kontrol etmeye devam edin.Dosyayı indirin
completed olduğunda, Retrieve Video Content adımına geçin.Bearer token authentication. Use your CometAPI key.
Video id returned by the create or remix endpoint.
Current job state.
curl --request GET \
--url https://api.cometapi.com/v1/videos/{video_id} \
--header 'Authorization: Bearer <token>'{
"id": "video_69b25d5f467c81908733a56bc236b4df",
"size": "1280x720",
"error": null,
"model": "sora-2",
"object": "video",
"prompt": "A paper airplane glides across a desk.",
"status": "in_progress",
"seconds": "4",
"progress": 0,
"created_at": 1773296991,
"expires_at": null,
"completed_at": null,
"remixed_from_video_id": null
}