
🇨🇳 Chinese

🇨🇳 Chinese
- OpenAI
- Anthropic
- Suno(音乐)
- Udio(音乐)
- Midjourney API文档(生图)
- Flux(生图)
- Recraft(生图)
- Ideogram(生图)
- Luma(视频)
- Runway(视频)
- PIKA(视频)
- 可灵API(官方接口)
- Replicate 通用接口
- MiniMax海螺(视频)
generate(参考图片)
POST
/runway/pro/generate
Last modified:2025-04-17 07:34:22
CAUTION
TIP
目前GEN-3仅支持16:9和9:16画面的视频(不管文生视频还是图生视频)
这里是一个简单的GEN-3图生视频传值示例:
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Query Params
string
optional
Header Params
string
optional
Authorization
string
optional
Default:
{{YOUR_API_KEY}}
Body Params application/json
callback_url
string
回调地址
image
string
参考的图片
ratio
enum<string>
required
Allowed values:
16:99:161:14:33:421:9
style
string
风格
model
enum<string>
模型
Allowed values:
gen2gen3gen4
Default:
gen3
prompt
string
描述词
options
object
参数
motion_vector
object
镜头控制
seconds
enum<integer>
视频时长
Allowed values:
510
Default:
10
image_as_end_frame
boolean
是否将图片作为尾帧
Default:
false
flip
boolean
optional
Default:
false
last_image
string
尾帧
Example
{
"callback_url": "http://baidu.com",
"image": "https://db.xiaohuhd.com/1.jpeg",
"style": "cinematic",
"model": "gen3",
"prompt": "笑起来,吃汉堡",
"options": {
"seconds": 10,
"image_as_end_frame": false,
"flip": false,
"motion_vector": {
"x": -6.2,
"y": 0,
"z": 0,
"r": 0,
"bg_x_pan": 0,
"bg_y_pan": 0
}
}
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST '/runway/pro/generate' \
--header 'Authorization: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"callback_url": "http://baidu.com",
"image": "https://db.xiaohuhd.com/1.jpeg",
"style": "cinematic",
"model": "gen3",
"prompt": "笑起来,吃汉堡",
"options": {
"seconds":10,
"image_as_end_frame":false,
"flip":false,
"motion_vector": {
"x": -6.2,
"y": 0,
"z": 0,
"r": 0,
"bg_x_pan": 0,
"bg_y_pan": 0
}
}
}'
Responses
🟢200成功
application/json
Body
object {0}
Example
{}
Modified at 2025-04-17 07:34:22