Fetch(获取任务结果)
GET
/runway/task/{id}/fetch来自于Runway Gen-3的文生视频,根据文本一次生成10s的视频。
https://runwayml.com/
此接口仅用来获取任务,不收费
价格:0 PTC/次
请求参数
Path 参数
id
string
必需
runway开头的id
示例值:
runway_xxxx
Header 参数
Authorization
string
必需
302.AI后台的API Key
示例值:
Bearer {{YOUR_API_KEY}}
示例代码
返回响应
Unauthorized(401)
Forbidden(403)
Not Found(404)
HTTP 状态码: 401
内容格式: JSONapplication/json
数据结构
task
object
必需
artifacts
array [object {2}]
必需
id
string
必需
options
object
必需
status
string
必需
示例
{
"task": {
"artifacts": [
{
"previewUrls": [
"https://file.302ai.cn/gpt/imgs/20250116/910fc36997784b678e4c49f9f59aebed.jpg",
"https://file.302ai.cn/gpt/imgs/20250116/cb04d714b6d848358e33a219a5e0cc1e.jpg",
"https://file.302ai.cn/gpt/imgs/20250116/8f0523815ed243a5b724fd8155f1f6fe.jpg",
"https://file.302ai.cn/gpt/imgs/20250116/230b3043c4fe407f89ed3b58081b7ee1.jpg",
"https://file.302ai.cn/gpt/imgs/20250116/11a844d05fa14c0b84b3b6707b85974e.jpg"
],
"url": "https://file.302ai.cn/gpt/imgs/20250116/5366ba020c05457c89a3b956039b7ecc.mp4"
}
],
"id": "runway_4b3f1e721985",
"options": {
"text_prompt": "Low-angle shot of a majestic tiger prowling through a snowy landscape, leaving paw prints on the white blanket"
},
"status": "SUCCEEDED"
}
}
最后修改时间: 3 个月前