Run MiniMax-H3 Video and Audio Generation on a Regular Gaming GPU
MiniMax-H3 is a 33B model that makes video and stereo audio together. This community project runs it on GPUs from 6GB to 48GB, with a browser interface.

What is Diffusers_minimax-h3?
MiniMax-H3 (also called Hailuo 3.0) is a very large 33-billion-parameter AI model that creates a video and its stereo sound in a single pass. You can give it a text prompt, reference images, or a reference voice, and it produces a clip with matching audio, including lip-sync. It can also make still images.
Diffusers_minimax-h3 is a community project that wraps the model in a simple web page you open in your browser. Its main trick is memory: it quantizes the weights and streams them to the GPU piece by piece, so a card with only 6GB of VRAM can finish a 5-second clip. Its README reports about 2.8GB peak VRAM at 768x768 with the 4-step turbo option. Bigger cards are simply faster. The author says a 48GB setup makes a 5-second clip in about 44 seconds.
Who is it for?
- Creators who want to try a cutting-edge video-plus-audio model on a home PC
- Owners of 6GB to 16GB NVIDIA cards (RTX 3050, 3060, 4060 and similar) who thought this model was out of reach
- Developers who like diffusers and want to study quantization and streaming techniques
- People who want a ready-made browser interface instead of writing Python
Minimum requirements
- Operating system: Windows 10 or 11 (the Windows path below is tested by the author); Linux also works
- GPU: NVIDIA card with at least 6GB VRAM (works, but 512x512 to 768x512 is realistic). 8GB to 12GB is better, and 12GB handles the native 768x768. 24GB or more is recommended for comfort
- Graphics driver: one that supports CUDA 12.8 (the project uses torch 2.9.0 with cu128)
- RAM: 16GB works with a fast NVMe drive; 24GB or more is recommended
- Free disk space: about 60GB with the low-VRAM preparation script (plus about 32GB more if you want reference-based modes). The full download route needs about 145GB
- Disk type: an NVMe SSD is strongly recommended. On a SATA SSD, the README measures roughly 4 minutes of denoising no matter which GPU you use
- Software: Python 3.12, Git, and optionally ffmpeg (used to show clip length and join videos; generation works without it)
- Internet: a fast connection, because model preparation downloads tens of gigabytes and can take hours
Installation, step by step
Step 0: Open a terminal
A terminal is a window where you type commands. On Windows, press the Windows key, type PowerShell, and press Enter. A blue or black window appears with a blinking cursor. Type each command below, then press Enter.
Step 1: Install the prerequisites
Windows includes a tool called winget that installs programs for you. The three commands below install Git (from https://git-scm.com), Python 3.12 (from https://www.python.org) and ffmpeg. Run them one at a time. Each prints download progress and ends with a success message.
- winget install --id Git.Git -e --source winget
- winget install --id Python.Python.3.12 -e --source winget
- winget install --id Gyan.FFmpeg -e --source winget
When they finish, close PowerShell and open a new one. This lets Windows find the freshly installed programs. Also make sure your NVIDIA driver is up to date from https://www.nvidia.com/drivers.
Step 2: Download the project and install its packages
- git clone https://github.com/animede/Diffusers_minimax-h3.git (copies the project to a new folder; you will see a few lines of progress)
- cd Diffusers_minimax-h3 (moves your terminal into that folder; the prompt now shows the folder name)
- .\scripts\install.bat (creates a private Python environment called venv and installs PyTorch and the other dependencies; this takes a few minutes and ends with the installed torch, diffusers and transformers versions)
Step 3: Prepare the model
This command downloads the model weights one piece at a time, shrinks each piece (int8 quantization), and deletes the original, so you only need about 60GB of disk instead of 144GB. It is the longest step and is mostly limited by your internet speed. If it stops, run it again and it continues where it left off.
.\venv\Scripts\python.exe scripts\prepare_lowvram.py
If you also want modes that use reference images, video or audio (Ref2VA and Ref2I), add the --ref flag to the same command. That needs about 32GB more disk space.
Step 4: Start the app
.\run.bat
This starts the local server. The first start builds a quantization cache and takes a few minutes. The settings for your GPU size, including low-VRAM mode and 4-step turbo, are chosen automatically. When the server is ready, open your web browser and go to http://127.0.0.1:8611.
Linux or macOS note
On Linux, install Python 3.12 and Git with your package manager, then run these commands: git clone https://github.com/animede/Diffusers_minimax-h3.git, then cd Diffusers_minimax-h3, then scripts/install.sh. The README also provides a Linux shell launcher, run.sh. SageAttention is optional and Linux-only. If you skip it, start with the setting H3_ATTN_BACKEND=default. The README documents NVIDIA CUDA only, so macOS is not a supported target.
Your first run
With the page open at http://127.0.0.1:8611, pick the T2VA tab (text to video with audio), type a short prompt such as a person walking on a beach at sunset, and choose a small size like 512x512 for your first try. Click generate.
The README lists these timings for a 5-second clip with turbo 4 steps and an NVMe drive: about 237 seconds at 512x512 on an RTX 3050 6GB, about 132 seconds on an RTX 3060 12GB, and about 194 seconds on an RTX 4060 Laptop 8GB. When the clip appears in the gallery at the bottom with sound, everything works.
Common problems
- Very slow denoising: the weights are read from disk on every step. Use an NVMe SSD instead of a SATA drive. You can measure your transfer and disk speed with .\venv\Scripts\python.exe scripts\check_bandwidth.py
- Python not found or wrong version: the project needs Python 3.12 and calls it as py -3.12. Reinstall it with the winget command above, then open a new PowerShell window
- Script blocked by execution policy: use install.bat as shown, because it runs the PowerShell script while bypassing the policy
- Out of memory or shared GPU memory growing past 4GB: choose a smaller resolution such as 512x512 or 768x512, and close other programs that use the GPU or RAM. For RAM below 16GB, close browsers and other apps
- Preparation stops with a RAM error: this happens if the low-VRAM cache is missing. Run prepare_lowvram.py first, rather than the full download script, then start the app again
- Download interrupted: run the prepare command again. It resumes from where it stopped
Links
Repository: https://github.com/animede/Diffusers_minimax-h3
Issues and help: https://github.com/animede/Diffusers_minimax-h3/issues
Note: the repository license is listed as NOASSERTION, so read the LICENSE and NOTICE files in the repository before any commercial use.



