DEV Community

baiwei
baiwei

Posted on Edited on

How to Direct Consistent AI Video Characters with MAGI-2's 20 Multimodal Reference Slots (@Image1, @Video1, @Audio1)

If you have built prototypes with AI video generators over the past year, you already know where multi-shot continuity breaks down. A character's jawline shifts between cuts, jacket buttons migrate across frames, warm studio key lighting turns flat outdoors, and dialogue voices morph from clip to clip. Most text-to-video and single-image-to-video pipelines lose identity because visual appearance, motion trajectories, and audio synthesis are handled by disconnected modules rather than a shared representation.

MAGI-2 approaches the problem with a 480B total parameter Mixture-of-Experts model (~28B active parameters per step) built on a unified single-stream architecture that processes text, video, and audio tokens together. Instead of bolting a lip-sync pass onto a silent video clip, the model generates synchronized native 1080p at 25fps for 4 to 30 seconds across six aspect ratios (21:9, 16:9, 4:3, 1:1, 3:4, and 9:16). You can read the architectural breakdown in MAGI-2 480B MoE architecture explained.

For production workflows, the real leverage sits in MAGI-2's Reference-to-Video mode: up to 20 multimodal reference slots per job, explicitly addressable inside your prompt via @Image1..@Image10, @Video1..@Video5, and @Audio1..@Audio5.

Treating Your 20 Slots Like an Asset Manifest

Passing references casually leads to muddy generations. If you upload six random photos of an actor plus two conflicting ambient tracks without assigning clear roles, the model averages competing priors. Treat your 20-slot budget like a structured build manifest where every slot owns one job.

Here is the slot ceiling and recommended allocation pattern covered in the MAGI-2 Reference-to-Video 20-asset workflow guide:

Slot Type Max Count Best Use Common Mistake
Image (@Image1–@Image10) 10 Front/three-quarter character sheets, isolated wardrobe pieces, key props, set lighting stills Uploading 8 near-identical front headshots or mixing harsh neon and daylight stills for the same scene
Video (@Video1–@Video5) 5 Camera movement anchors, actor blocking, hand gestures, micro-expression timing Feeding multi-cut montages or heavy motion blur that fractures temporal tracking
Audio (@Audio1–@Audio5) 5 Clean dry dialogue voice timbre, room tone, distinct foley or rhythmic sound cues Passing dialogue layered over background music when trying to lock speaker identity

Note that 20 is the combined hard cap across all three media types in a single job. You do not need to fill all 20 slots; a disciplined 4- to 7-asset manifest almost always outperforms an overloaded 20-asset dump because each tag maintains stronger attention weight.

Inline Tag Binding Syntax in Practice

MAGI-2 lets you bind uploaded assets directly in your prompt string using @ImageN, @VideoN, and @AudioN. Think of tags as typed variables: your prompt declares which asset governs identity, which governs wardrobe or environment, which drives camera/body motion, and which anchors voice or sound design.

Three syntax habits keep bindings deterministic:

  1. Bind one responsibility per tag. Never let @Image1 define both the subject and a conflicting background if @Image3 is meant to be the set. Explicitly state "character from @Image1" and "environment from @Image3".
  2. Resolve conflicts in plain text. If @Video1 shows a character in casual clothes, explicitly override the wardrobe with @Image2 so the model extracts motion from the video without copying its pixels.
  3. Separate voice from foley. Keep spoken timbre on @Audio1 and environmental sound effects on @Audio2 so single-stream token alignment does not bleed background noise into vocal cadence.

Prompt 1: Character Outfit Swap, Set Lock, and Voice Anchor (16:9)

Use this manifest when keeping one recurring protagonist consistent across episodes while swapping wardrobe and locking dialogue timbre:

  • @Image1: Neutral three-quarter portrait of your lead character
  • @Image2: Isolated product/wardrobe flat-lay of a dark waxed canvas field jacket
  • @Image3: Rainy Tokyo alley exterior still establishing wet asphalt reflections and warm storefront lighting
  • @Audio1: Clean 5-second dry voice sample of your lead speaker
