Ambil data biner video Sora 2 yang dihasilkan melalui GET /v1/videos//content di CometAPI untuk mengunduh output video yang telah selesai berdasarkan video_id.
curl --request GET \
--url https://api.cometapi.com/v1/videos/{video_id}/content \
--header 'Authorization: Bearer <token>'"<string>"completed. Sebelum itu, endpoint ini akan mengembalikan error alih-alih file video.
status: completedvideo_id dari langkah create atau remixCreate or remix the video
Poll for completion
completed.invalid_request_error, yang merupakan perilaku yang perlu Anda harapkan saat proses render masih berjalan.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>"