Runway Gen-4.5
Runway's Gen-4.5. Text to video, and image to video from a first frame, 2 to 10 seconds, in landscape or portrait. Clips have no soundtrack.
Preview
Parameters and limits may change before this model is generally available.
- Model id:
runway/gen-4.5 - Type: Video, from Runway
- Modes: Text to video, Image to video
- Prompt: up to 1,000 characters
- Canceling: Free while queued. Once the provider has started, the full estimate is charged.
Parameters
Set these in params. Anything left out takes the default, which is what the price estimate assumes.
| Parameter | Accepted values | Default |
|---|---|---|
duration_seconds | 5, 2, 3, 4, 6, 7, 8, 9, 10 | 5 |
aspect_ratio | 16:9 | 16:9 |
num_outputs | 1 only | 1 |
seed | 0 to 4294967295 | chosen by the provider |
output_format | mp4 | provider's |
References
Pass media in references, each with a role and an upload_id or HTTPS url (Uploads). When mode is left out it is inferred from the roles.
| Role | Used as | At most |
|---|---|---|
first_frame | First frame of the video | 1 |
Pricing
Billed per second of output video. The full price list for your account is on the dashboard's billing page and in pricing from GET /v1/models/runway%2Fgen-4.5. Each request reserves its maximum price and is charged for what was produced (Pricing and credits).
Examples
Text to video
import { RawFrame } from "@rawframe/sdk";
const rf = new RawFrame();
const generation = await rf.generations.createAndWait({
model: "runway/gen-4.5",
prompt: "A paper boat drifting down a rain-soaked city gutter, macro lens, golden hour",
params: { duration_seconds: 5, aspect_ratio: "16:9" },
});
console.log(generation.outputs?.[0]?.url);