Skip to main content
MAGIAI
Verified 2026-12-02|MAGI-2 Flagship 480B|sand-ai/magi-2/reference-to-video

Visual 30s Timeline Composer for MAGI-2 Shot Briefs

MagiAI Studio’s Timeline Composer replaces fragile walls of raw prompt text with structured 4–30 second beat cards built specifically for MAGI-2. Every shot card tracks start/end timecodes, camera verbs, inline `@image_n`/`@video_n`/`@audio_n` chips, live 2.5 words/s lip-sync drift meters, global "No music" enforcement, and 1-click 4-second audition cost guards.

Timeline Span
4–30s visual track
Lip-Sync Telemetry
Live w/s + 6s cap
Cost Preview
4s audition vs full
Prompt Export
1-click Atlas JSON
Female jazz vocalist mid-phrase beside a vintage brass ribbon microphone in a candlelit tungsten-lit club
Timed multi-beat vocal scene authored in MagiAI Studio’s Timeline Composer to keep each sung phrase under 6 seconds with clean instrumental cutaways.

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.

SpecificationVerified ValueEngineering Note
Beat Card StructureTimecode · Camera · Visual · Dialogue · FoleyCompiles deterministically into MAGI-2’s 15,000-character director prompt syntax.
Live Dialogue Pacing GuardEmerald <=2.5 w/s · Amber 2.6–3.1 · Crimson >3.2 or >7sFlags lip-sync drift risks before you spend credits rendering.
Reference Slot Validation10i · 5v (<=30s) · 5a (<=30s) live gaugesBlocks invalid combined durations or missing slot references client-side.
Global "No Music" ToggleSingle workspace switchInjects 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 Handoff1-click URL prefill from /recipes & /toolsLoad any production recipe or Timeline Prompt Builder draft straight into `/studio`.

Live API parameter schema (sand-ai/magi-2/reference-to-video)

FieldTypeRequiredConstraints & Behavior
modelstringRequired
Literal "sand-ai/magi-2/reference-to-video"
Canonical Atlas Cloud model identifier for flagship MAGI-2 Omni-Reference.
promptstringRequired
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.
durationintegerOptional (5)
Integer 4–30 (1-second steps)
Requested clip duration in seconds. Flat $0.08/s regardless of reference count.
aspect_ratioenumOptional (16:9)
"16:9" | "9:16" | "21:9" | "4:3" | "3:4" | "1:1"
Target 1080p-class framing ratio.
imagesstring[]Optional
Max 10 items (public HTTPS URLs or Base64)
Identity portraits, product angles, wardrobe sheets, or set plates.
videosstring[]Optional
Max 5 public HTTPS URLs; 2–30s each; combined duration <= 30s
Camera movement, actor blocking, or performance pacing references.
audiosstring[]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.

  1. 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`.

  2. 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.

  3. 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.

  4. 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.

Compiled 4-Beat Jazz Vocal Session (18s Timeline Output)
16:918s master180 cr full40 cr (4s audition)music allowed
Load in Studio
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."
Pacing note: Compiled directly from 4 visual beat cards: Beat 2 (13 words / 6s = 2.17 w/s) and Beat 4 (8 words / 5s = 1.60 w/s) separated by a 3-second bassist sync-reset cut.
Atlas Cloud REST Request PayloadFull API Reference
{
  "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 SymptomRoot CauseVerified 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.

Explore other MAGI-2 Studio modules

All features
Visual 30s Timeline Composer for MAGI-2 Shot Briefs