Skip to main content
GET
cURL

Genel bakış

Bir görsel oluşturma görevinin durumunu ve sonucunu task ID ile sorgulayın.
API’ler arası uyumluluk: Bu endpoint, /replicate/v1/models/\{model\}/predictions ve /flux/v1/\{model\} üzerinden oluşturulan task’lerle de uyumludur.

Yetkilendirmeler

Authorization
string
header
gerekli

Bearer token authentication. Use your CometAPI key.

Sorgu Parametreleri

id
string
gerekli

Task id returned by the Flux generate endpoint.

Yanıt

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.