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日