Skip to main content
POST
MAGI-2 Text to Video
Use magi-2-t2v to generate 4–30 second 1080p videos from a text prompt with optional native synchronized audio.

Pricing

100 SnapGen credits = $1. Turning native audio on or off does not change the per-second rate. Failed tasks are not charged. Confirm live rates on the MAGI-2 model page.
string
required
Set to magi-2-t2v.
string
required
Describe the scene, subject, camera movement, dialogue, and ambient sound. Maximum 15,000 characters.
integer
default:"5"
Output length in whole seconds from 4 to 30. Send a JSON number.
string
default:"1080p"
Fixed at 1080p. Omitting resolution also produces 1080p.
string
default:"16:9"
One of 16:9, 9:16, 1:1, 4:3, 3:4, or 21:9.
boolean
default:"true"
Generate synchronized native audio alongside the video. Set to false for silent output.
integer
Optional integer from 0 to 2147483647 (or -1 / omit for a random seed).

Request

Poll and download

Save the returned gateway video id. Poll with the same API key and model until status is completed or failed, then download the MP4.
See the video workflow for task states, polling cadence, and webhooks.

Open MAGI-2

Try all three MAGI-2 modes in the Playground and check live pricing.