Make a film from text
From one prompt to a finished film: scenes, characters, camera, dialogue, sound and music, up to a minute long, in one request.
Choosing a length, resolution and shape
Every film is made by Odyssey 1 Ultra (odyssey-1-ultra) through POST /v1/videos. Three settings shape the result:
| Setting | Values | Default |
|---|---|---|
durationSeconds | 5 to 60, in steps of 5 | — |
resolution | 480p, 720p, 1080p | 720p |
aspectRatio | 16:9, 9:16, 1:1, 21:9, 4:3, 3:4 | 16:9 |
Use 9:16 for TikTok, Reels and Shorts, 16:9 for YouTube and websites, 1:1 for feeds and 21:9 for a wide cinema look. 480p is the fastest and cheapest way to try ideas; 1080p is for the final cut.
Films are priced by the second: $0.06 a second at 480p, $0.12 at 720p and $0.20 at 1080p. A 30-second 720p film is $3.44. Ask POST /v1/quotes for the exact price of any request before you run it.
Writing prompts
A strong film prompt reads like a short scene description. Cover, in plain sentences:
- Scene: where and when. "A candlelit tea room at sunset, rain on the windows."
- Characters: who is there and what they look like. Name them if they speak.
- Action: what happens, in order. One clear beat every few seconds works best.
- Camera: how it is shot. "Slow push in", "handheld close-up", "wide aerial shot".
- Dialogue: in quotes, with the speaker named.
Mara says: "We leave at dawn." - Mood: light, colour and music. "Warm and hopeful, soft piano."
Prompts can be up to 5,000 characters. See Prompting films for tested patterns.
How long films are built
A film longer than 15 seconds is made in parts and joined into one continuous film. At each join the next part opens on a new camera angle and carries on from where the last part ended: the same people, clothes, places and props, in the same positions. You send one prompt and get one MP4. There is nothing to stitch on your side.
Write the whole story in the prompt, in order, and the film follows it scene by scene. A 60-second film has room for several scene changes.
Sound: dialogue, effects and music
With sound: true (the default) every film comes with spoken dialogue, sound effects and a music bed, mixed so the music dips under speech. Lines you write in quotes are spoken as written.
Set sound: false for a silent film, when you add your own voice-over or music later. The price is the same.
Keeping people and products consistent
Pass references to keep a person, a product or a voice the same across shots and across films. References are for films from text; a video from your picture already shows what is in it.
{ image, kind, name } with kind person, object or place and the name the prompt uses.{ audio, name }.Each file is a public https URL or an upload_… id from POST /v1/uploads. Name the reference in the prompt ("Mara walks in", or "the bottle in the first reference image") so the film knows where to use it.
Example: a film for every new product in a shop
A common pattern: when a product is added to a shop, make a 15-second vertical film for it and put it on the listing.
- Your shop sends a "product created" event to your backend.
- Your backend calls
videos.createwith the product photo inreferences.images, the product id inmetadata, and an idempotency key made from the product id, so a repeated event never makes a second film. - We POST
job.succeededto yourwebhookUrl. Your handler readsdata.metadata.productId, copiesdata.outputs[0].urlto your storage and saves it on the product.
The code column shows the create call. The handler is in Webhooks.