Skip to main content
GET
cURL

概要

task ID によって画像生成タスクのステータスと結果を照会します。
Cross-API Compatibility: このエンドポイントは、/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.