How to use MAGI-2 in ComfyUI
Sources checked
You can use Sand.ai’s 480B MAGI-2 in ComfyUI through paid Partner Nodes. ComfyUI sends the job to a hosted API and saves the returned video. To generate on your own hardware, use the 114B MAGI-2 Preview. Sand.ai publishes the Preview code and weights under Apache 2.0 and lists the flagship weights as a future release. Sand.ai flagship announcement · Sand.ai’s public model list · Official Preview repository
| What you want to do | Use this workflow |
|---|---|
| Generate a 4–30-second 1080p clip with the 480B flagship | Open a ComfyUI MAGI-2 Partner Node template and fund your Comfy account. The API runs the model. |
| Run the 114B Preview on your own GPU | Check the hardware requirements below. The official pipeline produces 10-second clips. A community ComfyUI plugin has a published single-GPU test. |
Run the flagship through ComfyUI Partner Nodes
ComfyUI merged the three MAGI-2 nodes on November 27. They are present in the v0.46.4 source, and the official templates declare ComfyUI 0.46.4 as their minimum. Update ComfyUI and its workflow templates together. Node release changes · Official template changes
- Sign in to your Comfy account under Settings → User. Add credits under Settings → Credits. ComfyUI Partner Nodes setup
- Open Browse Templates, go to Video, and search for MAGI-2. Pick a template using the input you already have. If the template is missing, check the installed ComfyUI version and update the workflow templates. Try the nightly build if your release predates the nodes. Template browser instructions · Official template list
- Enter a prompt, connect any required media, and choose a duration from 4 to 30 seconds. The nodes output 1080p and let you toggle generated audio. Check the price shown on the node before queuing. When the job completes, the template’s Save Video node saves the output. Tagged MAGI-2 node source · Official text-to-video workflow
| Partner Node | When to pick it |
|---|---|
| MAGI-2 Text to Video | You have a written scene or shot description. |
| MAGI-2 Image to Video | You have a first frame. Add a last frame if you know where the shot should end. |
| MAGI-2 Reference to Video | You want to guide the shot with images, video, or audio. Use @Image1, @Video1, or @Audio1 in the prompt to identify connected inputs. |
The v0.46.4 node source calculates its price badge at $0.1144 per output second. That comes to about $1.14 for 10 seconds or $3.43 for 30 seconds. Check the current ComfyUI quote before running. For direct API billing and top-ups, see the MAGI-2 provider comparison. ComfyUI price calculation
Check your GPU before downloading the Preview
Sand.ai’s official reference pipeline specifies eight NVIDIA Hopper GPUs. The full official download is about 307 GB on disk. Community developer Colnb83 documents a separate NVFP4 ComfyUI workflow tested on a single RTX PRO 6000 Blackwell with 96 GB of VRAM. The maintainer reports 32 minutes 47 seconds and 90.2 GiB peak GPU memory for the 540p, 100-step model workflow. Sand.ai setup and storage · Community benchmark and NVFP4 files
The community model workflow uses about 64 GB of free system RAM in its default CPU text encoder mode. Its gpu (low RAM) option runs the text encoder on the GPU and unloads it before the video model loads. The maintainer reports about 10 GB of system RAM for that mode and the same GPU peak. Set it on both MAGI-2 Text Encode nodes if you use it. The video model still needs to fit entirely on the GPU for this plugin. Plugin memory modes
For 24 GB or 32 GB cards, treat other Preview projects as separate setups. Mirai documents an experimental 32 GiB device / 128 GiB system RAM profile measured on an 80 GB H100 with an allocator cap. That establishes the conditions of its memory test. Consumer GPU compatibility and full-resolution performance depend on the setup. Mirai Preview measurements and limitations
Set up the community Preview workflow
- Clone Colnb83’s native plugin into
ComfyUI/custom_nodes/comfyui-magi2-native/. From the ComfyUI root, activate the Python environment that runs ComfyUI and runpython -m pip install -r custom_nodes/comfyui-magi2-native/requirements.txt. Restart ComfyUI to load the plugin. Plugin dependencies - Download the files under
comfyui/in the NVFP4 model repository. Place them in the corresponding folders inside ComfyUI.
| File | Where to put it |
|---|---|
magi2_preview_nvfp4_comfy.safetensors (71.8 GB) |
models/diffusion_models/ |
Wan2.2_VAE.pth |
models/vae/ |
magi2_refiner.safetensors (for the 1080p workflow) |
models/diffusion_models/ |
- Download
text_encoder/andstable-audio-open-1.0/from Sand.ai’s official Preview files. Keep both folder names underComfyUI/models/magi2/. - Import the plugin’s
workflows/magi2_model.jsoninto the ComfyUI editor. Start with this 540p graph. Select the NVFP4 model in Load Diffusion Model, select the Wan VAE, and confirm that the text encoder can find the two folders. Run the included prompt once to check the setup. Community model workflow instructions