API reference
🇺🇸 English
  • 🇨🇳 Chinese
  • 🇺🇸 English
  1. reverse
API reference
🇺🇸 English
  • 🇨🇳 Chinese
  • 🇺🇸 English
  • Chat Models
    • Chat
      • Create chat completion
      • vision
    • OpenAI-Realtime
    • Completions
      • Instruct
    • Audio
      • Transcriptions
      • Translations
      • Speech
    • Image generation
      • DALL·E 3
    • Embeddings
      • Create
    • Models
      • model list
    • Help
      • 常见问题及解决办法
  • Anthropic
    • Anthropic Claude
      POST
  • Suno
    • Generate music
      POST
    • Generate lyrics
      POST
    • Upload music
      POST
    • Music concat
      POST
    • Fetch task
      GET
    • Fetch batch tasks
      POST
  • Udio
    • Generate music
      POST
    • Fetch task
      GET
  • Midjourney API
    • Quick
    • Task Submit
      • Imagine
      • Action
      • Modal
      • Blend
      • Describe
      • Shorten
      • Upload discord
    • Get Task
      • Fetch task by ids
      • Fetch task by id
      • Get seed
  • Flux
    • Official
      • Generate
      • Finetune
      • Fetch task
    • OpenAI Dalle3
  • Recraft
    • Official
      • Generate Image
      • Vectorize Image
      • Remove Background
      • Clarity Upscale
      • Generative Upscale
      • Create style
    • OpenAI Dalle3
  • Ideogram
    • Generate
    • Remix
    • Edit
    • Upscale
    • Describe
  • Luma
    • Official
      • Generate
      • Fetch task
    • Own format
      • Submit
        • Generate
        • Get video of no mark
        • 扩展视频
      • Get task
        • Get task
        • Get batch task
  • Runway
    • Official
      • image to video
      • get task
    • reverse
      • text to video
        POST
      • image to video
        POST
      • video2video
        POST
      • Act-one
        POST
      • Get task
        POST
  • Kling-API
    • Callback
    • Generate image
    • Text 2 Video
    • Image 2 Video
    • Video extend
    • Get task
    • lip-sync
    • kolors-virtual-try-on
  • Replicate
    • Generate
    • Get
  • MiniMax
    • Generate video
    • Get task
    • Get file
  1. reverse

image to video

POST
/runway/pro/generate
Last modified:2025-02-05 11:33:56

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Header Params
Authorization
string 
optional
Default:
{{YOUR_API_KEY}}
Body Params application/json
callback_url
string 
回调地址
required
Webhook 回调 URL。视频生成状态(生成中进度变化/失败/成功)发生改变之后,生成结果将会以 POST 形式发送到此 Webhook URL。
image
string 
参考的图片
required
可供互联网访问并可下载的图片链接
style
string 
风格
optional
目前仅支持gen-2
model
enum<string> 
模型
required
Allowed values:
gen2gen3
Default:
gen3
prompt
string 
描述词
required
支持中文
options
object 
参数
optional
motion_vector
object 
镜头控制
optional
目前仅支持gen-2
seconds
enum<integer> 
视频时长
optional
目前仅支持gen-3
Allowed values:
510
Default:
10
image_as_end_frame
boolean 
是否将图片作为尾帧
optional
目前仅支持gen-3,设置为true后,此图片将作为生成视频的结尾参考,默认为false,即将参考图作为首帧参考进行视频生成
Default:
false
flip
boolean 
optional
默认为宽屏,即16:9
Default:
false
last_image
string 
尾帧
optional
尾帧
Example
{
  "callback_url": "http://baidu.com",
  "image": "https://db.xiaohuhd.com/1.jpeg",
  "style": "cinematic",
  "model": "gen3",
  "prompt": "smile",
  "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": "smile",
    "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
{}
Previous
text to video
Next
video2video
Built with