Submit(视频扩展)
POST
/runway_turbo_expand/submit将横屏的视频扩展为竖屏,或者将竖屏的视频扩展为横屏
https://runwayml.com/
价格:0.25 PTC/次
请求参数
Header 参数
Authorization
string
必需
示例值:
Bearer {{YOUR_API_KEY}}
Body 参数multipart/form-data
video
file
视频
text_prompt
string
可选
视频提示词,不支持中文,可不传
seconds
integer
可选择5或10秒
示例值:
10
seed
string
可选
用来保持一致性,如果用不到不要填
outpaint_aspect_ratio
enum<string>
可选
枚举值:
3:55:3
示例代码
返回响应
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"
}
}
最后修改时间: 2 个月前