Online 480B MAGI-2 Studio · Free Local 114B Deployment

How to Use MAGI-2 Free & Online

Run the hosted 480B MAGI-2 flagship instantly in your browser with zero GPU setup, or self-host Sand.ai’s open-source MAGI-2-preview (114B) locally for free using the step-by-step guide below.

Choose Your Setup

Online 480B MAGI-2 Studio vs. Free Local 114B Deployment

480B Flagship · Instant Browser Access

Generate MAGI-2 Online Without Multi-GPU Hardware

  • Skip 307 GB weight downloads, Docker builds, and $15+/hr H100 server rentals.
  • Access the full 480B MAGI-2 flagship (native 1080p up to 30s, synchronized audio & dialogue, and multi-reference conditioning) at 20 cr/s (100 cr for 5s).
  • Start with a non-expiring Trial Pack (from $9.90) or subscription—plus 20 starter credits on sign-in and automatic refunds on failed renders.
Free Open Weights · Apache-2.0

Self-Host MAGI-2-preview (114B) Locally

  • Download sand-ai/MAGI-2-preview (~307 GB) directly from Hugging Face under the Apache-2.0 license with zero model fees.
  • Run distributed multi-GPU inference on 4–8× NVIDIA Hopper / L20X using Sand.ai’s official Docker image or vLLM-Omni SP4.
  • Full control over local weights, custom pipelines, and private offline rendering for engineering teams.

Open-Source Self-Hosting Guide

How to Deploy MAGI-2-preview (114B) Locally for Free

Sand.ai open-sourced the 114B sand-ai/MAGI-2-preview weights under Apache-2.0. If your team has multi-GPU NVIDIA hardware, follow the four steps below to run audio-video generation locally with zero API fees.

Hardware & Environment Requirements

Open-Weight Model

sand-ai/MAGI-2-preview (114B MoE, ~6B active)

Apache-2.0 license on Hugging Face (~307 GB total download including encoders, VAEs & refiner). The 480B flagship is currently cloud/API-first.

GPU & VRAM

4× to 8× NVIDIA Hopper (H100/H800) or 140 GiB L20X

Sand.ai’s reference Docker uses 8× Hopper; vLLM-Omni SP4 shrinks it to 4× Hopper / L20X. Single consumer 24GB GPUs cannot fit 114B weights natively.

System Dependencies

Linux · CUDA Toolkit · Docker · Python 3.12 · ffmpeg

At least 350 GB free NVMe SSD storage. ffmpeg is required on PATH to mux the co-generated 44.1 kHz stereo audio track into final MP4 files.

STEP 01

Install Hugging Face Hub & download weights (~307 GB)

Pull the Apache-2.0 MAGI-2-preview checkpoint (transformer, Qwen text encoder, video/audio VAEs, and refiner) to a fast local NVMe directory.

pip install -U huggingface_hub
python3 -c "
from huggingface_hub import snapshot_download
snapshot_download(
    repo_id='sand-ai/MAGI-2-preview',
    local_dir='ckpt/magi-2-preview',
)
"
STEP 02

Pull & start Sand.ai’s prebuilt Docker environment

MAGI-2 relies on custom compiled attention kernels (MagiAttention / MagiCompiler). Using the official container avoids CUDA toolchain mismatches.

docker pull sandai/magi-2-preview:latest
docker run --gpus all -it \
  -v "$(pwd)/ckpt:/workspace/ckpt" \
  sandai/magi-2-preview:latest
STEP 03

Run multi-GPU Text-to-Video or Image-to-Video inference

Launch distributed generation inside the container (preview stage renders 10s audio-video clips at 272p/540p, with optional refiner scaling up to 1080p).

cat << 'EOF' > PROMPT.md
Rainy twilight outside a Tokyo bookstore, medium tracking shot on 50mm lens.
Audio: Rain hitting umbrella, soft street ambience. No music.
EOF

PYTHONPATH="$PWD" torchrun --nproc_per_node=4 \
  -m magi2_preview.entry \
  --config configs/run_preview.json \
  --resolution 540p \
  --seconds 10 \
  --num-inference-steps 100 \
  --prompt-file PROMPT.md \
  --output out/
STEP 04

Optimize for 4-GPU servers with vLLM-Omni or quantization

For production OpenAI-compatible serving on 4× Hopper or 140 GiB L20X nodes, use vLLM-Omni Sequence Parallelism (SP4). Community FP8 / NVFP4 conversions on Hugging Face further reduce memory on 96GB–140GB enterprise cards.

# Verify NVIDIA Container Runtime & GPU topology before SP4 serving
nvidia-smi topo -m
# Ensure ffmpeg is available for 44.1 kHz audio-video muxing
ffmpeg -version | head -n 1

Need exact VRAM numbers & 480B vs 114B Preview benchmarks?

Compare Sand.ai’s open-weight 114B Preview against the hosted 480B flagship and inspect full vLLM-Omni SP4 server layouts. Read 480B vs 114B Preview & GPU Specs →

Starter Prompts for MAGI-2 Studio

Read full MAGI-2 Prompt Guide →
MAGI-2 Text-to-Video · 1080p + Native Audio

Slow cinematic push-in across a misty alpine lake at golden sunrise, gentle ripples reflecting snow-capped peaks, drifting morning fog, crisp natural lighting. Audio: calm water lapping and distant morning breeze. No music.

AI Image Keyframe · Ready for MAGI-2 Image-to-Video

Rainy twilight outside a warm neon bookstore in Tokyo, a woman in a camel coat holding a clear umbrella under glowing signage, shallow 50mm cinema lens depth of field, wet asphalt reflections, natural skin texture.

MAGI-2 Free & Local Deployment FAQ

Yes—for the open-source 114B MAGI-2-preview release. Sand.ai published sand-ai/MAGI-2-preview on Hugging Face under the Apache-2.0 license with zero model fees. However, you still need enterprise multi-GPU hardware (4–8× NVIDIA Hopper or 140 GiB L20X GPUs) to run it at practical speed.