Nhận kết quả hình ảnh FLUX
Thăm dò một tác vụ hình ảnh FLUX gốc theo ID cấp cao nhất của tác vụ đó và truy xuất URL hình ảnh được tạo khi trạng thái của tác vụ là Ready.
Tổng quan
Truyềnid 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.
sample, seed, prompt và start_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.
Ủy quyền
Bearer token authentication. Use your CometAPI key.
Tham số truy vấn
Top-level task ID returned by the FLUX create endpoint.
Phản hồi
Current FLUX task state and, when ready, the generated image result.
FLUX task ID.
Task state. Ready is successful. Known failure states include Error, Failed, Failure, Task not found, Request Moderated, and Content Moderated.
Generation result. It can be null or omitted while the task is still running.
Task progress when returned.
Additional task details when returned.
Task preview data when returned.