Medium close-up in 16:9. The protagonist from @Image1 stands under a storefront awning inside the rainy night alley environment from @Image3, wearing the dark waxed canvas field jacket from @Image2. Subtle handheld camera drift, warm tungsten key light reflecting off wet pavement, shallow depth of field. The character turns toward the lens with a composed expression and speaks clearly in the exact vocal timbre of @Audio1: "We only get one clean shot before the uplink closes." Rain patter stays soft in the background while vocal cadence remains crisp and natural.
Enter fullscreen mode Exit fullscreen mode

Prompt 2: Motion Transfer + Prop Consistency + Foley Layering (9:16)

Use this manifest when you need repeatable camera choreography or actor blocking across vertical short-form cuts:

  • @Image1: Character reference sheet (face and hairstyle)
  • @Image2: Matte-black anodized aluminum handheld scanner prop
  • @Video1: Smartphone reference clip showing a smooth push-in while a hand raises an object to eye level
  • @Audio1: Clean speaker voice sample
  • @Audio2: Mechanical click and low electronic hum foley clip
Vertical 9:16 medium shot following the exact camera push-in and arm blocking from @Video1, ignoring the original actor and room in @Video1. Replace the subject with the character from @Image1 wearing minimal studio attire, holding the matte-black scanner from @Image2 up toward eye level. Cool overcast studio lighting with crisp rim separation. As the character raises @Image2 into frame, trigger the crisp mechanical click and hum from @Audio2, followed by the character speaking in the voice of @Audio1: "Signal locked. Switching to local capture."
Enter fullscreen mode Exit fullscreen mode

Studio Setup, Billing Math, and Async Queue Strategy

If you are running jobs in the browser without managing raw API infrastructure yourself, the MAGI-2 browser-based 480B video studio wraps these 20-slot workflows in a direct web queue. As a quick clarifying note, magi-2.online is an independent third-party web studio offering browser access to Sand.ai's MAGI-2 480B model and is not affiliated with Sand.ai.

Understanding the billing and queue mechanics changes how you structure an afternoon of testing:

  • Output-only billing: Pricing is a flat 2 credits/sec across all modes, with no extra charge for reference input duration. You pay strictly for generated output length: a 4-second render costs 8 credits, 10 seconds costs 20 credits, and 30 seconds costs 60 credits. Eligible new sign-ins receive 8 welcome credits, enough for one full 4-second test render.
  • Async queue latency: Full 480B MoE single-stream inference runs asynchronously on cloud GPUs and typically finishes in 13 to 20 minutes. Failed jobs automatically refund credits.
  • Asset retention windows: Uploaded reference inputs stay retained for 7 days, and completed MP4 renders stay in your library for 180 days.

Because a single render takes 13 to 20 minutes, launching an untested 30-second (60-credit) prompt is poor engineering hygiene. Instead, treat 4-second renders (8 credits) as unit tests for your tag bindings:

  1. Batch-test bindings in 4-second drafts. Queue two or three 4-second variations in parallel with slightly different slot weights or wording—for example, testing whether @Video1 needs an explicit "ignore original lighting" clause—so all drafts finish within the same 13–20 minute window.
  2. Validate alignment before scaling duration. Inspect the 1080p 25fps 4-second output for face lock, wardrobe transfer, and voice sync. Because uploaded inputs remain cached for 7 days, you can iterate rapidly across a week-long sprint without re-uploading assets.
  3. Commit to 15–30s renders only on proven prompts. Once the 4-second draft locks your character and audio cleanly, bump the duration parameter to 15–30 seconds using the exact validated tag manifest.

Pre-Submit Failure-Proofing Checklist

Before clicking generate on a multi-slot job, run through five quick checks:

  • Verify index mapping: Confirm your prompt's @ImageN, @VideoN, and @AudioN numbers match the exact slot indices in the uploader and that total references stay at or under 20.
  • Eliminate conflicting motion cues: Do not ask for a "locked tripod shot" in text while attaching a whip-pan @Video1 reference.
  • Audit reference audio SNR: Strip music beds or heavy reverb out of @Audio1 voice anchors; clean speech gives the single-stream token alignment far tighter lip-sync.
  • Match aspect ratio to framing references: Do not pass wide 21:9 environment stills into a 9:16 prompt without describing how the vertical crop should frame the subject.
  • Archive local backups: Export final MP4s locally before the 180-day library window expires, and keep source assets on disk if your project runs past the 7-day input retention limit.

Top comments (0)