Skip to main content
MAGIAI
Verified 2026-12-02Native Cap: 10i + 5v (≤30s) + 5a (≤30s) = 20 items$0 extra surcharge

20-slot Omni-Reference planner & upload pre-flight checker

Sand.ai MAGI-2 supports up to 20 simultaneous multimodal reference assets at no extra per-second cost—10 images, 5 videos (≤30s combined), and 5 audio clips (≤30s combined). Validate file containers, direct HTTPS URLs, and duration caps locally in your browser before queuing a multi-minute render.

Starter vaults:
Pre-flight clean
Images3 / 10

@image_1 – @image_10 · JPEG/PNG/WebP

Videos1 / 5

Combined: 5s / 30s (2–30s each)

Audios1 / 5

Combined: 6s / 30s (2–30s each)

Total Omni-Ref Vault5 / 20

$0 extra surcharge · flat per-second rate

Add reference slot (URL or local pre-flight check)

Local files are inspected strictly inside your browser via HTML5 media metadata—zero bytes leave your device.

@image_1Founder neutral front portrait
https://cdn.example.com/refs/founder-portrait.webp1.4 MB
Format, direct HTTPS reachability, and duration caps passed pre-flight.
@image_2Frosted amber serum bottle front
https://cdn.example.com/refs/serum-front.png2.1 MB
Format, direct HTTPS reachability, and duration caps passed pre-flight.
@image_3Sunlit travertine vanity background
https://cdn.example.com/refs/vanity-plate.jpg1.8 MB
Format, direct HTTPS reachability, and duration caps passed pre-flight.
@video_1Slow handheld push-in framing ref
https://cdn.example.com/refs/handheld-framing-5s.mp44.2 MB
s
Format, direct HTTPS reachability, and duration caps passed pre-flight.
@audio_1Dry close-mic founder voice sample
https://cdn.example.com/refs/founder-voice-6s.wav1.1 MB
s
Format, direct HTTPS reachability, and duration caps passed pre-flight.
Auto-bound @image_n, @video_n, and @audio_n prompt tags
Reference lock: use @image_1 for character face (Founder neutral front portrait); use @image_2 for product geometry (Frosted amber serum bottle front); use @image_3 for set / lighting plate (Sunlit travertine vanity background); use @video_1 for camera motion (Slow handheld push-in framing ref); use @audio_1 for voice timbre (Dry close-mic founder voice sample).

[00:00-00:04] Medium close-up, slow dolly-in. Keep identity, wardrobe, lighting, and acoustics strictly aligned with the bound reference slots above. Audio: clean room tone, no music.

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.

ModalityMax SlotsPrompt Tag RangeDuration BoundsAccepted MIME TypesInput Modes
Images10@image_1 to @image_10Still frame (N/A)image/jpeg, image/png, image/webpPublic HTTPS URL or Base64 data URI
Videos5@video_1 to @video_52–30s each · ≤30s combinedvideo/mp4, video/quicktimePublic HTTPS URL
Audios5@audio_1 to @audio_52–30s each · ≤30s combinedaudio/mpeg, audio/wav, audio/mp4Public 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 ModeWhat Fails UpstreamRoot CausePreventive Fix
HEIC / GIF / AVIF Image UploadsUpstream decoding error or silent slot dropiPhone 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 URLsHTTP 200 HTML returned instead of binary bytesShare 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 Seconds400 Validation Error from Atlas R2V schemaMAGI-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 SlotsCharacter faces blend or voice timbre ignores audio clipUploading 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.

STEP 2 · SCRIPTING
Timeline & Lip-Sync Prompt Builder

Paste your @slot preamble into timed multi-shot beats with 2.5 words/s checks.

API SCHEMAS
25fps Spec Sheet & Safe Zones

Copy full OpenAPI JSON schemas for T2V, I2V, and R2V plus safe-zone grids.

DIRECT STUDIO VAULT
Upload to MagiAI Studio Vault

Automatic public HTTPS hosting, saved character kits, and 4s auditions.

MAGI-2 20-Slot Omni-Reference Planner & Upload Checker