Skip to main content
GET
cURL

概覽

透過 task ID 查詢圖像生成任務的狀態與結果。
跨 API 相容性: 此端點也相容於透過 /replicate/v1/models/\{model\}/predictions/flux/v1/\{model\} 建立的任務。

授權

Authorization
string
header
必填

Bearer token authentication. Use your CometAPI key.

查詢參數

id
string
必填

Task id returned by the Flux generate endpoint.

回應

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.