generate 文字生图
开发中POST
{{BASE_URL}}/runway/v1/pro/generate修改时间: 25 天前
请求参数
Header 参数
Authorization
string
必需
示例值:
sk-xxxxx
User-Agent
string
必需
示例值:
Apifox/1.0.0 (https://apifox.com)
Content-Type
string
必需
示例值:
application/json
Body 参数application/json
callback_url
string
必需
ratio
string
必需
prompt
string
必需
style
string
必需
model
string
必需
options
object
必需
seconds
integer
必需
motion_vector
object
必需
示例
{
"callback_url": "http://baidu.com",
"ratio": "16:9",
"prompt": "一只小猫",
"style": "cinematic",
"model": "gen3",
"options": {
"seconds": 10,
"motion_vector": {
"x": 0,
"y": 0.3999999999999999,
"z": 0,
"r": -6,
"bg_x_pan": 0,
"bg_y_pan": 0
}
}
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
object {0}
示例
{}
修改于 25 天前