查询视频任务(免费
方法: GET路径: /runwayml/v1/tasks/{task_id}
请求参数
Path 参数
text
task_id
string
必需Header 参数
text
X-Runway-Version
string
必需
示例:
2024-11-06
Content-Type
string
必需
示例:
application/json
Authorization
string
可选
默认值:
Bearer {{YOUR_API_KEY}}请求示例代码
Shell
bash
curl --location --request GET '/runwayml/v1/tasks/' \
--header 'X-Runway-Version: 2024-11-06' \
--header 'Authorization: Bearer {{YOUR_API_KEY}}' \
--header 'Content-Type: application/json'返回响应
🟢 200 成功
内容类型: application/json
响应结构
text
id
string
必需
status
string
必需
createdAt
string
必需
progress
number
必需示例
json
{
"id": "be35be77-4dae-4f42-84b9-51002b248a9b",
"status": "RUNNING",
"createdAt": "2024-11-15T03:34:51.751Z",
"progress": 0.275
}