Repository navigation
Run MiniMax‐H3 with Only 4 GB of VRAM
With automatic memory management, stable-diffusion.cpp can run MiniMax-H3 on a 4 GB GPU. The examples below use 864 × 480 and 124 frames with audio, which gives you about five seconds at 24 fps. Higher resolutions and longer clips are also possible, depending on your GPU and settings. Use a recent CUDA, HIP, or Vulkan build for your GPU.
Choose either option below.
- Download a prebuilt release for your operating system and GPU backend. GitHub Releases
- Build from source using the project’s instructions. Build guide
Start with the pruned FL2VA INT8 ConvRot checkpoint for faster inference. The four files below take about 43 GB of disk space. INT8 ConvRot support
| Component | File | Folder |
|---|---|---|
| Diffusion model | minimax_h3_fl2va_pruned_int8_convrot.safetensors | models/diffusion_models/ |
| Text encoder | qwen3vl_32b_minimax_h3-Q4_K_M.gguf | models/text_encoders/ |
| Video VAE | minimax_h3_video_vae_int8_convrot.safetensors | models/vae/ |
| Audio VAE | minimax_h3_audio_vae_fp32.safetensors | models/vae/ |
To save more disk space, use the pruned FL2VA Q4_K_M GGUF as the diffusion model. MiniMax-H3 GGUF downloads
From your checkout or extracted release folder, start the Web UI with the bundled launcher.
Windows (PowerShell)
.\start-server.batLinux/macOS
sh ./start-server.sh- Open the local Web UI and click Model.
- Select MiniMax H3 FL2VA and assign the four files to their matching slots.
- Enter a prompt, set the resolution to 864 × 480 and the video length to 124 frames, then click Generate. Web UI guide
sd-cli -M vid_gen \
--diffusion-model models/diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensors \
--llm models/text_encoders/qwen3vl_32b_minimax_h3-Q4_K_M.gguf \
--vae models/vae/minimax_h3_video_vae_int8_convrot.safetensors \
--audio-vae models/vae/minimax_h3_audio_vae_fp32.safetensors \
--sampling-method euler --cfg-scale 1 \
-W 864 -H 480 --video-frames 124 --fps 24 \
-p "A small sailboat crosses a quiet lake at sunrise. Gentle waves and birdsong." \
-o h3.avisd.cpp manages weight placement and selects Flash Attention automatically by default. If generation feels slow, try 640 × 352 at 56 frames first. Fewer pixels and frames make it quicker to test prompts. Performance guide
On a supported CUDA build and GPU, you can also try --sage-attn. SageAttention requirements and usage
For first/last-frame conditioning, reference inputs, upscaling, pi-H3, and HyperFlow H3 Flash, see the MiniMax-H3 model guide.