Multimodal Reference-to-Video
MAGI-2 Omni-Reference (Reference-to-Video): Using Up to 20 Image, Video, and Audio Inputs
MAGI-2 (developed by Sand.ai) supports multimodal reference-to-video generation with up to 20 reference assets in one request—combining up to 10 images, 5 videos, and 5 audio files—to lock character identity, product geometry, camera motion, and vocal or musical style across 4–30 second 1080p (25fps) clips with native audio. On magi-2-ai.com, attached references carry 0 extra credit surcharge above the flat 14 credits/second output rate.
Max Reference Budget
Up to 20 files
10 images + 5 videos + 5 audio clips
Output Window (magi-2-ai.com)
4–30s · 1080p · 25fps
Native audio across 6 aspect ratios
Reference Credit Surcharge
0 extra credits
Included in flat 14 credits/second output rate
What Reference Inputs Does MAGI-2 Support? (Modality Limits & File Rules)
Sand.ai's MAGI-2 flagship architecture accepts up to 20 reference assets in a single multimodal context (sand.ai/blog/magi-2). The table below documents both that 20-asset multimodal split (10 images + 5 videos + 5 audio clips) and the exact file format, megabyte, and cumulative-duration checks enforced by the magi-2-ai.com hosted workspace validator.
| Modality | Max Files | Accepted Formats | Max Size | Duration (Each) | Combined Cap | Conditioning Role |
|---|---|---|---|---|---|---|
| Reference Images | Up to 10 files | PNG, JPEG, WebP | 30 MB per file | Static still frame | Not applicable (static images) | Character facial proportions, wardrobe, product labels, room architecture, and color/lighting palette |
| Reference Videos | Up to 5 files | MP4, MOV (ISO-BMFF / QuickTime) | 200 MB per file | 2–30 seconds each | ≤ 30 seconds total across all attached videos (no duplicate files) | Camera trajectory transfer, subject choreography, action rhythm, and blocking continuity |
| Reference Audio | Up to 5 files | WAV (PCM), MP3 | 15 MB per file | 2–30 seconds each | ≤ 30 seconds total across all attached audio clips | Speaker voice timbre cue, musical tempo/motif, and ambient room or foley texture |
| Combined Request | 1 to 20 mixed files | Images + Videos + Audio | Direct presigned R2 upload | Output clip: 4–30s integer | Optional prompt up to 15,000 characters | Single-pass 1080p 25fps audio-video synthesis at 14 credits/s (0 extra surcharge for attached references) |
Workspace rule note: Aspect ratio supports all 6 fixed MAGI-2 formats (16:9, 4:3, 1:1, 3:4, 9:16, 21:9). At least 1 reference image, video, or audio file is required to submit a Reference-to-Video job.
Omni-Reference vs Image-to-Video: Which MAGI-2 Workflow Should You Use?
Use Image-to-Video when your uploaded still must stay pixel-locked as frame 0 (or morph into a fixed closing frame). Switch to Omni-Reference (Multi-Reference) when you want MAGI-2 to extract a character, product, camera move, or voice and stage it in a completely new shot.
| Workflow | Media Inputs | Frame-0 Lock Behavior | Best Use Case | Workspace Tab |
|---|---|---|---|---|
| Text-to-Video | Text prompt required · 0 reference media files | None (composition invented from prompt) | Concept ideation, atmosphere exploration, and standalone dialogue scenes without fixed real-world assets | Open Text-to-Video |
| Image-to-Video (First / Last Frame) | 1–2 frame images (First frame required, Last frame optional) | Pixel-anchored frame 0 (and optional closing frame interpolation) | Animating an existing keyframe poster, hero still, or exact start-to-end visual transition | Open Image-to-Video |
| Omni-Reference (Reference-to-Video) | 1–20 mixed assets (≤10 images, ≤5 videos, ≤5 audio clips) | Identity, geometry, motion, and sound extracted without freezing frame 0 | Multi-shot character continuity, product commercials, voice-matched dialogue, and camera-motion transfer | Open Multi-Reference |
How to Budget Up to 20 Reference Slots Without Feature Clash
Filling all 20 slots does not automatically produce better consistency. Conflicting lighting angles, mismatched wardrobes, or redundant frames dilute attention across the reference tokens. Match your slot budget to the actual number of distinct subjects, motion cues, and sound sources in the shot.
| Production Scenario | Total Refs | Images (≤10) | Videos (≤5) | Audio (≤5) | Recommended Allocation |
|---|---|---|---|---|---|
| 1. Single Spokesperson Dialogue | 4–5 files | 3–4 images | 0 videos | 1 audio clip (5–10s) | Front portrait, 45° angle, waist-up wardrobe still, optional studio backdrop, plus one clean dry vocal timbre clip |
| 2. Hero Product Commercial Orbit | 5–6 files | 4–5 images | 1 video clip (4–8s) | 0 audio clips | Front/back/side packaging stills, macro label detail, tabletop surface plate, plus one gimbal orbit motion-reference clip |
| 3. Two-Character Continuity Scene | 10–12 files | 8–10 images | 1 video clip (6–12s) | 1 audio clip (6–10s) | 3 angles for Subject A, 3 angles for Subject B, 2–4 matched room plates, one blocking/camera clip, and one ambient room-tone clip |
| 4. Full Ensemble & Multi-Prop Set | 16–20 files | 10 images (max) | 3–5 clips (≤30s total) | 3–5 clips (≤30s total) | Full 10-image cast/prop/architecture board, short 4–6s motion beats kept under 30s combined, plus voice and score motif clips under 30s combined |
Want to inspect a full 20-asset editorial setup? See our 20-reference Ceramic Atelier prompt breakdown or browse all six aspect-ratio examples in MAGI-2 Video Examples.
How to Bind Images, Videos, and Audio in Your MAGI-2 Prompt
Although Reference-to-Video technically accepts submissions without text, pairing your uploads with explicit role assignments prevents feature bleed. Tell MAGI-2 what to keep from each image, what motion or camera path to borrow from video references, and how audio references pair with quoted spoken dialogue (see full audio syntax in our MAGI-2 Prompt Guide).
1. Lock Identity From Images
Name concrete anchors visible in the stills (jacket color, glasses, embossed logo) while letting Action drive fresh posture and expression.
2. Decouple Motion From Video
State that reference video 1 governs camera arc or subject blocking, then override Scene and Light so the source clip’s background does not bleed through.
3. Pair Audio Refs With Quotes
Attach a 5–10s dry vocal clip for timbre and wrap exact spoken lines in English double quotes ("..."), declaring no music when you want clean speech.
4 Images + 1 Audio Clip · 9:16 · 10s
Single Spokesperson Lip-Sync + Voice Reference
Locks speaker face, wardrobe, and studio backdrop from 4 stills while anchoring vocal tone with a 6-second dry voice sample.
The female product designer from reference images 1–3 wearing the slate knit cardigan, seated inside the sunlit timber workshop from reference image 4. She lifts a matte-ceramic pour-over kettle with both hands, turns toward the lens with a relaxed smile, and sets it gently onto the oak counter. Soft north-facing window key light from camera left with warm bounce off the plaster wall. Medium close-up at eye level, gentle locked-off handheld micro-movement, 9:16. Maintain visual consistency with the 4 attached images and match the vocal tone of reference audio 1. Audio: "Every curve on this spout slows the pour so you never scald the roast," she says warmly; faint ceramic clink on oak, quiet studio room tone; no music.Upload tip: Keep all 3 portrait stills under neutral, matched lighting and trim the voice sample to 5–10s of clean speech with zero background music.
4 Images + 1 Video Clip · 16:9 · 8s
Hero Product Commercial + Camera Orbit Transfer
Preserves embossed packaging typography from 4 studio angles while copying a smooth 180° slider arc from a reference video.
The brushed-aluminum espresso grinder and embossed matte-black bean canister from reference images 1–3 resting on the dark honed-basalt counter from reference image 4. Follow the smooth 180-degree tabletop arc and speed ramp from reference video 1 as warm mist drifts past the chrome collar and roasted beans shimmer in shallow depth of field. Crisp overhead softbox rim light with subtle amber practical glow in the background. Macro tabletop camera sweeping left to right along reference video 1 trajectory, 16:9. Replace the original background of reference video 1 completely with the dark basalt kitchen setting. Audio: crisp burr-grinder hum tapering off, soft ceramic rattle; minimalist warm bass pulse.Upload tip: Explicitly state that Scene and Light replace the reference video background so MAGI-2 transfers only camera motion and timing.
8 Images + 1 Video + 1 Audio · 21:9 · 20s
Two-Character Continuity Dialogue + Blocking Clip
Combines two multi-angle character sheets, matched location plates, blocking movement, and score mood into one 20-second widescreen take.
The older watchmaker in tweed from reference images 1–3 and the young courier in a rain-darkened trench coat from reference images 4–6 standing across the narrow brass-lit repair bench from reference images 7–8. Replicate the slow over-the-shoulder push-in and turn from reference video 1: the courier slides a tarnished pocket watch across the green felt mat, the watchmaker opens the hinged case with a loupe, pauses, and looks up. Warm tungsten banker-lamp key light against cool blue rain streaks on the storefront glass behind them. Slow anamorphic dolly-in transitioning into a two-shot, 21:9. Match the restrained acoustic tension of reference audio 1. Audio: "Where did you find the second key?" the watchmaker asks quietly; "Inside the station locker," the courier answers; steady rain against glass, ticking wall clocks; restrained low cello underscore.Upload tip: At 20 seconds, keep spoken lines to 15–22 words total so both speakers complete natural pauses and lip-sync without rushing.
MAGI-2 Reference-to-Video Availability, Duration Limits, and Credit Cost
On magi-2-ai.com, Reference-to-Video runs at the same flat 14 credits per output second as Text-to-Video (4s = 56 credits, 5s = 70 credits, 10s = 140 credits, 30s = 420 credits). Attached reference images, videos, and audio files do not add per-input surcharges. See full plan breakdowns on MAGI-2 Pricing & Plans or local cluster requirements on MAGI-2 Open Source & Hardware.
| Channel / Release | Reference Support | Clip Duration & Resolution | Pricing / Cost Model | Hardware Needed |
|---|---|---|---|---|
| magi-2-ai.com Studio (Independent Hosted) | Up to 20 (10 img + 5 vid + 5 audio) | 4–30 seconds (1080p, 25fps) | 14 credits/s flat · 0 extra surcharge for attached reference images, videos, or audio (~$1.47 per 5s clip on Basic Annual) | Browser only — zero local GPU |
| Sand.ai Flagship Specification | Up to 20 reference assets | Up to 30 seconds (1080p, 25fps) | Published via Sand.ai flagship release post; weights unpublished | Cloud flagship infrastructure |
| VidMuse (Official Sand.ai Partner) | Multimodal reference workflows | 4–15 seconds currently exposed (540P / 720P / 1080P) | Governed by VidMuse platform plans | Browser only — zero local GPU |
| MAGI-2 Preview (Open-Source Apache-2.0) | Text + reference inputs (114B Preview) | Fixed 10 seconds (1088×1920) | Free Apache-2.0 weights (~307GB download); own GPU cluster cost | 8× Hopper-class GPUs required |
Troubleshooting MAGI-2 Multi-Reference Upload Errors and Output Drift
Most failed submissions come from cumulative video/audio duration caps or unsupported containers, while visual drift usually stems from mixing incompatible lighting stills.
| Symptom / Error | Root Cause | Fix |
|---|---|---|
| Error: Reference videos or audio exceed 30 seconds in total | Each video/audio clip must be 2–30s individually, AND the combined sum of all attached videos (or all attached audio files) cannot exceed 30 seconds. | Trim multiple motion or audio clips to 4–6 second highlights so the combined video total stays ≤30s and the combined audio total stays ≤30s. |
| Error: The same reference video cannot be submitted more than once | The magi-2-ai.com media validator rejects duplicate video URLs in the same request. | Remove duplicate uploads; attaching the same clip twice does not increase motion weight and blocks submission. |
| Error: Unsupported format or unreadable duration | Uploading WebM/MKV video, M4A/OGG/AAC audio, HEIC images, or stripped-header containers fails strict byte-header inspection. | Export images as PNG/JPEG/WebP (≤30 MB), videos as standard H.264 MP4/MOV (≤200 MB), and audio as PCM WAV or MP3 (≤15 MB). |
| Mid-clip face drift or wardrobe flickering | Mixing reference stills with conflicting hairstyles, outfits, extreme backlighting, or heavy beauty filters forces the model to average incompatible traits. | Use 3–4 clean, evenly lit angles of the exact same wardrobe and hair, then reinforce 2–3 concrete physical anchors in the Subject field. |
| Reference video background bleeds into the generated scene | When a motion-reference clip has a strong background and the prompt omits explicit Scene/Light details, MAGI-2 inherits both motion and setting. | Explicitly describe the new physical location and light source in Scene + Light and note that the reference video governs camera path or choreography only. |
Choose Your Next Step
Ready to run a multi-reference shot or draft your six-field prompt first? Pick the tool matched to where you are in production.
Ready With Assets
Run Multi-Reference Online (4–30s)
Upload up to 10 images, 5 videos, and 5 audio files in the browser on magi-2-ai.com at 1080p 25fps—zero local GPU setup.
Free Prompt Tool
Structure Your Six-Field Prompt
Dial in Subject, Action, Scene, Light, Camera, Audio, and reference count before spending credits on a 20-asset run.
Budget & Credits
Check Credit Rates & Packs
Compare annual subscriptions (from $14.90/mo) and 365-day credit packs—always 14 credits/s with no reference surcharge.
MAGI-2 Omni-Reference FAQ
How many reference inputs can MAGI-2 use in one generation?
MAGI-2 supports up to 20 multimodal reference assets in a single generation request. In the magi-2-ai.com Reference-to-Video workspace, that 20-file ceiling breaks down into up to 10 reference images, up to 5 reference videos, and up to 5 reference audio files combined.
What file formats and sizes are accepted for MAGI-2 reference images, videos, and audio?
On magi-2-ai.com, reference images accept PNG, JPEG, and WebP up to 30 MB each (10 files max). Reference videos accept MP4 and MOV up to 200 MB each (5 files max). Reference audio accepts WAV and MP3 up to 15 MB each (5 files max), uploaded directly via presigned storage.
What is the maximum length for MAGI-2 reference videos and audio clips?
Each attached reference video or audio file on magi-2-ai.com must be between 2 and 30 seconds long. In addition, the combined total duration of all attached reference videos cannot exceed 30 seconds, and the combined total duration of all attached reference audio files cannot exceed 30 seconds.
Do reference images, videos, or audio cost extra credits on magi-2-ai.com?
No. Hosted 1080p MAGI-2 generation on magi-2-ai.com is billed at a flat 14 credits per output second across 4–30 second clips (70 credits for 5s, 140 credits for 10s, 420 credits for 30s). Attaching 1 to 20 reference images, videos, or audio files adds zero extra credit surcharge.
What is the difference between MAGI-2 Image-to-Video and Omni-Reference?
Image-to-Video locks 1 or 2 exact keyframes (a required First frame and optional Last frame) so animation starts from that exact pixel composition. Omni-Reference (Reference-to-Video) accepts up to 20 mixed image, video, and audio assets to preserve character identity, products, motion, or sound while letting the camera freely compose new angles.
Is a text prompt required when using MAGI-2 Reference-to-Video?
In the magi-2-ai.com backend validator, a text prompt is technically optional in Reference-to-Video mode as long as at least one reference file is attached (up to 15,000 characters max). However, writing a concise six-field prompt that assigns each reference file a clear role dramatically improves consistency.
Can MAGI-2 lock both character appearance and voice or audio in one pass?
Yes. Because MAGI-2 generates 1080p 25fps video and synchronized audio inside a single unified backbone, you can pair portrait/wardrobe reference images with reference audio clips and quoted spoken dialogue ("...") to keep face, lip-sync, and vocal tone aligned in one pass.
Can I run MAGI-2 20-reference workflows locally on a single consumer GPU?
No. Sand.ai has not published weights for the 480B MAGI-2 flagship, and the open-source 114B MAGI-2 Preview checkpoint (~307GB, Apache-2.0, fixed 10s) requires 8 Hopper-class GPUs. Browser access on magi-2-ai.com lets you run 4–30s 1080p multi-reference workflows with zero local GPU.
Primary Sources & Verification Methodology
Model-level claims (480B parameters, 30-second flagship duration, 1080p 25fps native audio, and up to 20 reference inputs) are verified against Sand.ai's primary release documentation. Workspace upload limits (30 MB / 200 MB / 15 MB, 2–30s clip caps, 30s combined caps, and 14 credits/s flat billing) reflect the live validation rules of magi-2-ai.com as of 2026-11-26.
- Primary (Sand.ai): MAGI-2 Flagship Release Post (sand.ai/blog/magi-2) — 480B architecture, 30s 1080p 25fps native audio, and 20-reference ceiling.
- Primary (HuggingFace): sand-ai/MAGI-2-preview Model Card — 114B Apache-2.0 Preview baseline, fixed 10s 1088×1920, and 8× Hopper GPU requirement.
- Official Partner Reference: VidMuse MAGI-2 Portal (vidmuse.ai/en/magi-2) — Partner duration options (4–15s) and resolution tiers.
magi-2-ai.com is an independent third-party site. MAGI-2 is developed by Sand.ai. We are not affiliated with, endorsed by, or sponsored by Sand.ai. MAGI-2™ belongs to Sand.ai.