Back
Prompt Guides

MAGI 2 Prompt Guide: Official Rules for Dialogue, Audio and Shots

Updated Dec 1, 20265 min read

Summary

A reliable MAGI 2 prompt describes only observable positive states, locks subject identities upfront, splits action into cut-safe shot beats, and pairs quoted dialogue with physical sound triggers. Every rule below comes directly from Sand.ai's Apache-2.0 compiler templates in MAGI-2-preview and applies to 4–30 second 1080p generations.

TL;DR

  • Affirmative wording only: Sand.ai's official t2v.md rules strip grammatical negation and defect terms—describe the positive visual state you want instead.
  • Cut-safe shot pacing: Assign one principal action per segment and leave 0.4–0.8 seconds of settled hold before each cut, plus ~1 second at the end.
  • Dialogue and foley: Wrap spoken lines verbatim in quotation marks with a speaker tag, and cap special sound effects at four physically grounded cues.
  • Image-to-video baseline: Treat the starting frame as an unalterable baseline and focus your prose on camera trajectory, joint physics, and ambient motion.
  • Readable on-screen text: Keep signage short, name its physical surface, and hold it front-facing and nearly static for at least one full second.
On this page
  1. How Sand.ai's official MAGI 2 prompt grammar works
  2. Text-to-video MAGI 2 prompt template
  3. Writing dialogue, lip-sync and foley cues
  4. Image-to-video rules from i2v.md
  5. Five copy-ready prompt examples
  6. Studio settings to pair with your script
  7. Frequently asked questions
Warm golden backstage lighting on an opera performer preparing in front of a mirror

