Skip to main content
GET
cURL

概要

id を最上位タスクとして POST /flux/v1/\{model\} から受け取り、id クエリパラメータとして渡します。タスクが成功または失敗するまで、クライアントのタイムアウト範囲内でポーリングを続けます。 成功した結果には、sampleseedpromptstart_time を含めることができます。一部のフィールドは省略される場合があるため、タスクが result.sample になった後にのみ Ready を必須としてください。
result.sample は一時的です。プロバイダーの結果 URL を永続的なアプリケーションアセットとして使用しないでください。

承認

Authorization
string
header
必須

Bearer token authentication. Use your CometAPI key.

クエリパラメータ

id
string
必須

Top-level task ID returned by the FLUX create endpoint.

レスポンス

200 - application/json

Current FLUX task state and, when ready, the generated image result.

id
string
必須

FLUX task ID.

status
string
必須

Task state. Ready is successful. Known failure states include Error, Failed, Failure, Task not found, Request Moderated, and Content Moderated.

result
object | null

Generation result. It can be null or omitted while the task is still running.

progress
number | null

Task progress when returned.

details
any

Additional task details when returned.

preview
any

Task preview data when returned.

最終更新日 2026年7月31日