Back to blog

What Is MAGI-2? Architecture, Open Weights, Benchmarks, and API Guide

Nov 26, 2026MAGI-2 API

Understand Sand.ai MAGI-2 across model lineage, 480B local VRAM limits, AA v2.1 and Higgsfield blind rankings, HTTP 422 API rules, and $0.088/s 1080p cost math.

What Is MAGI-2? Architecture, Open Weights, Benchmarks, and API Guide

MAGI-2 is a 480-billion-parameter (~28B active) audio-video generation model released by Beijing AI lab Sand.ai on November 24, 2026, generating 4 to 30 seconds of 1080p 25fps video with synchronized dialogue and foley in one pass. Pick MAGI-2 when your workflow relies on image-to-video fidelity, first-last frame transitions, or up to 20 multimodal references at a flat $0.088 per output second; pair Wan 3.0, Seedance 2.5, or MiniMax H3 when you need 480p/720p rough drafts, more than 20 reference assets, or rock-bottom generic B-roll pricing.


Who Built MAGI-2 and How the Three Generations Differ

Sand.ai was founded in Beijing in January 2024 by Cao Yue, a former Microsoft Research principal researcher and co-author of the Swin Transformer paper. Together with SII-GAIR, Sand.ai proposed the daVinci-MagiHuman single-stream audio-video architecture and scaled it across three public model releases.

GenerationRelease DateScale (Total / Active)Core Architectural ShiftOpen Weights Status
MAGI-1202524B / 4.5BChunked causal autoregressive diffusion for video extensionOpen source on Hugging Face (Apache 2.0)
MAGI-2 PreviewAug 2026114B / ~6BSingle-stream Transformer introducing Multi-Head Latent MoEOpen weights on Hugging Face (Apache 2.0)
MAGI-2 FlagshipNov 24, 2026480B / ~28B4T tokens with Head Parallel + two-stage 1080p upscalingHosted API live (480B open release planned)

Several third-party launch summaries cite a rounded "400B" parameter figure, which is shorthand rather than a smaller checkpoint. Sand.ai's technical release specifies 480B total parameters and ~28B active parameters, lifting the 4-track Artificial Analysis composite score from 998.5 Elo on MAGI-2 Preview to 1150.3 Elo on the flagship release (+151.8 points).

