MAGI-2 on GitHub

Quick answer: The official MAGI-2 code on GitHub is SandAI-org/MAGI-2-preview: the inference pipeline, configs, prompt-enhancement system prompts and a Dockerfile for the open MAGI-2 Preview. There was no repository for the full 480B MAGI-2 on November 29, 2026. Sand.ai’s organisation also hosts MAGI-1, MagiAttention and MagiCompiler. SceneMixer is a hosted series maker and does not use this code.
Still from “The Glass Floor”, an AI short drama generated end-to-end by SceneMixer (5 characters, 1 episode)
SampleThe Glass FloorDigital HD1 episodeProduced end-to-end by SceneMixer from the scriptWatch the episodes

SandAI-org repositories

  • MAGI-2-preview — “Scaling Video Generation Models Efficiently”; created August 4, 2026; about 890 stars on November 29, 2026.
  • MAGI-1 — “Autoregressive Video Generation at Scale”; about 3,800 stars.
  • MagiAttention — distributed attention for ultra-long context; needed by MAGI-2 Preview.
  • MagiCompiler — plug-and-play compiler optimisations; also needed.
  • daVinci-MagiHuman — the single-stream audio-video design MAGI-2 builds on.
  • vidmuse-skills and vidmuse-plugin — agent skills and a plugin for Sand.ai’s VidMuse app.

What is inside MAGI-2-preview

  • inference/pipeline/entry.py — the entry point, launched with torchrun on every visible GPU.
  • configs/ — magi2_preview.json and magi2_refiner.json (1080p).
  • prompts/t2v.md and prompts/i2v.md — system prompts for an LLM that rewrites your prompt into the long JSON caption the model was trained on.
  • scripts/run_demo.sh and assets/ — a demo batch of stills and prompts.
  • A Dockerfile, with a published image tagged per commit.

Starting from the repository

Clone it, download the weights from Hugging Face into ckpt/, and run the demo. Report results with the image’s commit tag rather than latest, which moves. Hardware you need

If you were looking for a tool, not code

Code is for people running models. SceneMixer is for people making stories: paste a script and it plans the cast, the storyboard and the shots, then renders on its own video tiers. New SceneMixer accounts get 50 free credits, 15 free reference images and the storyboard of the first project’s first episode, plus one free preview of up to 5 seconds.

Sources

Facts about MAGI-2 on this page come from the pages above, read on November 29, 2026. Sand.ai changes its pages and prices; check them before you build on a detail. SceneMixer is not affiliated with Sand.ai, and the figures for SceneMixer’s own tiers are read from its live price list each time this page is built.

FAQ

Where is MAGI-2 on GitHub?

The open MAGI-2 Preview code is at github.com/SandAI-org/MAGI-2-preview.

Is the full MAGI-2 code on GitHub?

Not on November 29, 2026; Sand.ai says the open-source release will follow.

Where is MAGI-1 on GitHub?

github.com/SandAI-org/MAGI-1.

What is MagiAttention?

Sand.ai's distributed attention library for very long sequences; the MAGI-2 Preview build needs it.

Does the repo include the weights?

No. The weights are on Hugging Face; the code expects them in ckpt/.

Is the MAGI-2 Preview code open source?

Yes, under Apache 2.0.

Do I need to code to make AI videos?

No. SceneMixer runs in the browser: you paste a script and choose a tier; it does not use the MAGI code.

No code needed

Paste a script and render your first segment.

Start a project

Updated November 29, 2026