Recupera i dati binari del video generato di Sora 2 tramite GET /v1/videos//content in CometAPI per scaricare gli output video completati tramite video_id.
curl --request GET \
--url https://api.cometapi.com/v1/videos/{video_id}/content \
--header 'Authorization: Bearer <token>'"<string>"completed. Fino ad allora, restituisce un errore invece di un file video.
status: completedvideo_id ottenuto dal passaggio di creazione o remixCrea o remixa il video
Controlla fino al completamento
completed.invalid_request_error, che è il comportamento che dovresti aspettarti mentre un rendering è ancora in esecuzione.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>"