Skip to main content
GET
cURL

Panoramica

Passa l’ID dell’attività di primo livello id restituito da POST /flux/v1/\{model\} come parametro di query id. Continua a eseguire il polling entro un timeout client limitato finché l’attività non viene completata con successo o non fallisce. Il risultato completato con successo può includere sample, seed, prompt e start_time. Alcuni campi possono essere omessi, quindi richiedi result.sample solo dopo che l’attività è Ready.
result.sample è temporaneo. Non utilizzare un URL del risultato del provider come risorsa dell’applicazione durevole.

Autorizzazioni

Authorization
string
header
obbligatorio

Bearer token authentication. Use your CometAPI key.

Parametri della query

id
string
obbligatorio

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

Risposta

200 - application/json

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

id
string
obbligatorio

FLUX task ID.

status
string
obbligatorio

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.

Ultima modifica il 31 luglio 2026