
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 |
|---|---|---|
| Beat Card Structure | Timecode · Camera · Visual · Dialogue · Foley | Compiles deterministically into MAGI-2’s 15,000-character director prompt syntax. |
| Live Dialogue Pacing Guard | Emerald <=2.5 w/s · Amber 2.6–3.1 · Crimson >3.2 or >7s | Flags lip-sync drift risks before you spend credits rendering. |
| Reference Slot Validation | 10i · 5v (<=30s) · 5a (<=30s) live gauges | Blocks invalid combined durations or missing slot references client-side. |
| Global "No Music" Toggle | Single workspace switch | Injects explicit "no music" audio directives across every compiled beat. |
| Two-Button Render Guard | [Run 4s Audition (40 cr)] + [Render Full Take] | Automatically slices Beat 1 (00:00–00:04) for low-cost casting/lighting verification. |
| Recipe & Tool Handoff | 1-click URL prefill from /recipes & /tools | Load any production recipe or Timeline Prompt Builder draft straight into `/studio`. |
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. |
Why raw single-line prompt boxes break down past 10 seconds
Typing a 1,600-character multi-shot MAGI-2 script inside a 3-line generic chat box invites avoidable, expensive mistakes: overlapping timestamps (`[00:04-00:09]` followed accidentally by `[00:08-00:13]`), forgotten `"no music"` tags on Beat 3, unreferenced `@image_4` uploads burning queue latency, or an 8-second dialogue monologue that drifts out of lip-sync right before the final CTA.
The Timeline Composer mirrors how directors and editors actually think inside DaVinci Resolve or Premiere Pro. Each shot occupies a proportional horizontal track segment on a 30-second ruler. Clicking any beat opens its dedicated Inspector showing camera verb presets, exact word count, words-per-second telemetry, and active Omni-Reference chips—while compiling a clean, audit-ready prompt and exact Atlas Cloud JSON payload underneath.
Built-in 4-second audition slicing & cost transparency
Because MAGI-2 renders every job at full 1080p-class fidelity without a 480p preview tier, smart budgeting happens at the timeline level. Inside the Composer, you never have to manually delete Shots 2 through 5 just to run a quick look-dev check. Clicking "Run 4s Audition" slices the opening 4-second beat automatically (40 credits), preserves your active Omni-Reference vault, and queues an exact test render.
Once the 4-second preview confirms actor likeness, lighting warmth, and dry vocal fidelity, clicking "Render Full Take" submits the complete 15–30 second compiled brief with zero re-typing. Every job displays its exact credit cost and dollar equivalent before submission, and any upstream failure or PG-13 policy filter credits your wallet back automatically.
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 011-click prefill
Start blank or load a production recipe
Choose from 8 verified multi-shot recipes in `/recipes` or open a blank 4–30s beat timeline in `/studio`.
- STAGE 02Pre-flight OK
Inspect live lip-sync & reference meters
Verify every spoken beat reads Emerald (<=2.5 words/s, <=6s continuous) and combined video/audio refs stay <=30s.
- STAGE 0340 cr guard
Slice a 4s audition with one click
Audition `[00:00-00:04]` for 40 credits to lock face, garment, framing, and acoustics before rendering the full sequence.
- STAGE 04Studio + API
Render full master or copy Atlas JSON
Launch directly inside MagiAI Studio’s async queue or export the compiled JSON payload straight into your Studio API pipeline.
Production prompt syntax & live Atlas JSON
Inspect a verified MAGI-2 director brief for Compiled 4-Beat Jazz Vocal Session (18s Timeline Output) and launch it directly into MagiAI Studio with pre-configured duration, aspect ratio, and audio switches.
16:9 live basement jazz film shot on vintage 35mm cinema glass, warm 3200K tungsten key light, subtle practical haze. Vocalist (@image_1), brick stage (@image_2), trio (@image_3), handheld sway (@video_1), vocal tone (@audio_1), upright bass groove (@audio_2). [00:00-00:04] Slow 50mm glide past brushed snare toward chrome ribbon mic as @image_1 steps into frame; walking bass intro (@audio_2). [00:04-00:10] Shallow 85mm close-up (@video_1), mic below chin, @image_1 sings in @audio_1 timbre: "Midnight smoke drifts across the empty brass, waiting for one last slow refrain." [00:10-00:13] Cut to 50mm orbit on upright bassist plucking hands (@image_3); woody bass & brush shimmer. [00:13-00:18] Slow 85mm pull-back on @image_1 resolving calmly (@audio_1): "Hold the chord until the streetlamps fade outside."
{
"endpoint": "https://api.atlascloud.ai/api/v1/model/generateVideo",
"method": "POST",
"body": {
"model": "sand-ai/magi-2/reference-to-video",
"prompt": "[00:00-00:04] Slow 50mm glide toward ribbon mic (@image_2). [00:04-00:10] 85mm close-up (@video_1), vocalist (@image_1) sings (@audio_1): \"Midnight smoke drifts across the empty brass, waiting for one last slow refrain.\" [00:10-00:13] Bassist hands cutaway (@image_3). [00:13-00:18] Vocal resolve (@audio_1): \"Hold the chord until the streetlamps fade outside.\"",
"duration": 18,
"aspect_ratio": "16:9",
"images": [
"https://assets.magiai.ai/examples/jazz-vocalist.webp",
"https://assets.magiai.ai/examples/brick-stage.webp",
"https://assets.magiai.ai/examples/jazz-trio.webp"
],
"videos": [
"https://assets.magiai.ai/examples/handheld-sway-5s.mp4"
],
"audios": [
"https://assets.magiai.ai/examples/vocal-timbre-6s.wav",
"https://assets.magiai.ai/examples/upright-bass-12s.wav"
]
}
}Common pitfalls & verified fixes
| Observed Symptom | Root Cause | Verified Fix |
|---|---|---|
| Compiled prompt drops subtle mood details between shots. | Writing global lighting inside Beat 1 only instead of in the Global Look header. | Put lens family, color temperature, and grain once inside the Global Style header so every beat inherits consistent look. |
| Forgetting to align beat end times with the requested duration slider. | Requesting a 12-second render while beat timestamps stretch to `00:18` cuts off the final shot. | Use the Timeline Composer’s automatic duration sync so total beat span always matches the exact billed integer seconds. |
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.
Timeline timestamps guide pacing rather than frame-exact NLE cuts
MAGI-2 treats `[00:04-00:09]` as strong temporal conditioning—actual cut frames may land ±0.3–0.6s around the mark.
Mitigation: Leave 0.5 seconds of visual breathing room at the start and end of dialogue turns rather than packing words tightly against cut edges.
Composer is not a post-production NLE replacement
Color grading, 25fps -> 24fps conform, caption burn-in, and final multitrack mastering still belong in DaVinci Resolve or Premiere.
Mitigation: Use Timeline Composer to lock multi-shot direction and dry native audio, then assemble finished episodes in your NLE.