Skip to main content
GET
cURL

Overzicht

Vraag de status en het resultaat van een afbeeldingsgeneratietaak op via task ID.
Cross-API-compatibiliteit: Dit endpoint is ook compatibel met taken die zijn aangemaakt via /replicate/v1/models/\{model\}/predictions en /flux/v1/\{model\}.

Autorisaties

Authorization
string
header
vereist

Bearer token authentication. Use your CometAPI key.

Queryparameters

id
string
vereist

Task id returned by the Flux generate endpoint.

Respons

200 - application/json

OK

id
string
result
object

Generation result when the task is Ready. sample carries a time-limited image URL; download it promptly.

status
string

Task state, such as Pending, Ready, or Task not found for expired or unknown tasks.