Sand AIVideo APIFrom $0.08/s

MAGI-2 API

Sand.ai MAGI-2 on DreamTo: a 480B-parameter MoE model that renders picture and sound in one pass, with lip-synced dialogue, foley, ambience and music. Output is 1080p at 25 fps, 4 to 30 seconds, in six aspect ratios. Variants: text-to-video, image-to-video with first and optional last frame, and omni-reference.

What MAGI-2 puts out

Real outputs from MAGI-2. Open the same model in the playground and try it with your own prompt and references.

What sets MAGI-2 apart

Sand AI's 480B-parameter video model renders picture and sound in the same generation.

30sper clip

A whole scene in one clip

Pick any length from 4 to 30 seconds. Write several shots into the prompt in time order and the model plans the cuts, keeping characters and setting consistent across them.

1080pevery clip

One quality tier

Every task renders at 1080p. Text-to-video and reference-to-video offer 21:9, 16:9, 4:3, 1:1, 3:4 and 9:16; image-to-video follows the first frame.

♪sound included

Dialogue, effects and ambience together

Sound is generated by default, with lip movement matched to the dialogue. Put lines in quotes and name the speaker; turn generate_audio off for a silent clip at the same price.

20reference files

Reference images, video and audio

Reference-to-video takes up to 10 images, 5 videos and 5 audio clips: images set the look, videos the motion and camera, audio the voice, so one character stays the same across many clips.

3 things MAGI-2 does well

Why use MAGI-2 on DreamTo.

01

Plan by timeline

Organize a multi-shot prompt as ordered beats, identifying the framing, focal action, and audio cue for each. This gives the brief enough timing detail for an editor to review the sequence before refining the visual treatment.

02

Direct sound with picture

Sand.ai documents synchronized dialogue, foley, and ambient audio. Tie each sound to a visible action, location, or actor so you can review the placement of each cue as well as the visual sequence.

03

Give references distinct jobs

Use the interface’s supported image, video, and audio inputs to specify appearance, movement, or sound. Label the role of each source, then describe what features should carry forward across the beats.

Pick a MAGI-2 variant

Variants of the same family trade speed, price and capability differently. Pick the one that fits the job.

Pricing

This model is priced by the usage dimensions listed here. Prices are shown in USD. Charges depend on the model and your actual usage. Compare all pricing

Billing itemOur priceCurrent price
Duration$0.08/second

Reference prices checked on 2026-12-02: fal.ai · Official pricing

How to give references

Reference-to-video needs at least one kind of reference; the three kinds combine freely. Say in the prompt what each file is for.

10images

Look

JPG / PNG / WEBP, to lock a person's face and outfit, a product or a place.

5videos

Motion and camera

MP4 / MOV, 2–30 s each and 30 s in total, to borrow motion, rhythm and camera moves.

5audio clips

Voice and sound

MP3 / WAV, 2–30 s each and 30 s in total, to set the speaking voice or the sound.

One job per file

Name each one in the prompt — "the woman in the reference image", "keep the voice from the reference audio", "follow the motion of the reference video" — which works better than piling up files.

Clear images, whole subjects

Use well-lit, front-facing photos for people and clean backgrounds for products so logos and colours hold.

Use public URLs

Every reference is an http(s) URL fetched at generation time; if a download fails the task fails and is not charged.

Prompting MAGI-2

MAGI-2 renders picture and sound together, so write the prompt like a script: who is on screen, what they do, what they say and what we hear.

  1. 1

    Start with subject and setting

    Who is in frame, what they look like and wear, where and when, and the light.

  2. 2

    Quote the dialogue

    Say who speaks and how, e.g. She says quietly, "It's windy tonight."

  3. 3

    List shots in order

    The longer the clip, the more the events should be written in order, such as one shot for 0–5 s and another for 5–10 s.

  4. 4

    Finish with sound

    End with "Sound: …" listing effects, ambience or music so the audio matches the picture.

Don't stop at a noun

"A dog" gets a random clip; add action, camera and sound to get control.

Keep lines short

A line takes two or three seconds; fit one or two into a 5-second clip and raise duration for longer speech.

Keep first and last frames related

When passing a last frame, keep its subject and framing close to the first frame for a natural transition.

Where MAGI-2 earns its place

Where a AI video model like MAGI-2 is used most.

Revisit a character with sound

