Skip to content

查询视频任务(免费)

GET https://az.gptplus5.com/runwayml/v1/tasks/{task_id}

请求参数

Authorization

在 Header 添加参数Authorization,其值为在 Bearer 之后拼接 Token

示例:Authorization: Bearer ********************

Path 参数

参数名类型必需说明
task_idstring必需

Header 参数

参数名类型必需说明示例
Content-Typestring必需application/json
Acceptstring必需application/json
Authorizationstring必需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

参数名类型必需说明
codeinteger必需
messagestring必需
request_idstring必需
dataobject必需
  └ task_idstring必需
  └ task_statusstring必需
  └ created_atinteger必需
  └ updated_atinteger必需

响应示例

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
}