Runway Query 功能 - Runway 任务状态查询 - apizt API 中转接口

型号与创建入口核对日期:2026-10-08。来源:apizt 当前模型目录。目录收录不等于你的令牌已开通权限,提交前核对账户模型与价格。

GEThttps://api.apizt.com/runwayml/v1/tasks/{task_id}在线调试 →

请求参数

参数说明
task_id路径参数;填入创建接口返回的完整任务 ID。

GET 请求不发送 body。路径中的任务 ID 和 URL 查询参数须替换为自己的值。

请求示例代码

先设置 tokenba_API_KEY;Python 安装 requests,JavaScript 使用 Node.js 20+。示例未进行付费生成实测。

curl --fail-with-body --request GET "https://api.apizt.com/runwayml/v1/tasks/YOUR_TASK_ID" \
  --header "Authorization: Bearer $tokenba_API_KEY"
import os
import requests

headers = {"Authorization": f"Bearer {os.environ['tokenba_API_KEY']}"}
response = requests.get('https://api.apizt.com/runwayml/v1/tasks/YOUR_TASK_ID', headers=headers, timeout=60)
response.raise_for_status()
print(response.json())
(async () => {
  const headers = { Authorization: `Bearer ${process.env.tokenba_API_KEY}` };
  const response = await fetch("https://api.apizt.com/runwayml/v1/tasks/YOUR_TASK_ID", { method: "GET", headers });
  if (!response.ok) throw new Error(`HTTP ${response.status}: ${await response.text()}`);
  console.log(await response.json());
})().catch(console.error);

返回响应

响应参数 🟢 200 OK · application/json
code integer
必需
message string
必需
request_id string
必需
data object
必需
task_id string
必需
task_status string
必需
created_at integer
必需
updated_at integer
必需
{ "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 }