# MAGI-2 API > Complete API specification, Sand.ai MAGI-2 model profile, benchmarks, and pricing reference for MAGI-2 API (https://magi2api.net). ## Pages - [Home](https://magi2api.net/): MAGI-2 API platform overview, metrics, input modes, model comparison, and interactive payload builder - [API Docs](https://magi2api.net/api): MAGI-2 API REST endpoints, authentication, mutual-exclusion rules, error codes, and SDK examples - [Pricing & Calculator](https://magi2api.net/pricing): MAGI-2 API $0.088/second billing, prepaid packs, cost calculator, and 5-vendor 1080p comparison - [Playground](https://magi2api.net/playground): Live MAGI-2 JSON/cURL/Python/TypeScript builder and schema validator - [Prompt Library](https://magi2api.net/prompts): 100 MAGI-2 video prompts with playable 1080p outputs and copyable API payloads - [Agent Integration](https://magi2api.net/agent): Automated coding agent onboarding manifest (/agent.md) and OpenAPI 3.1 schema (/openapi.json) - [Blog](https://magi2api.net/blog): Technical deep-dive on Sand.ai MAGI-2 architecture, benchmarks, and API integration - [About](https://magi2api.net/about): MAGI-2 API entity profile, Sand.ai model attribution, and developer support ## Entity & Platform Profile - Brand / Platform: MAGI-2 API (https://magi2api.net) - Platform Role: Independent API platform providing hosted REST API access to Sand.ai's MAGI-2 audio-video model (not officially affiliated with Sand.ai) - Support Email: support@magi2api.net - Model Served: MAGI-2 (developed and released November 24, 2026 by Beijing AI lab Sand.ai, founded January 2024 by Cao Yue) - Model Architecture: 480B total / ~28B active Multi-Head Latent MoE (5.8% sparsity), Head Parallel, trained on 4T tokens (~1B samples) - Output Pipeline: Stage 1 joint audio-video latent denoising + Stage 2 reference-reinjecting 1080p 25fps spatial-temporal upscaler - Output Resolution: Fixed 1080p at 25 fps (480p and 720p return HTTP 422) - Output Duration: Integer seconds from 4 to 30 (default 5) - Aspect Ratios: 16:9 (default), 9:16, 1:1, 4:3, 3:4, 21:9 - Audio: Joint native audio-video synthesis (generate_audio=true by default; bilingual dialogue lip-sync, foley, ambient, music) - Pricing on MAGI-2 API: $0.088/second (4s=$0.352, 5s=$0.440, 8s=$0.704, 10s=$0.880, 15s=$1.320, 30s=$2.640). Reference media adds $0 extra fee. Failed tasks refund 100% automatically. ## MAGI-2 API REST Contract - API Base URL: https://magi2api.net/api - API Docs: https://magi2api.net/api - OpenAPI 3.1 Schema: https://magi2api.net/openapi.json - Agent Manifest: https://magi2api.net/agent.md - Authentication: Authorization: Bearer - Create Task: POST https://magi2api.net/api/v1/videos/tasks with {"model":"magi-2", "prompt":"...", ...} -> HTTP 201 (data.id, poll_after_seconds=8) - Poll Status: GET https://magi2api.net/api/v1/tasks/{task_id} -> download watermark-free MP4 from data.output.url within 72 hours - Upload Files: POST https://magi2api.net/api/v1/files (images/audio <= 50 MB, video <= 100 MB) - Usage Metrics: GET https://magi2api.net/api/v1/usage?period=24h|7d|30d|all - Webhooks: POST https://magi2api.net/api/v1/webhooks - Idempotency: Pass Idempotency-Key header (<= 255 chars, 24-hour dedupe window) on POST /v1/videos/tasks - Mutual Exclusion & HTTP 422 Rules: 1. Never supply both images[] and any reference_* field. 2. Omit aspect_ratio whenever images[] (1 or 2 URLs) is present. 3. Never request resolution "480p" or "720p" (only "1080p" is accepted). 4. reference_images <= 10, reference_videos <= 5 (2-30s each, 30s total), reference_audios <= 5 (2-30s each, 30s total). 5. Reference uploaded assets inline inside prompt as @image1..@image10, @video1..@video5, @audio1..@audio5. ## Blind Benchmarks & Model Comparison (Verified Nov 27, 2026) - Artificial Analysis Video Arena v2.1 (Nov 26, 2026): MAGI-2 ranks #1 I2V with Audio (1163 +/- 14 Elo), #1 I2V-Silent (1153 Elo), #2 T2V-Silent (1144 Elo), #7 T2V with Audio (1150 +/- 13 Elo), 4-track composite average 1150.3 Elo (+151.8 over MAGI-2 Preview's 998.5 Elo). - Higgsfield Video Arena (Nov 24, 2026 16:00 UTC): MAGI-2 ranks #2 overall (1146 Bradley-Terry score, 60.5% overall win rate; 71%-83% head-to-head win rate vs Seedance 2.0, Wan 3.0, Kling 4.0, MiniMax H3). - 8-second 1080p API Cost Comparison: MAGI-2 API ($0.704, $0 ref video) vs Seedance 2.5 ($3.8692 / $4.6109 with ref video) vs Kling 4.0 ($1.84 / $2.24) vs Wan 3.0 ($1.088) vs MiniMax H3 ($0.376). ## Blog Posts ### What Is MAGI-2? Architecture, Open Weights, Benchmarks, and API Guide URL: https://magi2api.net/blog/what-is-magi-2 Description: 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.