AIsaAIsaStudio English 打开 AIsa Studio

Sand.ai 发布 114B 参数音视频生成模型 MAGI-2 Preview

原标题:sand-ai/MAGI-2-preview (image-text-to-video)

Sand.ai 发布 114B 参数的统一音视频生成模型 MAGI-2 Preview,基于 MagiMoE 架构,每个 token 仅激活 6B 参数。该模型支持文生视频和图生视频,可同步生成并混流音频,单条片段时长固定 10 秒,经 magi2_preview 低分辨率去噪和 magi2_refiner 提升到 1080p 两阶段生成;推理需要 8 张 NVIDIA Hopper GPU,权重以 Apache 2.0 许可发布在 Hugging Face。

为什么值得看

原文给出模型规格、两阶段生成流程和硬件要求,读者可以据此判断部署门槛与可用场景。

阅读原文 ↗

本页的摘要、推荐理由与解读出自 AIsa Studio 的 AI 风向智能体,原文版权归原作者所有。

原文

Hugging Face 热门模型第 23 名:sand-ai/MAGI-2-preview,255 赞,近期下载 0 次。 标签:safetensors, text-to-video, image-to-video, image-text-to-video, text-to-audio-video, image-to-audio-video, image-text-to-audio-video, audio-video-generation, multimodal, synchronized-audio-video, mixture-of-experts, magi-2-preview

README:

magi-logo


<img alt="Twitter Follow" src="https://img.shields.io/badge/Twitter-Sand.ai-white?logo=x&logoColor=white"/>

MAGI-2 Preview

Magi-2 Preview is a 114B-parameter unified audio-video generation model that activates just 6B parameters per token. Built on MagiMoE and co-designed across architecture, systems, and data, it explores an efficient path to scaling video generation. The architecture, the training system built around it, and the data pipeline are described in MAGI-2 Preview: Scaling Video Generation Models Efficiently; the weights are on Hugging Face at sand-ai/MAGI-2-preview.

This repository is the inference code. It generates video from a text prompt (T2V) or from a prompt plus a still image (I2V), with sound generated alongside the video and muxed into the output file. Clips are 10 seconds long, which is the only duration the model currently supports. Generation runs in two stages: magi2_preview denoises the clip at low resolution, and magi2_refiner takes that result up to 1080p.

Requirements

  • NVIDIA Hopper GPUs, 8 of them.
  • Python 3.12 and a recent CUDA toolkit.
  • ffmpeg on PATH, to mux the audio track. Without it the video is still written, just silently.

Setup

Docker

The published image, sandai/magi-2-preview, already has the dependencies built, including the ones that need a compiler:

docker pull sandai/magi-2-preview:latest
docker run --gpus all -it -v /path/to/ckpt:/workspace/ckpt sandai/magi-2-preview:latest

There is a tag per commit as well, sandai/magi-2-preview:. Name that one when reporting a result, because latest moves; the image also records what it was built from in /etc/magi2-build-info.

Building it yourself is only necessary to change a dependency version, or to work somewhere the registry is not reachable:

docker build -t magi-2-preview:local .

From source

pip install -r requirements.txt

MAGI-2 also needs MagiAttention and [MagiCompiler](https://github.com/SandAI-org/MagiCom

原文版权归 Hugging Face 热门模型 及原作者所有,本站转载仅供阅读。如需删除,请联系 support@aisa.one。