Submit(文字生成视频)
POST
/runway/submit请求参数
Header 参数
Content-Type
string
必需
示例值:
application/json
Authorization
string
必需
示例值:
Bearer {{YOUR_API_KEY}}
Body 参数multipart/form-data
text_prompt
string
必需
视频提示词,不支持中文
示例值:
Low-angle shot of a majestic tiger prowling through a snowy landscape, leaving paw prints on the white blanket
seconds
integer
可选择5或10秒
示例值:
10
seed
string
可选
用来保持一致性,如果用不到不要填
示例代码
返回响应
OK(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
task
object
必需
artifacts
array [object {2}]
必需
id
string
必需
options
object
必需
status
string
必需
示例
{
"task": {
"artifacts": [
{
"previewUrls": [],
"url": ""
}
],
"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": "THROTTLED"
}
}
最后修改时间: 23 天前