Skip to main content
GET
cURL
Використовуйте цей endpoint після створення завдання відео Flux 3. Відповідь містить video_url, коли завдання завершено.

Перевірте ці поля

  • status має одне зі значень: queued, in_progress, completed або failed.
  • progress є приблизним відсотком завершення від 0 до 100.
  • video_url з’являється, коли завдання завершено.
  • error з’являється, коли виконання завдання завершується помилкою.

Опитування завдання

1

Спочатку створіть завдання

Почніть із Створення відео Flux 3 і збережіть отриманий id.
2

Отримання стану завдання

Надсилайте ID завдання до цього endpoint, доки status не дорівнюватиме completed або failed.
3

Завантаження файлу MP4

Коли status дорівнює completed, викличте Завантаження відеовмісту Flux 3.

Авторизації

Authorization
string
header
обов'язково

Bearer authentication. Use your CometAPI API key.

Параметри шляху

task_id
string
обов'язково

Task ID returned by POST /v1/videos.

Відповідь

Current Flux 3 video task state.

id
string
обов'язково

Task ID. Use this value as task_id in retrieve and content requests.

Приклад:

"<task_id>"

object
string
обов'язково

Object type for the asynchronous video task.

Allowed value: "video"
model
string
обов'язково

Model ID that the task uses.

Allowed value: "flux-3"
status
enum<string>
обов'язково

Task lifecycle status. Poll until the value is completed or failed.

Доступні опції:
queued,
in_progress,
completed,
failed
progress
integer
обов'язково

Task progress as a coarse percentage.

Необхідний діапазон: 0 <= x <= 100
created_at
integer<int64>
обов'язково

Task creation time as a Unix timestamp in seconds.

task_id
string

Compatibility alias for id. This field can be omitted from retrieve responses.

Приклад:

"<task_id>"

completed_at
integer<int64>

Task completion time as a Unix timestamp in seconds when the task provides one.

expires_at
integer<int64>

Result expiration time as a Unix timestamp in seconds when the task provides one.

video_url
string<uri>

Video delivery URL. This field appears on completed tasks.

Приклад:

"https://media.example.com/flux-3-result.mp4"

error
object

Failure details. This field appears when the task fails.

Останнє оновлення 14 серпня 2026 р.