Skip to main content
GET
cURL

Resumen

Consulta el estado y el resultado de una tarea de generación de imágenes por ID de tarea.
Compatibilidad entre API: Este endpoint también es compatible con tareas creadas mediante /replicate/v1/models/\{model\}/predictions y /flux/v1/\{model\}.

Autorizaciones

Authorization
string
header
requerido

Bearer token authentication. Use your CometAPI key.

Parámetros de consulta

id
string
requerido

Task id returned by the Flux generate endpoint.

Respuesta

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.