Отримання відео Flux 3
Отримайте завдання відео Flux 3 за ID завдання, включно з його статусом, прогресом, часовими мітками, URL результату або відомостями про помилку.
video_url, коли завдання завершено.
Перевірте ці поля
statusмає одне зі значень:queued,in_progress,completedабоfailed.progressє приблизним відсотком завершення від0до100.video_urlз’являється, коли завдання завершено.errorз’являється, коли виконання завдання завершується помилкою.
Опитування завдання
Спочатку створіть завдання
id.Отримання стану завдання
status не дорівнюватиме completed або failed.Завантаження файлу MP4
status дорівнює completed, викличте Завантаження відеовмісту Flux 3.Авторизації
Bearer authentication. Use your CometAPI API key.
Параметри шляху
Task ID returned by POST /v1/videos.
Відповідь
Current Flux 3 video task state.
Task ID. Use this value as task_id in retrieve and content requests.
"<task_id>"
Object type for the asynchronous video task.
"video"Model ID that the task uses.
"flux-3"Task lifecycle status. Poll until the value is completed or failed.
queued, in_progress, completed, failed Task progress as a coarse percentage.
0 <= x <= 100Task creation time as a Unix timestamp in seconds.
Compatibility alias for id. This field can be omitted from retrieve responses.
"<task_id>"
Task completion time as a Unix timestamp in seconds when the task provides one.
Result expiration time as a Unix timestamp in seconds when the task provides one.
Video delivery URL. This field appears on completed tasks.
"https://media.example.com/flux-3-result.mp4"
Failure details. This field appears when the task fails.