Skip to main content
GET
cURL

Overview

Pass the top-level task id 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.
result.sample is temporary. Do not use a provider result URL as a durable application asset.

Authorizations

Authorization
string
header
required

Bearer token authentication. Use your CometAPI key.

Query Parameters

id
string
required

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.

id
string
required

FLUX task ID.

status
string
required

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.

Last modified on July 31, 2026