API 目录

查询视频任务(免费)

GET
/runwayml/v1/tasks/{task_id}

查询视频任务(免费)

通过任务 ID 获取视频生成任务的当前状态与结果信息。

GET https://www.vortapapi.com/v1/runwayml/v1/tasks/{task_id}

路径参数

参数类型必填说明
task_idstring要查询的视频任务 ID。

请求头

名称必填说明
Content-Type请求内容类型,通常为 application/json
Accept期望返回的数据格式,通常为 application/json
Authorization身份认证信息,格式为 Bearer sk-***

响应示例

{
  "id": "4665a07c-7641-4809-a133-10786201bb56",
  "prompt": "",
  "state": "pending",
  "queue_state": null,
  "created_at": "2024-12-22T13:38:40.139409Z",
  "batch_id": "",
  "video": null,
  "video_raw": null,
  "liked": null,
  "estimate_wait_seconds": null,
  "thumbnail": null,
  "last_frame": null
}

响应字段说明

字段类型说明
idstring视频任务 ID。
promptstring创建任务时使用的提示词。
statestring当前任务状态,例如 pending 表示等待处理中。
queue_statestring | null队列状态;无可用信息时为 null
created_atstring任务创建时间,采用 ISO 8601 时间格式。
batch_idstring批处理 ID;如果未关联批处理,通常为空字符串。
videostring | null生成后的视频地址;任务未完成时通常为 null
video_rawstring | null原始视频资源地址;未生成时为 null
likedboolean | null用户是否标记喜欢;未设置时为 null
estimate_wait_secondsnumber | null预计等待秒数;不可用时为 null
thumbnailstring | null视频缩略图地址;未生成时为 null
last_framestring | null视频最后一帧图片地址;未生成时为 null