主题
查询视频任务(免费)
GET
https://az.gptplus5.com/runwayml/v1/tasks/{task_id}
请求参数
Authorization
在 Header 添加参数Authorization,其值为在 Bearer 之后拼接 Token
示例:Authorization: Bearer ********************
Path 参数
| 参数名 | 类型 | 必需 | 说明 |
|---|---|---|---|
task_id | string | 必需 |
Header 参数
| 参数名 | 类型 | 必需 | 说明 | 示例 |
|---|---|---|---|---|
Content-Type | string | 必需 | application/json | |
Accept | string | 必需 | application/json | |
Authorization | string | 必需 | Bearer {{YOUR_API_KEY}} |
cURL 示例
bash
curl --location --request GET 'https://az.gptplus5.com/runwayml/v1/tasks/2f19d8a7-3b74-4fc4-af42-d0bcadbaec54' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json'返回响应
🟢200成功
响应 Body
| 参数名 | 类型 | 必需 | 说明 |
|---|---|---|---|
code | integer | 必需 | |
message | string | 必需 | |
request_id | string | 必需 | |
data | object | 必需 | |
└ task_id | string | 必需 | |
└ task_status | string | 必需 | |
└ created_at | integer | 必需 | |
└ updated_at | integer | 必需 |
响应示例
json
{
"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
}