跳转到主要内容
GET
查询任务

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

请求头

x-provider-route
string
默认值:cost

上游速度cost、stable、fast

路径参数

id
string
必填

生成或操作接口返回的任务 ID。

示例:

"1834578377046429696"

响应

200 - application/json
id
string
必填

任务 ID。

示例:

"1834578377046429696"

model
string
必填

任务使用的模型。

示例:

"midjourney/8.2"

object
string
必填
Allowed value: "image.generation"
status
enum<string>
必填

completed 表示任务成功,failed 表示任务失败。

可用选项:
completed,
failed
data
object
必填
error
object | null
必填

任务成功时为 null,失败时返回错误详情。