Skip to main content

Sand.ai MAGI-2 Reference to Video combines up to 10 images, 5 videos, and 5 audio clips with a prompt to render 4–30 second 1080p scenes with sound.

From $0.096/s

Workbench

Input

Reference to video
284/15000

Reordering updates prompt references. Removing media also removes its references; review your prompt.

Required instructions up to 15,000 characters describing the scene and each reference's role; tag multiple files as @image_1, @video_1, and @audio_1 in upload order. at least 1 characters · at most 15000 characters
1/10

Drop files or media links, paste, or browse · Up to 10 files · Max 10 MB · JPG · PNG · WEBP · GIF

  • @image_1
1 / 10 files
Optional array of up to 10 image URLs for characters, outfits, props, or settings. Tag as @image_1, @image_2, etc. No extra charge. at least 1 items · at most 10 items
-0 s / 30 s1/5

Drop a video here, or browse · Up to 5 files · Max 90 MB · MP4 · WEBM

  • @video_1
1 / 5 files
Optional array of up to 5 video URLs (2–30 s each, 30 s combined; longer clips are trimmed) for camera or motion cues. Tag as @video_1, etc. No extra charge. at least 1 items · at most 5 items
-0 s / 30 s1/5
  • @audio_1
1 / 5 files
Optional array of up to 5 audio URLs (2–30 s each, 30 s combined; longer clips are trimmed) for voice, music, or pacing. Tag as @audio_1, etc. No extra charge. at least 1 items · at most 5 items
Select 16:9 (default), 9:16, 1:1, 4:3, 3:4, or 21:9. Does not change the per-second rate.
Generate audio
Defaults to true for stereo AAC audio. Setting false returns a silent video-only MP4 at the same per-second rate.
Durationaffects price
Whole seconds from 4 to 30 (default 5). Drives total billing, settled strictly on requested whole seconds. no lower than 4 · no higher than 30
Seed
Optional integer from 0 to 2147483647 for repeatable runs; omit for a random seed. no lower than 0 · no higher than 2147483647
Safety checkerOff

SpicyAPI does not run a safety checker on this model. Your prompt and media go to the model as written, and the model itself decides what comes back.

Checking your account before enabling submission and pricing.

Output

Ready for a new run
Example result

Missing the model you need?

SAND.AI · MAGI-2 FLAGSHIP

MAGI-2 API at a glance

Native 1080p audio-video scenes from 4 to 30 seconds with first-last frame and omni-reference control.

Native HD output
1080p
Delivers H.264 MP4 at 25 fps (1920x1080 in 16:9) with 44.1 kHz stereo AAC audio.
Continuous length
4–30 s
Pick any integer duration from 4 to 30 seconds; defaults to 5 seconds.
Omni-reference slots
10/5/5
Blend up to 10 images, 5 video clips, and 5 audio clips in reference-to-video.
Keyframe bridging
2 frames
Animate a single image or lock both opening and closing frames on image-to-video.
Built-in soundtrack
Audio
Generates dialogue, ambience, and effects by default, or strips the audio track cleanly.
Content policy
Filtered
Strict moderation enforced across all three modes; refused jobs are refunded in full.

Results

What you can make with MAGI-2

  • Text to Video

    Long-take 35mm atmosphere with synchronized ambience

    From a single written brief, MAGI-2 tracks a woman stepping from a vintage coupe under wet hotel marquee lights in 1920x1080, pairing rain reflections with subtle rain patter and distant jazz.

    Text to video: 4 s requested (4.24 s delivered), 1920x1080 at 25 fps with stereo rain and jazz ambience.

  • Spoken dialogue

    Quoted speech and kitchen foley locked to picture

    Place spoken lines inside quotation marks to trigger synchronized speech alongside room ambience. Here the ramen chef sets down chopsticks and delivers his calm line as steam curls past the rain-streaked glass.

    Text to video with spoken dialogue: 5 s requested (5.20 s delivered), 1920x1080 with synced speech and broth foley.

  • First and last frame

    Bridge two distinct stills in one continuous camera move

    Supply both an opening portrait and a closing destination frame to stage seamless match-cut transitions. Omitting the frame ratio lets MAGI-2 snap automatically to the closest portrait geometry (1248x1664).

    Image to video with first and last frame: 4 s requested, auto aspect ratio matched to 1248x1664 (3:4).

  • Omni-reference

    Combine identity, camera pacing, and audio rhythm at once

    Reference-to-video ingests images, motion clips, and sound tracks together without adding surcharges. Subject appearance comes from the still, low-angle tracking from the video, and stride cadence from the audio clip.

    Reference to video with 1 image, 1 video, and 1 audio clip: 4 s requested, 1920x1080 with synced sound.

Content test

Is MAGI-2 uncensored? What we tested

Content levels tested on MAGI-2, by mode
LevelText to videoImage to videoReference to video
Mild
RefusedTested Nov 25, 2026
Not tested yet
Not tested yet
Moderate
RefusedTested Nov 25, 2026
RefusedTested Nov 25, 2026
RefusedTested Nov 25, 2026
Strong
RefusedTested Nov 25, 2026
RefusedTested Nov 25, 2026
RefusedTested Nov 25, 2026
Very strong
RefusedTested Nov 25, 2026
RefusedTested Nov 25, 2026
Not tested yet
Maximum
RefusedTested Nov 25, 2026
Not tested yet
Not tested yet
How we test