Assign a design image, motion clip, and supported audio reference to the character. Write down the costume and prop details that carry forward, then describe the primary action for the new scene.

Station scene

Use a distant announcement and approaching footsteps to open, stage an encounter in a medium shot, and finish on a ticket or schedule. Review how the order of visual details and sound cues guides the viewer.

Multi-beat product demo

Establish the workbench with a wide view, then match a sound to a specific action in close-up, such as a dial clicking into place. Close on an identifiable result the viewer can recognize.

Continue from a character sheet

Use an established image for character identity and a different motion reference for each scene. Compare screen direction and voice details before deciding whether the generated shots can be edited together.

What MAGI-2 supports

These are the settings this variant accepts. The playground form and the API use the same parameters.

SettingWhat you get
promptRequiredText description of what to generate.
reference_image_urlsReference images to guide the result.
reference_video_urlsReference Videos
reference_audio_urlsReference Audio
durationOutput length in seconds. Default: 5.
aspect_ratioOutput aspect ratio. Options: 21:9, 16:9, 4:3, 1:1, 3:4, 9:16. Default: 16:9.
resolutionOutput resolution. Options: 1080p. Default: 1080p.
generate_audioGenerate synchronized audio with the video. Default: true.
seedRandom seed. Reuse it to reproduce a result.

3 tips that save a retry

01

Prioritize audio cues

Specify which sounds alternate and which stay underneath the scene. Give the main action room for a cue that supports it, then compare speaker attribution and timing with the dialogue script.

02

Inspect cuts first

Check eyelines, direction of travel, and prop positions on either side of cuts. Then compare the action with the brief and revise the beat with the clearest discrepancy before reworking the whole clip.

03

Add references incrementally

Start with only the sources required to define the actor and action. Once those work in a sample, add setting or sound references. Review each change so you can trace where the result diverges.

Docs and API

Building MAGI-2 into your own product? Endpoints, parameters, authentication and billing are in the API docs.

magi-2/reference-to-video

Why run MAGI-2 on DreamTo

Runs in the browser

No install, no GPU and no code to start. Sign in, fill in the prompt in the playground and generate; results are kept for 7 days.

Every model, one account

Every model on DreamTo shares one account and one balance. Run the same brief through several and keep the best.

From playground to API

The request you tune in the playground is ready-to-run code in its API tab, and one API key calls every model.

FAQ

What is MAGI-2?

Sand.ai MAGI-2 on DreamTo: a 480B-parameter MoE model that renders picture and sound in one pass, with lip-synced dialogue, foley, ambience and music. Output is 1080p at 25 fps, 4 to 30 seconds, in six aspect ratios. Variants: text-to-video, image-to-video with first and optional last frame, and omni-reference.

Which MAGI-2 models are there?

Three: magi-2/text-to-video, magi-2/image-to-video (first frame, optional last frame) and magi-2/reference-to-video (image, video and audio references). Parameters are nearly the same; pick by your input.

How long can a clip be?

Any whole number of seconds from 4 to 30; 5 when duration is omitted.

Which resolutions and aspect ratios?

1080p only. Text-to-video and reference-to-video offer 21:9, 16:9, 4:3, 1:1, 3:4 and 9:16 (default 16:9); image-to-video follows the first frame.

Does sound cost extra?

No. Every second costs $0.08 whether generate_audio is on or off and whether you use references — 5 s is $0.40, 30 s is $2.40. Rejected and failed tasks are free.

How do I make a character say a line?

Put the line in quotes and name the speaker, e.g. The owner smiles and says, "This one's on me." For a fixed voice, use reference-to-video with a reference audio clip.

Which MAGI-2 model should I use?

Find the direction with the faster, cheaper variant, then switch to the stronger one for the final. Capabilities and prices of each are compared above.

How do I call the MAGI-2 API?

Send POST /api/v1/jobs/createTask with the model ID magi-2/reference-to-video and your API key. Ready-to-run samples are in the API section above.

How is billing calculated?

Charges are based on the selected model, its billing method, and your actual usage.

Where do I get an API key?

Create one in Console → API Keys. The same key works for every model on the gateway.

Where do my results go after generation?

The playground History tab keeps your generations for 3 days per account; reopen, download or reuse their settings from there. Download anything you need to keep.

Can I use the output commercially?

Yes. You can use what you generate in commercial projects, subject to the model provider’s terms.