Skip to main content
GET
cURL

Visão geral

Passe o ID da tarefa de nível superior id retornado por POST /flux/v1/\{model\} como o parâmetro de consulta id. Continue consultando dentro de um tempo limite limitado do cliente até que a tarefa seja bem-sucedida ou falhe. O resultado bem-sucedido pode incluir sample, seed, prompt e start_time. Alguns campos podem ser omitidos, portanto exija apenas result.sample depois que a tarefa estiver Ready.
result.sample é temporária. Não use uma URL de resultado do provedor como um ativo durável da aplicação.

Autorizações

Authorization
string
header
obrigatório

Bearer token authentication. Use your CometAPI key.

Parâmetros de consulta

id
string
obrigatório

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

Resposta

200 - application/json

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

id
string
obrigatório

FLUX task ID.

status
string
obrigatório

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.

Última modificação em 31 de julho de 2026