Een Omni-video ophalen
Haal een beta Omni-videotaak op via task ID, inclusief status, voortgang, tijdstempels en de URL van de voltooide video.
video_url nadat de taak is voltooid.
Beta
Controleer deze velden
statusgeeft aan of de taakqueued,in_progress,completedoffailedis.progressis een grove voltooiingspercentage.video_urlverschijnt in voltooide responses.errorverschijnt wanneer een taak mislukt.
Polling-proces
Maak eerst de taak aan
id op.Poll op task ID
status completed of failed bereikt.Download het MP4-bestand
status completed is, roep je Retrieve Omni video content aan.Autorisaties
Bearer authentication. Use your CometAPI API key.
Padparameters
Task ID returned by POST /v1/videos.
Respons
Omni video task state.
Task ID returned by POST /v1/videos.
"task_example"
Object type. Omni video tasks return video.
"video"
Model ID used for the task.
"omni-fast"
Task lifecycle status. Poll until the value is completed or failed.
queued, in_progress, completed, failed "completed"
Task progress as a coarse percentage.
0 <= x <= 100100
Task creation time as a Unix timestamp in seconds.
1779938152
Task completion time as a Unix timestamp in seconds. This field appears on completed tasks.
1779938219
Temporary video delivery URL. This field appears on completed tasks.
"<temporary-video-url>"
Failure details. This field appears when the task fails.