Ownership across the model labs and the API platform stays distinct. Sand.ai develops MAGI-1, MAGI-2 Preview, and MAGI-2; ByteDance (Dreamina) develops Seedance 2.5 and Seedance 2.0; Alibaba develops Wan 3.0; Kuaishou develops Kling 4.0; and MiniMax develops MiniMax H3. MAGI-2 API (https://magi2api.net) operates as an independent API platform providing hosted REST API access to Sand.ai's MAGI-2 model with pay-per-second billing and no official affiliation with Sand.ai.


Is MAGI-2 480B Open Source, and Can an RTX 4090 or 5090 Run It Locally?

The 480B MAGI-2 flagship weights are not yet downloadable, so production teams run it exclusively through cloud APIs, and no official ComfyUI native node supports the flagship checkpoint. The newest open-weights release under sand-ai on Hugging Face remains the August 2026 MAGI-2 Preview (114B total / ~6B active parameters under Apache 2.0), whose checkpoint weighs roughly 307 GB on disk.

Sand.ai specifies 8 NVIDIA Hopper GPUs (H100 or H800) to serve the 114B Preview weights cleanly. While enthusiasts attempt quantized offloading of the 114B Preview onto single 24-32 GB consumer cards such as the RTX 4090 or RTX 5090, inference runs slowly and trails the 480B flagship by 151.8 AA Elo points, making hosted API execution the practical path without an 8-GPU server cluster.


Why MAGI-2's Architecture and Two-Stage Upscaler Lock Output to 1080p

Standard Expert Parallel dispatches full hidden-state tokens after dynamic top-k routing, causing severe GPU load imbalance when image patches, audio frames, and reference video clips share one sequence. Starting with MAGI-2 Preview, Sand.ai paired Multi-Head Latent MoE with Head Parallel so tokens split into fixed-size head slices across devices (N * H_latent) before each GPU performs top-k routing locally.

Around Head Parallel, Sand.ai built MagiFSDP, MagiMoE, and MagiMuon to decouple static head exchanges and overlap gradient communication across thousands of fine-grained experts per layer. At matched 480B total FLOPs, Multi-Head Latent MoE trains ~22% faster than single-head LatentMoE, and an 8-head ablation reaches equal validation loss with ~23% less training compute. Beyond NVIDIA Hopper clusters, Sand.ai also enabled inference compatibility on domestic Chinese accelerators including Hygon and Moore Threads GPUs.

Data selection and Stage 2 upscaling explain why MAGI-2 exposes 1080p at 25 fps only. Sand.ai trained across 4 trillion tokens (~1 billion raw video segments) in three weeks without stripping fast cuts, crowded interaction, on-screen text, or noisy audio so the 480B base model learns anatomy and lip motion from uncurated video. During inference, Stage 1 denoises joint audio-video latents and Stage 2 runs a spatial-temporal 1080p 25fps upscaler that re-injects original reference images to preserve small faces and product typography past 20 seconds, leaving no separate 480p or 720p draft branch.


How MAGI-2 Scores on Artificial Analysis v2.1 and Higgsfield Video Arena

Late-November 2026 blind evaluations show MAGI-2 leading image-guided and multi-reference tasks while trailing Alibaba Wan 3.0 and MiniMax H3 on short audio text-to-video prompts.

Artificial Analysis Video Arena v2.1 (November 26, 2026)

TrackMAGI-2 RankScore (Elo)Peer Context
Image-to-Video (with Audio)#1 Overall1163 +/- 14Ahead of ByteDance Seedance 2.5 (1158) and MiniMax H3 768p (1135 +/- 13)
Image-to-Video (Silent)#1 Overall115345 points ahead of MiniMax H3 Silent I2V (1108)
Text-to-Video (Silent)#2 Overall114418 points ahead of MiniMax H3 Silent T2V (1126)
Text-to-Video (with Audio)#7 Overall1150 +/- 13Behind Alibaba Wan 3.0 (1175), Utopai X (1173), and MiniMax H3 (1164 +/- 12)
4-Track Composite Average+151.8 vs Preview1150.3Up from MAGI-2 Preview's 998.5 Elo across the same four tracks

Higgsfield Video Arena Head-to-Head (November 24, 2026, 16:00 UTC)

Directors, animators, and designers voted blind across six 1080p models under a Bradley-Terry rating system.

RankModelVendorHiggsfield ScoreOverall Win RateHead-to-Head vs MAGI-2
1Seedance 2.5ByteDance121963.9%MAGI-2 wins 39% (Seedance 2.5 wins 61%)
2MAGI-2Sand.ai114660.5%Baseline (#2 overall; beats #3-#6 at 71%-83%)
3Seedance 2.0ByteDance1006-100849.0%MAGI-2 wins 71%
4Wan 3.0Alibaba920-92341.4%MAGI-2 wins 79%
5Kling 4.0Kuaishou872-87841.5%MAGI-2 wins 83%
6MiniMax H3MiniMax832-83334.8%MAGI-2 wins 83%

Reading both boards together highlights how prompt mix swings rankings. Higgsfield partnered early on MAGI-2 distribution and includes a higher share of long multi-reference tasks, where Wan 3.0 (#1 on AA T2V Audio) and MiniMax H3 (#3 on AA T2V Audio) dropped to #4 and #6. Benchmark finalists against your own prompt mix before locking a default provider.

Sand.ai also documents four open limitations to plan around in production. Extreme high-speed action can still warp trajectories, medium and wide 2D animation can look overly smooth, multi-source sound mixes lack full spatial depth, and aesthetic RL alignment introduced an alignment tax that reduces unprompted emergent behaviors (such as 9x9 Sudoku reasoning and unguided multi-cut directing) when Prompt Enhancement is turned off. Writing explicit timestamped beats (Shot 1 (0-5s), Shot 2 (5-10s)) or adapting proven scripts from Prompts restores steady multi-shot pacing.


Which Four Input Modes Does MAGI-2 API Support, and What Triggers HTTP 422?

POST /v1/videos/tasks (model: "magi-2") enforces four mutually exclusive request modes and rejects invalid combinations with HTTP 422 before queueing compute.

Input ModeRequest FieldsReference Capaspect_ratio RuleBest Suited For
Text-to-Video (T2V)prompt onlyNoneOptional enum (16:9 default)Dialogue skits, scripted multi-cut clips
First-Frame I2Vimages (1 URL)1 start frameMust omitProduct hero stills, poster animation
First-Last Frame Transitionimages (2 URLs)Start + end frameMust omitControlled camera sweeps between two stills
Multimodal Referencesreference_images / reference_videos / reference_audios10 img + 5 vid + 5 audOptional enum (16:9 default)Locking identity, wardrobe, motion, and voice

Three validation mistakes cause most HTTP 422 errors. Combining images with any reference_* array fails immediately because the routing paths conflict. Passing aspect_ratio alongside images also returns 422, as frame-guided tasks inherit aspect ratio directly from the input frames (first and last frames should match in crop ratio). Requesting 480p or 720p fails for the same strict schema reason. Inside multimodal prompts, bind uploaded assets explicitly using @image1, @video1, and @audio1, keep every reference video or audio clip between 2 and 30 seconds (30 seconds total max per modality), and place spoken dialogue inside quotation marks for tighter lip-sync. Test payload syntax directly in Playground or inspect field constraints in API Docs.


How MAGI-2 API Pricing Compares Against Four Peer 1080p Models

MAGI-2 API charges a flat $0.088 per generated second of 1080p 25fps video ($0.352 for 4s, $0.704 for 8s, $2.640 max for 30s), bills $0 for up to 20 reference files and native audio, and automatically refunds 100% of credits on failed tasks.

Model (Vendor)ResolutionsDurationReference CapRef Video Billing8s 1080p Cost
MAGI-2 (Sand.ai)1080p (25 fps)4-30 s10 img + 5 vid + 5 aud$0 (output seconds only)$0.704
Seedance 2.5 (ByteDance)480p / 720p / 1080p4-30 s30 img + 10 vid + 10 audBilled per input video second$3.8692 / $4.6109
Kling 4.0 (Kuaishou)720p / 1080p3-30 s10 frames + 5 vid + 3 audHigher video-input tier$1.84 / $2.24
Wan 3.0 (Alibaba)480p / 720p / 1080p2-30 s10 img + 5 vid + 5 audOutput seconds only$1.088
MiniMax H3 (MiniMax)480p / 768p / 1080p / 2K4-30 s9 img + 3 vid + 3 audOutput seconds only$0.376

On multi-reference 1080p clips using reference video, MAGI-2 API ($0.704 / 8s) runs roughly one-sixth the cost of Seedance 2.5 ($4.6109), under 40% of Kling 4.0 ($1.84 / $2.24), and below Wan 3.0 ($1.088). Estimate monthly volume and credit requirements interactively on Pricing.


When to Choose MAGI-2 and When to Pair Another Model

Three production constraints indicate when to draft or route elsewhere instead of forcing every shot through MAGI-2.

  • Choose 4-8 second seed-locked checks ($0.352-$0.704) or pair Wan 3.0 (720p $0.568) and MiniMax H3 (480p $0.16 / 768p $0.24) for low-cost rough storyboarding before committing $2.64 to a 30-second 1080p render on MAGI-2.
  • Choose Seedance 2.5 when a sequence requires more than 20 multimodal reference items (up to 50 total) or direct video editing and shot extension, because MAGI-2 uses reference_videos strictly for motion and camera guidance.
  • Choose MiniMax H3 ($0.376 per 8s 1080p clip) for high-volume generic B-roll where character locking and multi-asset references add no value.

Four Steps to Integrate MAGI-2 API in Code or Coding Agents

Follow four sequential steps to integrate MAGI-2 API with idempotent billing and durable MP4 archival.

  1. Fund your account on Credits and generate an API key so worker requests authenticate against an active credit balance.
  2. Upload local images or audio (<= 50 MB) and videos (<= 100 MB) to POST /v1/files to obtain temporary HTTPS URLs when assets are not already hosted publicly.
  3. Submit jobs to POST /v1/videos/tasks with an Idempotency-Key header (up to 255 characters, valid for 24 hours) so network retries never charge twice.
  4. Poll GET /v1/tasks/:task_id per poll_after_seconds (8 seconds default) and copy watermark-free 1080p MP4 files to your own object storage before the 72-hour retention window closes.

Teams wiring MAGI-2 API through Claude Code, Cursor, or Windsurf can skip manual endpoint setup by visiting Agent Integration or passing set up https://magi2api.net/agent.md directly to their coding agent.


Sources and Verification Date

All model dimensions, vendor attributions, and arena scores reflect primary documentation checked on November 27, 2026. Sand.ai launch notes (2026-11-24) verify the 480B / 28B MoE scale, 4T-token corpus, Multi-Head Latent MoE speedups, 8x Hopper preview cluster spec, and four open limitations. Artificial Analysis Video Arena v2.1 (2026-11-26) records the four track Elo rankings and 1150.3 composite score, while Higgsfield Video Arena (2026-11-24 16:00 UTC) records the six-model Bradley-Terry ratings and pairwise win rates.

Review exact parameter schemas in API Docs, or run a 4-second test generation with your own reference assets in Playground.