Model API
Runway Gen-4.5
Runway Gen-4.5 turns a prompt, or a prompt and a first-frame image, into a 2 to 10 second 720p video. It follows sequenced actions and camera moves closely. For short cinematic shots, product moments and social clips.
Model id
runway-gen-4-5Run it
Quote the input, start the generation with the quote, then poll the job. Set RAYWAKE_API_KEY first; see Authentication.
# 1. Price the exact input (quotes are valid for up to 10 minutes)
curl -s https://api.raywake.com/v1/quotes \
-H "Authorization: Bearer $RAYWAKE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "runway-gen-4-5",
"input": {
"prompt": "A red ceramic cup on a wooden table, soft morning light"
}
}'
# 2. Start the generation with the quote_id from step 1
curl -s https://api.raywake.com/v1/generate \
-H "Authorization: Bearer $RAYWAKE_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"model": "runway-gen-4-5", "quote_id": "QUOTE_ID", "input": {"prompt":"A red ceramic cup on a wooden table, soft morning light"}}'
# 3. Poll until the status is terminal
curl -s https://api.raywake.com/v1/jobs/JOB_ID \
-H "Authorization: Bearer $RAYWAKE_API_KEY"Input
| Name | Type | Description |
|---|---|---|
inputImage | array of image URLs | Optional first frame image for image-to-video. Leave empty to run text-to-video. |
promptrequired | string | Required. Describe the video you want to generate. Maximum 1000 characters. |
ratio | string (enum) | Required. Aspect ratio of the generated video. Choose 'auto' to match the input image's aspect ratio to the closest supported ratio; for text-to-video only supported options are 16:9 and 9:16, auto defaults to 16:9. |
duration | integer | Required. Video duration in seconds. Also determines the price. |
contentModeration | string (enum) | Optional. Public figure moderation threshold. Default to low |
seed | integer | Optional. Fixed seed (0 to 4294967295) for reproducible results. |
Output
A succeeded job lists its results under outputs, stored on our side. See Jobs for every field.
"outputs": [
{ "type": "video", "url": "https://…", "mime_type": "video/mp4", "thumbnail_url": "https://…" }
]Pricing
- 2 s$0.39/ video
- 3 s$0.58/ video
- 4 s$0.77/ video
- 5 s$0.96/ video
- 6 s$1.15/ video
- 7 s$1.34/ video
- 8 s$1.53/ video
- 9 s$1.72/ video
- 10 s$1.91/ video
The exact charge for your input comes from a quote. How charges settle