Skip to main content
GET
cURL

Tổng quan

Truyền id cấp cao nhất được trả về bởi POST /flux/v1/\{model\} làm tham số truy vấn id. Tiếp tục thăm dò trong giới hạn thời gian chờ phía máy khách cho đến khi tác vụ thành công hoặc thất bại. Kết quả thành công có thể bao gồm sample, seed, promptstart_time. Một số trường có thể bị bỏ qua, vì vậy chỉ yêu cầu result.sample sau khi tác vụ ở trạng thái Ready.
result.sample có tính tạm thời. Không sử dụng URL kết quả của nhà cung cấp làm tài sản ứng dụng lâu dài.

Ủy quyền

Authorization
string
header
bắt buộc

Bearer token authentication. Use your CometAPI key.

Tham số truy vấn

id
string
bắt buộc

Top-level task ID returned by the FLUX create endpoint.

Phản hồi

200 - application/json

Current FLUX task state and, when ready, the generated image result.

id
string
bắt buộc

FLUX task ID.

status
string
bắt buộc

Task state. Ready is successful. Known failure states include Error, Failed, Failure, Task not found, Request Moderated, and Content Moderated.

result
object | null

Generation result. It can be null or omitted while the task is still running.

progress
number | null

Task progress when returned.

details
any

Additional task details when returned.

preview
any

Task preview data when returned.

Lần sửa đổi cuối 31 tháng 7, 2026