查询视频任务(免费)
GET
https://xuedingmao.online/runwayml/v1/tasks/{task_id}
请求参数
Authorization
Path 参数
task_id
string
任务id
示例值:
79543580-dc70-457a-9737-ed3aef1dd56a
Header 参数
Content-Type
string
必需
示例值:
application/json
Accept
string
必需
示例值:
application/json
Authorization
string
必需
示例值:
Bearer {{YOUR_API_KEY}}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://xuedingmao.online/runwayml/v1/tasks/79543580-dc70-457a-9737-ed3aef1dd56a' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {{YOUR_API_KEY}}' \
--header 'Content-Type: application/json'
返回响应
🟢200成功
application/json
Body
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
}
修改于 2025-04-02 04:33:35