官方格式
获取任务详情
使用 CometAPI 调用 GET /runwayml/v1/tasks/,并通过任务 ID 获取 Runway 视频生成任务的状态、进度、输出和元数据。
GET
Poll a Runway official-format task
使用此端点按 id 查看 Runway 任务。Documentation Index
Fetch the complete documentation index at: https://apidoc.cometapi.com/llms.txt
Use this file to discover all available pages before exploring further.
先检查这些字段
id:任务标识符status:当前任务状态output:任务成功时返回的已完成资源 URLfailure和failureCode:任务失败时的相关信息
何时使用
- 在调用官方格式的 Runway 任务创建页面之后使用,例如 text-to-image、image-to-video、video-to-video 或 upscale
- 当你需要这种格式,而不是兼容格式的
feed路由时
重试行为
- 新创建的任务可能会短暂返回
task_not_exist - 在将该任务 id 视为无效之前,请等待几秒后重试
- 一旦任务可见,此路由和兼容格式的
feed路由都可能返回相同的排队中或进行中的响应
授权
Bearer token authentication. Use your CometAPI key.
请求头
Optional Runway version header, for example 2024-11-06.
路径参数
Runway task id returned by the create endpoint.
响应
200 - application/json
Current task state.
Task ID.
Task status.
可用选项:
PENDING, RUNNING, SUCCEEDED, FAILED Task creation timestamp.
Output URLs returned after the task succeeds.
Failure reason returned after the task fails.
Failure code returned after the task fails.
Task progress.