
Verified technical specifications
Every parameter below is verified directly against Sand.ai’s MAGI-2 documentation and live Atlas Cloud OpenAPI definitions as of 2026-12-02. Wholesale API baseline is $0.08/s with native audio and full reference slots included.
| Specification | Verified Value | Engineering Note |
|---|---|---|
| Synthesis Architecture | Unified single-stream audio-video transformer | Generates pixels and waveform tokens jointly rather than bolting on a post-hoc dubbing pass. |
| Continuous Lip-Sync Ceiling | <= 6s recommended (7s hard drift threshold) | Reset mouth alignment cleanly with a 2–4s silent reaction cut or B-roll shot between lines. |
| Target English Speaking Pace | 2.0 – 2.8 words/s (~2.5 w/s optimal) | Above 3.2 words/s compresses consonants and accelerates visible jaw desynchronization. |
| Singing / Lyrical Pace | 1.6 – 2.2 words/s | Held vowels need extra time; position microphones below chin level for unobstructed lips. |
| Voice Timbre Conditioning | Up to 5 @audio_n stems (<=30s combined) | Available on `reference-to-video`; supply dry studio speech without reverb or music. |
| Auto-Music Suppression | Append "no music" per beat | MagiAI Studio includes a global "No music" switch that enforces dry mix-ready stems. |
Live API parameter schema (sand-ai/magi-2/reference-to-video)
| Field | Type | Required | Constraints & Behavior |
|---|---|---|---|
| model | string | Required | Literal "sand-ai/magi-2/reference-to-video" Canonical Atlas Cloud model identifier for flagship MAGI-2 Omni-Reference. |
| prompt | string | Required | 1–15,000 characters referencing @image_n, @video_n, @audio_n roles Director brief explicitly binding each uploaded reference slot to its subject, motion, or audio role. |
| duration | integer | Optional (5) | Integer 4–30 (1-second steps) Requested clip duration in seconds. Flat $0.08/s regardless of reference count. |
| aspect_ratio | enum | Optional (16:9) | "16:9" | "9:16" | "21:9" | "4:3" | "3:4" | "1:1" Target 1080p-class framing ratio. |
| images | string[] | Optional | Max 10 items (public HTTPS URLs or Base64) Identity portraits, product angles, wardrobe sheets, or set plates. |
| videos | string[] | Optional | Max 5 public HTTPS URLs; 2–30s each; combined duration <= 30s Camera movement, actor blocking, or performance pacing references. |
| audios | string[] | Optional | Max 5 public HTTPS URLs; 2–30s each; combined duration <= 30s Voice timbre samples, spoken stems, musical grooves, or foley beds. |
The three quantitative rules behind broadcast-clean MAGI-2 lip-sync
Native joint audio-video generation eliminates the uncanny rubber-mouth artifacts common in post-hoc 2D lip-sync overlays, because jaw tension, throat muscles, breath intake, and cheek lighting are synthesized together with the audio waveform. Yet field testing across hundreds of MAGI-2 takes reveals sharp physical thresholds that separate effortless spoken commercials from drifting takes.
First, never ask a single unbroken on-camera face to speak nonstop for 12–20 seconds. Beyond roughly 6 to 7 continuous seconds, phoneme timing begins accumulating micro-drift. Professional directors solve this identically to real cinema editing: cut away for 2–4 seconds to a hand sliding a receipt, a product macro dropper, or a silent listener reaction, then cut back to resume speaking with a fresh sync lock.
Second, count your words rigorously. English conversational delivery lands cleanest around 2.5 words per second—roughly 12 to 15 words inside a 5–6 second shot. Cramming 22 marketing words into a 6-second hook pushes cadence past 3.6 words/s, causing swallowed syllables and blurred consonant shapes. MagiAI Studio’s Timeline Composer and free Timeline Prompt Builder compute words-per-second live on every beat, lighting Emerald (<=2.5 w/s), Amber (2.6–3.1 w/s), or Crimson (>3.2 w/s or >7s continuous).
- Rule 1: Cap continuous on-camera speaking beats at 5–6 seconds; reset with a visual cutaway or breath beat.
- Rule 2: Keep conversational dialogue at 2.0–2.8 words/s (1.6–2.2 words/s for sung lyrics).
- Rule 3: Append "no music" explicitly whenever you need clean dialogue or tactile foley that will later sit under licensed brand music in an NLE.
Directing physical foley and acoustic room perspective
Because MAGI-2’s audio decoder attends directly to moving surfaces in the video tokens, concrete acoustic materials produce astonishing synchronization. Describing "a heavy walnut portafilter twisting into stainless steel with a firm metallic click in a quiet dark studio, no music" triggers crisp transients locked to the exact frame the wrist stops turning.
Always describe the acoustic space alongside the sound source: "small tiled morning bathroom", "cramped vinyl diner booth", or "wind-swept open basalt ridge." Specifying acoustic perspective stops voices from sounding like detached podcast voiceovers floating over outdoor footage.
Recommended studio workflow
Follow this four-step sequence to minimize retake waste and verify audio-visual continuity before spending credits on 15–30 second masters.
- STAGE 01<= 6s · 2.5 w/s
Write short beats under 6s & check words/s
Split 15–30s scripts into 5–6s spoken turns separated by 3–4s visual B-roll or reaction cuts, aiming for 2.1–2.5 words/s.
- STAGE 02@audio_1 dry
Upload dry vocal timbre stem (optional)
For recurring spokespersons or actors, upload a clean 4–6s dry WAV/MP3 clip into `@audio_1` on Reference-to-Video.
- STAGE 03no music ON
Toggle "No music" & specify room acoustics
Name the physical environment and tactile sound effects per beat while suppressing unwanted synthetic background scores.
- STAGE 0440 cr check
Verify consonant clarity on a 4s audition
Listen on studio headphones to a 40-credit 4-second opening clip to confirm pronunciation and microphone intimacy before scaling up.
Production prompt syntax & live Atlas JSON
Inspect a verified MAGI-2 director brief for Spoken UGC Hook + Tactile Macro Sync Reset (15s) and launch it directly into MagiAI Studio with pre-configured duration, aspect ratio, and audio switches.
9:16 daylight bathroom vanity UGC spot, natural smartphone 28mm lens, close-mic tiled bathroom acoustics. Spokesperson (@image_1), amber serum bottle (@image_2), voice timbre (@audio_1). [00:00-00:05] Eye-level handheld framing. She lifts @image_2 near collarbone height and says warmly in @audio_1 voice: "Dry winter air ruins most serums before noon, so watch this texture." Audio: crisp tiled room tone, subtle sleeve rustle, no music. [00:05-00:09] Cut to macro top-down shot of glass dropper releasing three golden droplets onto back of hand. Audio: crisp glass screw-cap twist, gentle rubber bulb squeeze, soft droplet pat, no music. [00:09-00:15] Return to eye-level framing. Holding bottle label steady, she finishes clearly in @audio_1 voice: "Three cold-pressed drops absorb in ten seconds flat, with zero sticky residue under sunscreen." Audio: bright conversational room tone, gentle glass set-down on marble, no music.
{
"endpoint": "https://api.atlascloud.ai/api/v1/model/generateVideo",
"method": "POST",
"body": {
"model": "sand-ai/magi-2/reference-to-video",
"prompt": "[00:00-00:05] Close-up in warm sunlit bathroom vanity. Spokesperson (@image_1) speaks naturally in @audio_1 voice: \"Dry winter air ruins most serums before noon, so watch this texture.\" Audio: crisp close-mic bathroom room tone, no music.",
"duration": 5,
"aspect_ratio": "9:16",
"images": [
"https://assets.magiai.ai/examples/founder-portrait.webp"
],
"audios": [
"https://assets.magiai.ai/examples/founder-voice-5s.wav"
]
}
}Common pitfalls & verified fixes
| Observed Symptom | Root Cause | Verified Fix |
|---|---|---|
| Lips lose synchronization around second 8 of a single continuous talking head. | Exceeding MAGI-2’s 6–7s unbroken speech window allows cumulative phoneme drift. | Insert a 3-second silent cutaway (product close-up, listener nod, or environment beat) at second 5–6. |
| Overlapping dialogue makes both actors’ mouths flap erratically. | Two characters speaking inside the same timestamp block creates ambiguous viseme binding. | Strictly assign one on-camera speaker per shot beat and alternate cuts cleanly. |
| A large microphone pop filter or coffee mug obscures the speaker’s chin and garbles consonants. | Visual occlusion directly over the mouth interferes with joint audio-visual attention. | Explicitly place handheld props below collarbone level and microphones just below chin height. |
Honest limitations & engineering trade-offs
MagiAI Studio documents where MAGI-2 shines and where real constraints require workflow planning so production teams never hit surprises mid-deadline.
Audio and video render baked into one muxed MP4 track
MAGI-2 does not output separate multitrack dialogue/foley WAV stems directly.
Mitigation: Always generate dry (`no music`) in Studio, then mix background music or light EQ/de-reverb cleanly in DaVinci Fairlight or Premiere.
Rapid technical jargon or rare brand acronyms can mispronounce
Unusual proper nouns occasionally stumble without phonetic spelling.
Mitigation: Spell tricky brand names phonetically inside dialogue quotes and test the line in a 4-second audition first.