跳转到主要内容
GET
/
runwayml
/
v1
/
tasks
/
{id}
Poll a Runway official-format task
curl --request GET \
  --url https://api.cometapi.com/runwayml/v1/tasks/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "d0658ae1-bbdd-4adc-aaba-fd8070e14d79",
  "status": "SUCCEEDED",
  "createdAt": "2026-05-01T12:47:47.351Z",
  "output": [
    "https://example.com/output.mp4"
  ]
}

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 查看 Runway 任务。

先检查这些字段

  • id:任务标识符
  • status:当前任务状态
  • output:任务成功时返回的已完成资源 URL
  • failurefailureCode:任务失败时的相关信息

何时使用

  • 在调用官方格式的 Runway 任务创建页面之后使用,例如 text-to-image、image-to-video、video-to-video 或 upscale
  • 当你需要这种格式,而不是兼容格式的 feed 路由时

重试行为

  • 新创建的任务可能会短暂返回 task_not_exist
  • 在将该任务 id 视为无效之前,请等待几秒后重试
  • 一旦任务可见,此路由和兼容格式的 feed 路由都可能返回相同的排队中或进行中的响应

授权

Authorization
string
header
必填

Bearer token authentication. Use your CometAPI key.

请求头

X-Runway-Version
string

Optional Runway version header, for example 2024-11-06.

路径参数

id
string
必填

Runway task id returned by the create endpoint.

响应

200 - application/json

Current task state.

id
string
必填

Task ID.

status
enum<string>
必填

Task status.

可用选项:
PENDING,
RUNNING,
SUCCEEDED,
FAILED
createdAt
string

Task creation timestamp.

output
string[]

Output URLs returned after the task succeeds.

failure
string

Failure reason returned after the task fails.

failureCode
string

Failure code returned after the task fails.

progress
number

Task progress.