Skip to main content
GET
cURL

Visão geral

Consulte o status e o resultado de uma tarefa de geração de imagem pelo ID da tarefa.
Compatibilidade entre APIs: Este endpoint também é compatível com tarefas criadas via /replicate/v1/models/\{model\}/predictions e /flux/v1/\{model\}.

Autorizações

Authorization
string
header
obrigatório

Bearer token authentication. Use your CometAPI key.

Parâmetros de consulta

id
string
obrigatório

Task id returned by the Flux generate endpoint.

Resposta

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.