Most AI video guides guess at magic adjectives. For a MAGI 2 prompt (Sand.ai's model is officially written MAGI-2), Sand.ai actually published its exact prompt-enhancement compiler rules (t2v.md and i2v.md) under the Apache-2.0 license in SandAI-org/MAGI-2-preview. Those templates document the caption structure the model family was trained on.

While the open-source preview is a 114B checkpoint fixed at 10 seconds, the flagship 480B MAGI 2 release (November 24, 2026) scales the same single-stream audio-video backbone to 4–30 seconds at 1080p and 25 fps. Writing directly in Sand.ai's grammar gives MAGI 2 steadier physics, tighter lip-sync, and cleaner shot cuts from the first render.

How Sand.ai's official MAGI 2 prompt grammar works

Sand.ai's t2v.md compiler splits every scene into two coordinated layers: a global layer (persistent setting, light, camera, and subject identities) and a dynamic layer (timestamped segments with one action, state change, and sound cue per beat). Structuring your description in that order keeps faces, wardrobe, and props from drifting mid-clip.

Four rules from t2v.md drive most of the visual gain:

  1. Positive-State Output Contract (zero negation). Sand.ai removes grammatical negation and defect terms before generation. Never write "no shaky camera" or "do not morph". State the positive target instead: "static tripod camera", "moderate depth of field", "natural real-time motion", and "fixed dimensions and markings".
  2. One principal event per segment. Give each beat one main physical event (or one tightly linked setup and payoff) instead of crowding three turns into four seconds.
  3. Cut-safe boundaries and resolved holds. Keep each impact, turn, or handoff inside one segment. t2v.md specifies 0.4–0.8 seconds of stable hold after key actions and 0.7–1.0 seconds on the final frame so edits land cleanly.
  4. Natural realism defaults. Skip hype tags like "8K hyper-detailed". t2v.md favors broad diffuse motivated light, open shadow detail, protected highlights, neutral white balance, and restrained true-to-life saturation.

Text-to-video MAGI 2 prompt template

Use this compact MAGI 2 prompt template adapted from t2v.md. Click Try in MAGI 2 to send it straight into Magi2AI Studio:

Prompt template
[Shot style and setting]. [Lighting: one motivated source, open shadows, true-to-life color]. [Camera: lens, depth of field, support]. Subject: [exact age, clothing, materials, starting position].
0-4s: [Inherited start state + single principal action + visible result + synchronized foley].
4-8s: [Camera move or clean cut + second action or quoted dialogue: "Exact line" + settled pose].
8-10s: [Resolved final state held steady for ~1 second + ambient tail].

Keep entity wording canonical across your MAGI 2 prompt: if segment one introduces "a courier in a faded olive canvas jacket", reuse that exact noun phrase rather than switching to "the rider".

Writing dialogue, lip-sync and foley cues

Because MAGI 2 processes text, video, and audio in a single stream, place sound cues right inside the beat that triggers them. Sand.ai's Audio Rules in t2v.md set four guardrails for any MAGI 2 prompt with dialogue or sound design:

  • Quote speech verbatim. Wrap spoken lines in quotation marks, name the speaker and visible emotion, and omit speech cues altogether when you want a silent or ambient scene.
  • State baseline ambience only when central. Include continuous sound (steady rain, café hum, acoustic guitar) only when the atmosphere depends on it.
  • Tie foley to visible contact. Name concise physical sounds—a brass latch clicking, gravel underfoot, ceramic on wood—aligned to the visible action.
  • Cap special audio events at four. t2v.md keeps most clips to four distinct sound events so the mix stays clean.

Image-to-video rules from i2v.md

When you attach a starting frame (or first and last frames), switch to Sand.ai's i2v.md guidance. Its core law for any image-to-video MAGI 2 prompt is blunt: "The image is the absolute baseline. The prompt cannot alter the past; it can only dictate the future of the frame."

ElementText-to-Video MAGI 2 PromptImage-to-Video MAGI 2 Prompt
Appearance & lightDefine setting, wardrobe, and light upfrontLock input image lighting and wardrobe; never contradict it
Camera startChoose any framing and lensStart from the input framing and move smoothly outward
Motion wordingDescribe start state, event, and resolved endFocus on joint mechanics, weight shifts, and momentum
On-screen textQuote exact words, hold ≥1.0s front-facingExplicitly lock existing logo or sign shape during motion

Five copy-ready prompt examples

Click Try in MAGI 2 on any MAGI 2 prompt below to pre-fill Magi2AI Studio at 1080p (6 credits/second).

1. Bookshop dialogue (10s, 16:9)

Prompt template
Natural documentary medium close-up in a dim bookshop at dusk. Warm desk lamp key light, open shadows, 50mm lens, static tripod camera. Subject: an elderly bookseller in wire-rim glasses and a charcoal wool cardigan behind an oak counter.
0-4s: He turns one paper page, looks up with a gentle smile, and sets down his pen; crisp paper rustle and soft wood tap.
4-9s: He speaks calmly with clear lip-sync: "That first edition has been waiting twenty years for the right reader."
9-10s: He closes the ledger smoothly and holds a relaxed smile for the final second.

2. Product tabletop spot (10s, 16:9)

Prompt template
Commercial tabletop shot of matte black wireless headphones on brushed dark slate. Soft overhead key light, controlled rim highlight, moderate depth of field.
0-4s: Slow motion-control orbit around the earcup; subtle low ambient hum.
4-7s: Clean cut to a macro slide across the stitched leather band as the power LED glows warm amber; crisp electronic chime.
7-10s: Clean cut to a front-facing medium shot centered on the slate, holding rigid, distortion-free geometry through the final second.

3. Rainy street motion (8s, Image-to-Video)

Prompt template
Maintain the exact subject, coat texture, overcast street lighting, and framing of the starting image. Slow stabilized push-in as the subject shifts weight onto the front foot, turns smoothly toward the rain-streaked shop window, and brushes a raindrop from her collar. Light rainfall and distant traffic ambience; hold her settled gaze for the final second.

4. Readable storefront signage (6s, 16:9)

Prompt template
Daylight street-level shot of a bakery entrance in soft overcast light, 35mm lens, steady left-to-right tracking. A flat cream wooden sign above the glass door displays exact dark-green serif capitals: "SOLSTICE BAKERY".
0-3s: Camera glides parallel to the front-facing sign so "SOLSTICE BAKERY" stays sharp while a baker opens the door; gentle brass bell chime.
3-6s: Stationary hold framing the doorway and the readable "SOLSTICE BAKERY" sign for over one full second.

5. Reference character and location (12s, Reference mode)

Prompt template
Use Image 1 as the locked protagonist (exact face, glasses, camel trench coat) and Image 2 as the sunlit conservatory interior. Natural diffused daylight, true-to-life greens, moderate depth of field.
0-5s: Medium tracking shot as the protagonist from Image 1 walks along the stone aisle in Image 2 and touches a fern frond; crisp footsteps on stone.
5-9s: Clean cut to an over-the-shoulder shot as she opens a brass compass; clear metallic click.
9-12s: Clean cut to a front medium shot looking up at the glass dome, holding a settled pose through the final second.

Studio settings to pair with your script

On Magi2AI, every render outputs 1080p with native audio on by default (6 credits/second across text, frames, and reference modes). Pick your aspect ratio (21:9, 16:9, 4:3, 1:1, 3:4, 9:16) and length (4–30s) in studio controls rather than repeating them in prose. Test pacing on a 5s or 8s clip (30–48 credits) before scaling to 30 seconds, or run your MAGI 2 prompt workflow directly from Claude and Cursor via our MAGI 2 MCP Server.

Share this guideFound it useful? Pass it along.

Frequently asked questions

What is the best structure for a MAGI 2 prompt?
Start with persistent global facts (setting, lighting, camera style, subject appearance), then write chronological shot beats with one principal action each, quoted dialogue when needed, and synchronized physical sound effects. This mirrors the global_layer and dynamic_layer schema in Sand.ai's Apache-2.0 t2v.md template.
Why should I avoid negative wording like 'no shaky camera'?
Sand.ai's Positive-State Output Contract strips grammatical negation and defect vocabulary during prompt compilation. Instead of 'no shaky camera' or 'no extra fingers', write 'static tripod camera' and 'one continuous grip followed by a clear release'.
How do I write dialogue and sound effects for lip-sync?
Put spoken lines verbatim in quotation marks, name the speaker and visible emotion, and add at most four concrete foley cues tied to visible physical contact, such as a ceramic mug hitting oak.
How does image-to-video prompting differ from text-to-video?
Text-to-video defines both the visual baseline and the motion. In image-to-video (per Sand.ai's i2v.md rules), the input frame already locks identity, composition, and lighting, so you describe only how the camera and subjects move forward.
How long can a MAGI 2 prompt be on Magi2AI?
Magi2AI accepts up to 8,000 characters per MAGI 2 request, and clips run from 4 to 30 seconds at 1080p with native audio on by default. Most effective prompts stay between 70 and 160 words.
Where do these MAGI 2 prompting rules come from?
Every rule here is adapted from Sand.ai's official Apache-2.0 repository SandAI-org/MAGI-2-preview (inference/prompt_enhancement/prompts/t2v.md and i2v.md), verified on December 1, 2026.

Discover more

View all