Native MAGI-2 Omni-Reference quota specification
Several third-party launch studios artificially truncate MAGI-2's multimodal conditioning inside their web interfaces—for example, capping uploads at 9 images and 3 videos while dropping audio conditioning entirely. The table below documents the full native sand-ai/magi-2/reference-to-video API contract verified on 2026-12-02 and supported natively inside MagiAI Studio's Omni-Reference Vault.
| Modality | Max Slots | Prompt Tag Range | Duration Bounds | Accepted MIME Types | Input Modes |
|---|---|---|---|---|---|
| Images | 10 | @image_1 to @image_10 | Still frame (N/A) | image/jpeg, image/png, image/webp | Public HTTPS URL or Base64 data URI |
| Videos | 5 | @video_1 to @video_5 | 2–30s each · ≤30s combined | video/mp4, video/quicktime | Public HTTPS URL |
| Audios | 5 | @audio_1 to @audio_5 | 2–30s each · ≤30s combined | audio/mpeg, audio/wav, audio/mp4 | Public HTTPS URL |
How to allocate 20 slots without visual or acoustic cross-contamination
Having 20 available slots does not mean filling all 20 improves every render. Multimodal cross-attention performs best when each uploaded item governs one clean, orthogonal axis of the shot. In practice, a disciplined 5-to-9-item vault routinely beats a noisy 20-item dump because competing lighting or cluttered collage photos pull facial geometry in opposite directions.
For two-character short-drama episodes, reserve @image_1–@image_2 for Character A (front neutral + 3/4 turnaround), @image_3–@image_4 for Character B, @image_5–@image_6 for isolated wardrobe or hero props on plain neutral backgrounds, and @image_7 for a wide set lighting plate. Pair that with one 5–8 second @video_1 camera trajectory clip and two dry 5–6 second @audio_1/@audio_2 voice timbre samples recorded without background music.
Most common MAGI-2 Omni-Reference upload failures (and how this checker catches them)
Because MAGI-2 generation queues run asynchronously over several minutes, an invalid link or unsupported HEIC image can waste significant iteration time if caught late in the pipeline.
| Failure Mode | What Fails Upstream | Root Cause | Preventive Fix |
|---|---|---|---|
| HEIC / GIF / AVIF Image Uploads | Upstream decoding error or silent slot drop | iPhone camera rolls default to HEIC and web exports often ship AVIF/animated GIF. | Convert all image references to clean JPEG, PNG, or static WebP under 5 MB. |
| Google Drive / Dropbox Viewer URLs | HTTP 200 HTML returned instead of binary bytes | Share links point to web preview pages gated by redirect tokens rather than raw media streams. | Upload via MagiAI Studio Vault (hosted on direct Cloudflare R2) or public S3/CDN HTTPS URLs. |
| Combined Video or Audio > 30 Seconds | 400 Validation Error from Atlas R2V schema | MAGI-2 enforces both a 2–30s per-clip bound AND a cumulative <=30s cap across all video slots (and <=30s across all audio slots). | Trim motion and vocal samples to tight 4–8 second clean loops before attaching multiple clips. |
| Unbound @image_n / @audio_n Slots | Character faces blend or voice timbre ignores audio clip | Uploading files without naming their roles in the prompt leaves cross-attention ambiguous. | Open every R2V prompt with explicit slot assignments generated by this planner. |
Need deeper character-locking recipes or production troubleshooting? Read our MAGI-2 Character Consistency Guide, inspect raw REST schemas in the Developer API Reference, or diagnose stuck queues inside MAGI-2 Troubleshooting.
Recommended reference vault blueprints by production vertical
Rather than guessing how many assets to attach on your first run, start from a verified slot budget tailored to your deliverable format. Each blueprint below keeps combined video and audio lengths well under the 30-second cumulative ceiling while maintaining strong character, product, and acoustic lock across 15–30 second scenes:
- UGC & Ecommerce Spoken Ad (5 slots): 1 clean front portrait of the presenter (
@image_1), 2 product angles showing front label and cap geometry (@image_2–@image_3), 1 short 5-second handheld camera framing clip (@video_1), and 1 dry 5-second voice timbre recording (@audio_1). - Serialized 9:16 Short Drama (8 slots): 2 turnaround angles for Character A, 2 angles for Character B, 1 wardrobe sheet, 1 wide location lighting plate, 1 blocking/camera-move clip (6–8s), and 2 dry speaker vocal stems (5–6s each, 10–12s combined).
- Beat-Synced Music & Product Trailer (7 slots): 3 hero subject/environment style plates, 2 distinct motion-choreography clips (8–10s each, staying ≤20s combined), and 2 isolated rhythmic stem or foley clips (8–10s each, ≤20s combined) for rhythmic cut alignment.
Pre-flight validation questions
Does the local file checker upload my raw images, videos, or voice clips?+-
Never. Local file inspection runs 100% inside your browser using temporary local object URLs to read MIME type, byte size, pixel resolution, and audio/video duration, then revokes the temporary handle immediately. Nothing is sent over the network until you choose to upload assets inside an authenticated MagiAI Studio session.
Can I pass Base64 data URIs for videos and audios in Atlas R2V JSON?+-
Only image slots accept either public HTTPS URLs or Base64 data URIs. Video and audio reference arrays strictly require directly reachable public HTTPS URLs returning raw media bytes without login cookies, expiring presigned errors, or cloud preview HTML wrappers.
Paste your @slot preamble into timed multi-shot beats with 2.5 words/s checks.
Copy full OpenAPI JSON schemas for T2V, I2V, and R2V plus safe-zone grids.
Automatic public HTTPS hosting, saved character kits, and 4s auditions.