Skip to main content
GET
查询任务详情

授权

Authorization
string
header
必填

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

路径参数

task_id
string
必填

响应

任务详情。

task_id
string
必填
示例:

"task_123"

status
enum<string>
必填
可用选项:
pending,
processing,
completed,
failed,
expired
model
string
created_at
string<date-time>
completed_at
string<date-time> | null
result
object

已完成任务的结果。图片任务采用 OpenAI 图片格式(图片地址在 data[0].url);视频与音频任务提供 video_url/audio_url 以及 urls[] 数组。

error
any | null