Truy xuất video Flux 3
Truy xuất một tác vụ video Flux 3 theo ID tác vụ, bao gồm trạng thái, tiến độ, dấu thời gian, URL kết quả hoặc thông tin chi tiết về lỗi.
video_url khi tác vụ hoàn tất.
Kiểm tra các trường sau:
statuscó thể làqueued,in_progress,completedhoặcfailed.progresslà tỷ lệ phần trăm hoàn thành ước tính từ0đến100.video_urlxuất hiện khi tác vụ hoàn tất.errorxuất hiện khi tác vụ thất bại.
Thăm dò tác vụ
Tạo tác vụ trước
id được trả về.Truy xuất trạng thái tác vụ
status là completed hoặc failed.Tải tệp MP4 xuống
status là completed, hãy gọi Tải nội dung video Flux 3 xuống.Ủy quyền
Bearer authentication. Use your CometAPI API key.
Tham số đường dẫn
Task ID returned by POST /v1/videos.
Phản hồi
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.