Image-to-Video
POST /runway/pro/generate creates Runway GEN-4 video from reference images, with raw graphic transfer support and X-Runway-Version control.
Use this endpoint when you want the Runway compatibility-formatDocumentation Index
Fetch the complete documentation index at: https://apidoc.cometapi.com/llms.txt
Use this file to discover all available pages before exploring further.
generate route with one or more reference images.
Before you call it
- Send the required
X-Runway-Versionheader, for example2024-11-06 - Use
model: gen4 - Provide the source
imageand the prompt that describes motion or transformation - Keep the first request simple before layering style and motion-vector tuning
Task flow
Create the compatibility-format task
Poll the task
task_not_exist, wait a few seconds and retry.Authorizations
Bearer token authentication. Use your CometAPI key.
Headers
Optional Runway version header, for example 2024-11-06.
Body
Webhook URL that receives a POST request with the result when the task completes.
Aspect ratio of the generated video, e.g. 1280:720.
Text prompt describing the desired video content or motion.
Model version to use, e.g. gen4.
URL of the source image to animate.
Artistic style for the generated video, e.g. cinematic.
Advanced generation options.
URL of the end-frame image. When provided, the video transitions toward this frame.