MAGI-2 API · Independent API Platform for Sand.ai MAGI-2
MAGI-2 API: 1080p Video & Audio Generation API
MAGI-2 API is an independent API platform providing REST access to Sand.ai's MAGI-2 model. Generate 4 to 30 seconds of 1080p 25fps video with synchronized speech and foley, first/last frames, or up to 20 references at $0.088 per output second.
Output
1080p 25fps
Length
4–30s
References
10+5+5
Flat Rate
$0.088/s
Verified Creator Gallery
MAGI-2 API Real Outputs and Creator Prompts
Real MAGI-2 clips and unmodified creator prompts across genres. Switch clips below to study one-take FPV camera work, spoken dialogue, beat-synced fashion cuts, and 10-shot sequences.
An FPV flight through the age of dinosaurs
Video, Sound, and 1080p Detail in One Pipeline
Sand.ai built MAGI-2 (480B total parameters, ~28B active) so video frames, dialogue lip-sync, foley, and multimodal references work together in a single API call.
Video and Sound Generated Together
Creates speech lip-sync, physical foley, room ambience, and music alongside the video frames so mouth movement and impacts stay aligned without separate dubbing. Set generate_audio to false for silent runs.
4 to 30 Seconds at 1080p in One Call
Every clip renders at 1080p and 25 fps for any integer length from 4 to 30 seconds. Generating a full scene in one pass avoids the lighting jumps and audio cuts that show up when stitching short 5-second clips.
Re-Checks Reference Images at 1080p
Generates the base motion first and then upscales to 1080p while reading your original reference images a second time, keeping faces, fabric grain, and product packaging text sharp past the 20-second mark.
Up to 20 Reference Files in One Request
Pass up to 10 images, 5 videos, and 5 audio clips together. Use images to hold faces, outfits, and sets; reference_videos to guide motion and camera pacing; and reference_audios to shape voice tone or music.
Lock Opening and Closing Frames
Pass one image to start directly from a hero still, or pass two images in order to anchor both opening and closing frames while MAGI-2 generates continuous motion and lighting transitions in between.
Same Per-Second Rate with Full Refunds
Text, keyframes, audio on or off, and all 20 reference inputs bill at one flat $0.088 per output second ($0.352 for 4s, $0.704 for 8s, $2.640 for 30s). Reference inputs cost $0 extra and failed tasks auto-refund.
Four Ways to Call MAGI-2 API
Pick one input mode per request to POST /v1/videos/tasks. Keyframe images and reference_* arrays belong to separate modes and are not combined in the same call.
Text Only
Script PromptWrite your scene, camera movement, timing beats, and Audio line up to 5,000 characters and choose 4 to 30 integer seconds across six aspect ratios.
First Frame Start
images[1]Start the clip directly from a finished product shot, key art, or storyboard still. MAGI-2 automatically matches the first image's aspect ratio.
First and Last Frames
images[2]Provide exact opening and closing stills and let MAGI-2 generate the physical camera motion, scene transition, and sound connecting them.
Image, Video, and Audio References
10 Img · 5 Vid · 5 Aud · $0 Reference FeeCombine up to 10 reference images, 5 reference videos (2-30s each), and 5 reference audios (2-30s each). Explain what each asset does in your prompt. Reference videos guide motion and framing rather than editing an existing clip directly.

For pure text prompts with scene changes, split beats into explicit segments such as Shot 1 (0-5s) and Shot 2 (5-10s).
Resolution
1080p · 25 fps
{
"model": "magi-2",
"prompt": "Slow dolly shot through a rain-lit glasshouse at dusk. Water droplets run down steel frames as warm sodium streetlamps reflect in puddles. Soft rain ambience and distant city hum.",
"duration": 5,
"resolution": "1080p",
"generate_audio": true,
"aspect_ratio": "16:9"
}Vendor & Model Lineage
Built by Sand.ai Across Three Model Generations
Sand.ai (founded in Beijing in January 2024 by Swin Transformer co-author Cao Yue) evolved its video backbone from open chunked autoregressive generation to the 480B MAGI-2 flagship served through MAGI-2 API.
MAGI-1
Sand.ai introduced causal temporal chunk prediction for controllable clip continuation and shot extension.
MAGI-2 Preview
Research preview proving that audio, text, and video tokens scale cleanly inside one sparse MoE backbone.
MAGI-2
Scales total capacity over 4x to deliver 30s 1080p audio-video, 20 omni-references, and #1 AA I2V ranking.
Benchmarks and Five-Vendor Comparison
Switch between Artificial Analysis v2.1 blind tracks, Higgsfield head-to-head win rates, and side-by-side developer pricing across Sand.ai, ByteDance, Kuaishou, Alibaba, and MiniMax.
| Evaluation Track | Rank | Elo Score | Peer Comparison |
|---|---|---|---|
| I2V (with Audio) | #1 Overall | 1163 +/- 14 Elo | Ahead of Seedance 2.5 (1158) and MiniMax H3 768p (1135 +/- 13) |
| I2V-Silent | #1 Overall | 1153 Elo | Ahead of MiniMax H3 Silent I2V (1108) |
| T2V-Silent | #2 Overall | 1144 Elo | Ahead of MiniMax H3 Silent T2V (1126) |
| T2V (with Audio) | #7 Overall | 1150 +/- 13 Elo | Behind Wan 3.0 (1175), Utopai X (1173), and MiniMax H3 (1164 +/- 12) |
| 4-Track Composite Average | +151.8 vs Preview | 1150.3 Elo | Up from MAGI-2 Preview 998.5 composite Elo across the same 4 tracks |
Snapshot on Nov 26, 2026: MAGI-2 leads Image-to-Video (#1 with and without audio), while Wan 3.0 (#1) and MiniMax H3 (#3) lead Audio Text-to-Video.
Artificial Analysis v2.1Simple Output-Only Pricing ($0.088 / Second)
MAGI-2 API bills strictly on generated 1080p output seconds ($0.088/s). Reference images, videos, and audio cost $0 extra.
- Up to 113s of 1080p video
- Approx. 22 five-second clips
- 100% credit refund on failed tasks
- Up to 284s of 1080p video
- Approx. 56 five-second clips
- 100% credit refund on failed tasks
- Up to 568s of 1080p video
- Approx. 113 five-second clips
- 100% credit refund on failed tasks
- Up to 1136s of 1080p video
- Approx. 227 five-second clips
- 100% credit refund on failed tasks
| Clip Duration | Output Format | Synced Audio | Credits (1,000 = $1) | Output Cost (USD) |
|---|---|---|---|---|
| 4s | 1080p · 25 fps | Included | 352 | $0.352 |
| 5s | 1080p · 25 fps | Included | 440 | $0.440 |
| 8s | 1080p · 25 fps | Included | 704 | $0.704 |
| 10s | 1080p · 25 fps | Included | 880 | $0.880 |
| 15s | 1080p · 25 fps | Included | 1,320 | $1.320 |
| 30s | 1080p · 25 fps | Included | 2,640 | $2.640 |
Developer Questions
Clear answers on the Sand.ai MAGI-2 model, MAGI-2 API platform scope, HTTP 422 rules, and per-second billing.
Learn More About MAGI-2
Read our guide covering MAGI-2 capabilities, real use cases, prompt tips, and pricing comparisons.

What Is MAGI-2? Architecture, Open Weights, Benchmarks, and API Guide
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.
Start Building
Create Your MAGI-2 API Key and Render Your First Video
Sign in to MAGI-2 API to manage API keys, check balance records, and validate requests in the Playground.