Skip to main content
GET
cURL

Tổng quan

Truy vấn trạng thái và kết quả của một tác vụ tạo ảnh bằng task ID.
Tương thích đa API: Endpoint này cũng tương thích với các tác vụ được tạo qua /replicate/v1/models/\{model\}/predictions/flux/v1/\{model\}.

Ủy quyền

Authorization
string
header
bắt buộc

Bearer token authentication. Use your CometAPI key.

Tham số truy vấn

id
string
bắt buộc

Task id returned by the Flux generate endpoint.

Phản hồi

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.