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

授权

Authorization
string
header
必填

在 OmniRelay 控制台创建的 API Key。所有者确认身份后可在控制台再次查看。

路径参数

id
string
必填

创建任务时返回的任务 ID。

响应

任务当前状态。

id
string
必填
model
string
必填
status
enum<string>
必填

succeeded 扣费;failed、expired 和 cancelled 不扣费。

可用选项:
queued,
running,
succeeded,
failed,
expired,
cancelled
created_at
integer
必填

Unix 秒。

updated_at
integer
必填

Unix 秒。

content
object
duration
integer
ratio
string
resolution
string
framespersecond
integer
seed
integer
generate_audio
boolean
usage
object
error
object

任务未生成的原因。

cost_microusd
integer

折扣后的费用(micro-USD),任务结算后返回。