How each mode behaves

All modes
Strict safety filtering applies to every mode; suggestive or adult prompts and images are refused with zero charge.
All modes
Inference latency is longer than draft models: expect roughly 7 to 25 minutes per clip during busy periods.
All modes
Disabling audio generation removes the audio stream cleanly, but per-second billing stays unchanged.
All modes
Rendered files can overshoot requested length by about 0.2 seconds (for example 4.24 s for 4 s); billing settles strictly on requested whole seconds.
Reference to video
Reference videos and reference audio clips are each capped at 5 files, 2–30 seconds per clip, and 30 seconds combined per type; longer clips are trimmed.

Use cases

What to build with the MAGI-2 API

  • Narrative scene pre-visualization

    Block 10–30 second 1080p shots with spoken dialogue, camera moves, and environmental sound before principal photography.

  • Match-cut wardrobe and location transitions

    Feed an opening studio still and a target location still into image-to-video to animate clean editorial transitions.

  • Multi-reference commercial storyboards

    Lock character likeness with stills, borrow camera cadence from reference clips, and sync motion to a supplied audio track.

  • Silent B-roll plates for custom sound design

    Turn off audio generation when your edit bay plans to lay down bespoke foley and score over clean H.264 footage.

Prompts

MAGI-2 prompt examples you can copy

  • Text to video

    Art-deco hotel arrival in rain

    Result from this prompt

    Cinematic 35mm film tracking shot at night outside a grand art-deco hotel. A poised woman in a tailored black satin evening coat steps out of a rain-glossed dark vintage coupe under warm amber marquee lights, turning gracefully toward the revolving glass doors as light rain shimmers on wet asphalt. Shallow depth of field, warm tungsten reflections, subtle rain patter and distant muffled jazz saxophone ambience.

    Why it works. Pairs camera movement, wardrobe fabric, marquee lighting, and distinct rain-and-saxophone audio cues in one continuous beat.

    Try this prompt
  • Text to video

    Spoken dialogue at a Tokyo ramen counter

    Result from this prompt

    Anamorphic 35mm cinema shot inside a quiet late-night Tokyo ramen counter during heavy rain. Steam rises from a ceramic bowl while a chef in a dark linen apron places chopsticks beside it and says calmly, "Fresh broth, right on time." Warm lantern glow on wet window glass, sizzling broth, gentle rain against the storefront.

    Why it works. Places the chef's spoken line in quotation marks alongside tactile broth steam and rain ambience so speech and sound effects align.

    Try this prompt
  • Image to video

    First-to-last frame rooftop match cut

    Result from this prompt

    Smooth cinematic match-cut transformation: the woman in the studio turns gracefully over her shoulder as the neutral backdrop dissolves into a candlelit marble rooftop cocktail lounge overlooking city lights, her styling transitioning into the black satin evening look from the final frame. Soft glassware clink and low lounge jazz.

    Why it works. Directs the shoulder turn and dissolve between the opening studio plate and closing rooftop lounge frame while adding lounge jazz cues.

    Try this prompt
  • Reference to video

    Combine image, video, and audio references

    Result from this prompt

    Feature the woman from the reference image walking steadily through a rain-lit glass atrium at dusk, matching the smooth low-angle camera movement from the reference video and pacing her stride to the rhythmic pulse of the reference audio. Cinematic 35mm film grain, rich reflections.

    Why it works. Assigns a single clear job to each modality: subject from the still, camera move from the clip, and walking cadence from the audio.

    Try this prompt
  • Reference to video

    Direct multi-reference tokens with @image_1

    The speaker from @image_1 crosses a rain-slicked courtyard in the steady dolly rhythm of @video_1 while speaking over the ambient pulse of @audio_1. Warm tungsten streetlights on wet cobblestones, soft rainfall, natural 35mm grain.

    Why it works. Uses explicit indexed tags to bind subject appearance, camera rhythm, and ambient sound when passing multiple assets per slot.

    Try this prompt

Pricing

MAGI-2 API pricing

A 5-second clip starts at $0.48.

Get started

How to use the MAGI-2 API in three steps

  1. Step 1

    Pick the mode that matches your assets

    Start with text-to-video for pure prompts, image-to-video for first or first-and-last frames, or reference-to-video for mixed image, video, and audio inputs.

  2. Step 2

    Draft at 4–5 seconds before scaling to 30

    Because MAGI-2 charges per requested second and complex renders take several minutes, verify composition on a 4-second clip before ordering 15–30 seconds.

  3. Step 3

    Label every reference role clearly

    Tag uploaded files as @image_1, @video_1, and @audio_1 in upload order, or state clearly what each reference supplies for identity, camera motion, and rhythm.

Parameter reference and code samples are in the API and Readme tabs at the top of this page.

FAQ

MAGI-2 API FAQ

About MAGI-2

Use Sand.ai MAGI-2 when a project calls for native 1080p cinema footage, synchronized stereo speech and foley, and uninterrupted takes up to 30 seconds across text, keyframes, or omni-references.

Related models and next tasks