SuperAPIAI Directory

MAGI-1

github.com · AI video

Autoregressive model

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsLinux

About this tool

MAGI-1 is an autoregressive video generation model open-sourced by SandAI-org on GitHub. Its core idea is to define video as fixed-length consecutive frame segments (chunks), predicting video chunks one after another in an autoregressive manner, rather than generating the entire video all at once. Each chunk consists of 24 frames. During training, the model denoises block-wise noise that increases monotonically over time, thereby achieving causal temporal modeling and naturally supporting streaming generation.

In terms of main capabilities, MAGI-1 supports image-to-video (I2V) tasks and accepts text instruction conditioning, performing well in temporal consistency and scalability. It supports controllable generation through chunk-wise prompting, enabling smooth scene transitions, long-horizon synthesis, and fine-grained text-driven control. The model supports three inference modes: t2v (text-to-video), i2v (image-to-video), and v2v (video-to-video). In official internal human evaluations, MAGI-1 achieved relatively strong performance among open-source models (such as Wan-2.1 and HunyuanVideo) and some closed-source models (such as Hailuo i2v-01), especially excelling in instruction following and motion quality; on the Physics-IQ benchmark, by predicting physical behavior through video continuation, the official claim is that it significantly outperforms existing models.

In terms of model architecture, MAGI-1 uses a Transformer-based VAE, achieving 8x spatial compression and 4x temporal compression; the main body is a Diffusion Transformer, and it adopts designs such as Block-Causal Attention, Parallel Attention Block, QK-Norm and GQA, Sandwich Normalization in the FFN, SwiGLU, and Softcap Modulation to improve the efficiency and stability of large-scale training. The generation algorithm is autoregressive denoising: each chunk is denoised as a whole, and once the current chunk reaches a certain degree of denoising, generation of the next chunk begins immediately. This pipeline design can process up to four chunks concurrently. The model also adopts a shortcut distillation method, training a single velocity-based model to support variable inference budgets. During training, the step size is cyclically sampled from {64, 32, 16, 8}, and classifier-free guidance distillation is added to maintain conditional alignment, thereby achieving efficient inference with as little loss of fidelity as possible.

Weights andIn terms of versions, the project provides 24B and 4.5B pretrained weights, as well as corresponding distill and distill+quant models. As of the information, on June 17, 2026, the MAGI-1.1 24B pre-distillation, post-distillation, and quantized weights were open-sourced; on May 30, 2025, ComfyUI support and custom nodes were added; on May 26, the 4.5B distill and distill+quant models were released; on May 14, a Dify DSL for prompt enhancement was added; on April 30, the 4.5B model was released; on April 21, the model weights and inference code were first released.

In terms of usage, the project provides two ways to run: a Docker environment and source code, with Docker recommended. Inference is performed through MagiPipeline, and parameters in example/24B/run.sh or example/4.5B/run.sh can be modified to control input and output. Key parameters include: --config_file specifies the configuration file path; --mode specifies t2v, i2v, or v2v; --prompt specifies the text prompt; --image_path specifies the image path in i2v mode; --prefix_video_path specifies the prefix video path in v2v mode; --output_path specifies the save path for the generated video.

In terms of hardware requirements, the 4.5B model can run on a machine with at least 24GB of GPU memory; when memory is more limited, you can set window_size to 1 in 4.5B_distill_quant_config.json to run the 4.5B-distill+fp8_quant model, and this configuration can work on a GPU with at least 12GB of memory. If using 8 RTX 4090s to run the 24B model, pp_size:2 and cp_size:4 need to be set. The model supports arbitrary resolutions; to accelerate inference, the default resolution in 4.5B_config.json is set to 720×720.

In terms of prompt enhancement, the project provides a DSL file that can be directly imported into Dify, used to build a prompt enhancement workflow. The project uses the Apache License 2.0 license. Applicable scenarios include image-to-video generation, text-to-video generation, video continuation and longduration synthesis, video generation requiring user instruction control, and integration into ComfyUI workflows, etc. In terms of limitations, the information does not provide detailed commercialization terms, a complete list of supported platforms, specific generation speed data, or payment information; not yet provided.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools