Dev.to AI πŸ€– Ai πŸ‘ 0 πŸ“– 4 min read

Testing MAGI-2 in the Browser: Single-Pass Lip-Sync Dialogue, Foley SFX, Start/End Frames & Honest Limits (2026)

Most AI video generators still treat sound as an afterthought: you render a silent 5-second visual clip, export it, then stitch voiceovers and foley sound effects in a separate tool. Lip movements drift off the audio tra

Most AI video generators still treat sound as an afterthought: you render a silent 5-second visual clip, export it, then stitch voiceovers and foley sound effects in a separate tool. Lip movements drift off the audio track, and physical impacts rarely land on the right frame.

Sand.ai's MAGI-2 takes a different approach by generating native 1080p @ 25 fps video together with lip-synced dialogue, physical foley SFX, room ambience, and optional music in a single pass across 4 to 30 seconds.

The catch with self-hosting Sand.ai's open-weights MAGI-2-preview release (114B total / ~6B active parameters) is infrastructure: it fixes clip length at 10 seconds and requires 8 NVIDIA Hopper GPUs. Full-scale browser pipelines are the only practical way for most creators to test it.

Disclosure: I build and maintain Magi2Free, an independent third-party web studio for MAGI-2 workflows (not affiliated with Sand.ai). Below are real test notes, exact prompts, observed render times, and honest failure boundaries from running unedited 4s–10s 1080p renders.

1. The 5-Part Prompt Structure That Stopped Drift & Random Music

Throwing generic buzzwords ("cinematic fisherman on a dock, 8k photorealistic masterpiece") at MAGI-2 causes three predictable failures: props drift across the frame, lips move during non-speaking pauses, and the audio model invents generic background music over your dialogue.

Switching to a strict five-part director blueprint fixed almost all three issues:

  1. Timecode beats ([00:00-00:04]) β€” split 10s–30s scenes into 4–6 second beats.
  2. Spatial blocking first β€” lock left/right placement, wardrobe, and light source before describing motion.
  3. One camera move per beat β€” e.g. 35mm handheld slow push-in, no zoom, no cuts.
  4. Quoted speech paced at ~2.2 words/sec β€” one speaking face clearly framed per spoken beat, with explicit "lips completely closed" cues during silent action beats.
  5. Explicit Audio guard at the end β€” tie foley to visible contacts and close with "No music, no on-screen text" when you want clean dialogue or pure foley.

Exact 10s Single-Take Lip-Sync Prompt Tested (16:9 Β· 1080p Β· ~4–5 min cloud render)

SCENE CONTEXT: one continuous handheld shot at golden-hour mist on a quiet cedar dock beside a pine-lined northern lake. A weathered fisherman in his late 50s sits beside a warm glowing brass storm lantern, chatting with a friend sitting off-screen to his right; he unlatches an old green steel tackle box and pulls out a vintage brass pocket compass.

ACTION TIMING: 0.0–3.4s he looks off-screen right, eyebrows lifting warmly, and says slowly with precise lip sync: "Hold on... I kept something for you." 3.4–7.0s he turns to the tackle box, snaps open two metal clasps, lifts the hinged lid, and picks up a gleaming vintage brass pocket compass by its short chain, his lips completely closed and still. 7.0–10.0s he turns back toward off-screen right, holds the brass compass up in the lantern glow, grins warmly, and says: "Still points true north."

AUDIO: steady lake water lapping gently against wooden dock pilings; foley synced cleanly to every movement (canvas jacket rustle, two crisp metallic latch snaps, brass chain clink). Only the two quoted English lines in a calm baritone. No music, no background voices, no on-screen text.

Observed result: Two distinct metallic clasp snaps landed right on the hand action, the fisherman's lips stayed shut during the silent 3.4–7.0s action beat, and both spoken lines held tight 25fps lip-sync. Full multi-shot templates and annotated blueprints are documented in the Magi 2 Prompt Guide.

2. Image-to-Video: Direct Motion Delta, Not Static Pixels

When animating a still photo via Magi 2 Image to Video (Start Frame + optional End Frame), the #1 mistake is re-describing colors or objects already locked inside Frame 1.

Instead, spend 100% of the prompt budget on what changes:

  • Camera trajectory (smooth lateral track right at bench height)
  • Foreground parallax (dark fern fronds sliding past the left edge)
  • Ambient audio (warm breeze brushing leaves, faint distant birdsong β€” no dialogue, no music)

In our 9:16 vertical test (Sunset Conservatory Poppy, 4s = 40 credits, ~2–3 min render), keeping the aspect ratio automatically locked to the uploaded Start Frame eliminated forced cropping completely.

Honest End Frame limit: Start + End Frame interpolation works cleanly when both frames share the same subject, lighting logic, and aspect ratio (product orbits, doors opening, head turns). Feeding two unrelated locations into Start and End frames will cause visible morphing artifacts.

3. Multi-Reference Continuity: Photos + Video + Audio

Image-to-Video locks literal Frame 1. When you need recurring characters, products, motion patterns, or vocal tones across newly composed hard cuts and selectable aspect ratios (16:9, 9:16, 1:1, 4:3, 3:4, 21:9), Magi 2 Multi-Reference binds uploaded assets with inline tags (@Image1–@Image10, plus up to 5 reference videos and 5 reference audio clips).

Practical rule we observed: 2–4 focused references consistently beat 10 noisy uploads. In our 10-second 5-cut product test (AUREA Botanical Mist), three clean studio angles (@Image1 front, @Image2 left 3/4, @Image3 right 3/4) kept cylindrical serif label text sharp across a hero orbit, glass-on-stone drop ("tock" at 3.5s), macro bubbles, and backlit mist burst ("psst" at 6.0s).

4. Honest Benchmarks, Wait Times & Limitations

To save you trial-and-error credits, here is what to realistically expect today:

Dimension Real Observed Behavior
Output Spec Native 1080p @ 25 fps MP4; Native Audio toggleable On/Off at zero extra credit charge
Clip Presets 4s (minimum; 2s not supported), 10s, 15s, 30s at 10 credits/sec
Cloud Render Wait Typically 2–6 minutes depending on duration and queue (4s ~2–3 min; 10s ~4–5 min observed)
Dialogue Limits Crisp with 1 speaker framed clearly per beat (~2.2 words/sec); crowded multi-speaker crosstalk reduces lip-sync fidelity
Media Privacy Uploaded frames/video/audio references are deleted automatically from cloud storage within 24 hours
Free Test Path Eligible new Google accounts on Magi2Free get 40 welcome credits (no credit card), covering one unedited 4s 1080p render with native audio; failed renders auto-refund credits

If you test MAGI-2 prompts yourself, start on a 4s clip to lock framing and voice tone before spending credits on a 15s or 30s multi-cut script.

πŸ“° Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.