- GPT相关
- 图片生成
- flux
- ideogram
- midjourney
- gpt4oimage
- 音乐生成
- 视频生成
generate 生成任务
POST
/runway/v1/pro/generate
请求参数
Body 参数application/json
ratio
string
必需
prompt
string
必需
style
string
必需
model
string
必需
options
object
必需
seconds
integer
必需
motion_vector
object
必需
motion_multiplier
integer
必需
flip
boolean
必需
name
string
必需
text_prompt
string
必需
seed
integer
必需
exploreMode
boolean
必需
watermark
boolean
必需
enhance_prompt
boolean
必需
init_image
string
必需
resolution
string
必需
image_as_end_frame
boolean
必需
assetGroupName
string
必需
video
string
必需
image
string
必需
promptImage
string
必需
seed
integer
必需
promptText
string
必需
watermark
boolean
必需
duration
integer
必需
taskType
string
必需
internal
boolean
必需
示例
{
"ratio": "16:9",
"prompt": "一只小猫",
"style": "cinematic",
"model": "runwayml-gen3a_turbo-5",
"options": {
"seconds": 10,
"motion_vector": {
"x": 0,
"y": 0.3999999999999999,
"z": 0,
"r": -6,
"bg_x_pan": 0,
"bg_y_pan": 0
}
}
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://gptproto.com/runway/v1/pro/generate' \
--header 'Content-Type: application/json' \
--data-raw '{
"ratio": "16:9",
"prompt": "一只小猫",
"style": "cinematic",
"model": "runwayml-gen3a_turbo-5",
"options": {
"seconds": 10,
"motion_vector": {
"x": 0,
"y": 0.3999999999999999,
"z": 0,
"r": -6,
"bg_x_pan": 0,
"bg_y_pan": 0
}
}
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}
修改于 2025-05-30 03:02:36