Lấy dữ liệu nhị phân của video Sora 2 đã tạo qua GET /v1/videos//content trong CometAPI để tải xuống đầu ra video đã hoàn tất theo video_id.
curl --request GET \
--url https://api.cometapi.com/v1/videos/{video_id}/content \
--header 'Authorization: Bearer <token>'"<string>"completed. Trước thời điểm đó, nó sẽ trả về lỗi thay vì tệp video.
status: completedvideo_id từ bước tạo hoặc remixTạo hoặc remix video
Kiểm tra hoàn tất
completed.invalid_request_error, đây là hành vi bạn nên mong đợi khi quá trình render vẫn đang chạy.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>"