Pobierz binarne dane wygenerowanego wideo Sora 2 za pomocą GET /v1/videos//content w CometAPI, aby ściągać ukończone wyniki wideo według video_id.
curl --request GET \
--url https://api.cometapi.com/v1/videos/{video_id}/content \
--header 'Authorization: Bearer <token>'"<string>"completed. Do tego momentu zwraca on błąd zamiast pliku wideo.
status: completedvideo_id z kroku tworzenia lub remiksuUtwórz lub zremiksuj wideo
Sprawdzaj ukończenie
completed.invalid_request_error, i takiego zachowania należy oczekiwać, gdy renderowanie nadal trwa.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>"