Flux
Get a FLUX image result
Poll a native FLUX image task by its top-level ID and retrieve the generated image URL when its status is Ready.
GET
cURL
Overview
Pass the top-level taskid returned by POST /flux/v1/\{model\} as the id query parameter. Keep polling within a bounded client timeout until the task succeeds or fails.
The successful result can include
sample, seed, prompt, and start_time. Some fields can be omitted, so only require result.sample after the task is Ready.
Authorizations
Bearer token authentication. Use your CometAPI key.
Query Parameters
Top-level task ID returned by the FLUX create endpoint.
Response
200 - application/json
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.
Last modified on July 31, 2026