README.md
| 1 | --- |
| 2 | license: other |
| 3 | license_name: minimax-h3-community-license-agreement |
| 4 | license_link: https://huggingface.co/MiniMaxAI/MiniMax-H3/blob/main/LICENSE |
| 5 | base_model: |
| 6 | - MiniMaxAI/MiniMax-H3 |
| 7 | base_model_relation: quantized |
| 8 | language: |
| 9 | - en |
| 10 | - zh |
| 11 | library_name: gguf |
| 12 | pipeline_tag: image-text-to-video |
| 13 | tags: |
| 14 | - gguf |
| 15 | - text-to-video |
| 16 | - image-to-video |
| 17 | - video-generation |
| 18 | - stable-diffusion.cpp |
| 19 | - unsloth |
| 20 | - minimax |
| 21 | - multimodal |
| 22 | --- |
| 23 | |
| 24 | Instructions further below. GGUF for MiniMax-H3, compatible on most platforms including stablediffusion.cpp and Unsloth. |
| 25 | |
| 26 | <img width="600" alt="minimax h3 in unsloth" src="https://cdn-uploads.huggingface.co/production/uploads/62ecdc18b72a69615d6bd857/mC1bt6NkQVUM0AINDpork.gif" /> |
| 27 | |
| 28 | # Run MiniMax-H3 locally |
| 29 | You can run MiniMax-H3 via Unsloth: https://github.com/unslothai/unsloth/ |
| 30 | |
| 31 | |
| 32 | GGUF quantizations of [MiniMaxAI/MiniMax-H3](https://huggingface.co/MiniMaxAI/MiniMax-H3) |
| 33 | |
| 34 | MiniMax H3 is an omni-modal generative system that produces video with native stereo audio, up to |
| 35 | 15 seconds at 24 FPS with 32 kHz stereo audio. Both halves of the runtime are in this repo: the |
| 36 | denoisers and the Qwen3-VL text encoder they need. |
| 37 | |
| 38 | H3 ships two denoisers, and which one you load decides what the model can be given: |
| 39 | |
| 40 | - **`fl2va_pruned`**, the H3-Base first-and-last-frame variant. Text, plus zero, one or two frames. |
| 41 | - **`ref2va_pruned`**, the reference variant. Text, plus reference pictures, videos and audio. |
| 42 | |
| 43 | They are separate checkpoints, not settings, so pick the one that matches the task. Both are |
| 44 | quantized here at the same rungs, so a given quant costs about the same either way. |
| 45 | |
| 46 | ## Example |
| 47 | |
| 48 | `UD-Q2_K_XL`, the smallest rung here, at 960x544, 124 frames, 24 FPS, 8 steps, guidance 1.0, |
| 49 | seed 11, on a single card. |
| 50 | |
| 51 | > a red panda stepping along a mossy log in a misty forest, cinematic |
| 52 | |
| 53 | <img src="assets/h3_gguf_ud_q2_k_xl.gif" width="480"> |
| 54 | |
| 55 | The GIF is downsampled and silent. For the full 960x544 clip with its native 32 kHz stereo audio |
| 56 | track, play |
| 57 | [`assets/h3_gguf_ud_q2_k_xl.mp4`](https://huggingface.co/unsloth/MiniMax-H3-GGUF/blob/main/assets/h3_gguf_ud_q2_k_xl.mp4). |
| 58 | H3 generates the audio jointly with the video, so the audio is part of the model output rather |
| 59 | than something added afterwards. |
| 60 | |
| 61 | ## Files |
| 62 | |
| 63 | Text and frames, `fl2va_pruned`: |
| 64 | |
| 65 | | File | Size | |
| 66 | |---|---| |
| 67 | | `minimax_h3_fl2va_pruned-Q2_K.gguf` | 6.26 GiB | |
| 68 | | `minimax_h3_fl2va_pruned-UD-Q2_K_XL.gguf` | 7.51 GiB | |
| 69 | | `minimax_h3_fl2va_pruned-Q3_K.gguf` | 8.16 GiB | |
| 70 | | `minimax_h3_fl2va_pruned-UD-Q3_K_XL.gguf` | 8.90 GiB | |
| 71 | | `minimax_h3_fl2va_pruned-Q4_K.gguf` | 10.64 GiB | |
| 72 | | `minimax_h3_fl2va_pruned-Q5_0.gguf` | 12.97 GiB | |
| 73 | | `minimax_h3_fl2va_pruned-Q6_K.gguf` | 15.45 GiB | |
| 74 | | `minimax_h3_fl2va_pruned-Q8_0.gguf` | 19.97 GiB | |
| 75 | |
| 76 | References, `ref2va_pruned`: |
| 77 | |
| 78 | | File | Size | |
| 79 | |---|---| |
| 80 | | `minimax_h3_ref2va_pruned-Q2_K.gguf` | 6.22 GiB | |
| 81 | | `minimax_h3_ref2va_pruned-Q3_K.gguf` | 8.12 GiB | |
| 82 | | `minimax_h3_ref2va_pruned-Q4_K.gguf` | 10.60 GiB | |
| 83 | | `minimax_h3_ref2va_pruned-Q5_0.gguf` | 12.94 GiB | |
| 84 | | `minimax_h3_ref2va_pruned-Q6_K.gguf` | 15.42 GiB | |
| 85 | | `minimax_h3_ref2va_pruned-Q8_0.gguf` | 19.94 GiB | |
| 86 | |
| 87 | Text encoder, shared by both: |
| 88 | |
| 89 | | File | Size | |
| 90 | |---|---| |
| 91 | | `qwen3vl_32b_minimax_h3-Q2_K_M.gguf` | 12.20 GiB | |
| 92 | | `qwen3vl_32b_minimax_h3-Q4_K_M.gguf` | 16.97 GiB | |
| 93 | |
| 94 | The `UD-` rungs are dynamic, mixed-precision builds. The uniform rungs hold one type throughout. |
| 95 | Pair the `Q2_K_M` text encoder with the two smallest denoisers and the `Q4_K_M` one with everything |
| 96 | else. The text encoder and the VAEs are shared, so switching between the two denoisers costs one |
| 97 | denoiser download and nothing else. The VAEs are not duplicated here, take them from |
| 98 | [Comfy-Org/MiniMax-H3](https://huggingface.co/Comfy-Org/MiniMax-H3). |
| 99 | |
| 100 | ```bash |
| 101 | sd-cli --mode vid_gen \ |
| 102 | --diffusion-model minimax_h3_fl2va_pruned-UD-Q2_K_XL.gguf \ |
| 103 | --llm qwen3vl_32b_minimax_h3-Q2_K_M.gguf \ |
| 104 | --vae minimax_h3_video_vae_fp16.safetensors \ |
| 105 | --audio-vae minimax_h3_audio_vae_fp32.safetensors \ |
| 106 | --prompt "a red fox trotting through falling snow, cinematic" \ |
| 107 | --width 640 --height 384 --video-frames 25 --steps 4 --cfg-scale 1.0 \ |
| 108 | --backend te=cpu --diffusion-fa \ |
| 109 | --output out.webm |
| 110 | ``` |
| 111 | |
| 112 | Three flags are not optional. `--mode vid_gen`, or H3 takes the image path and aborts. Explicit |
| 113 | `--cfg-scale 1.0`, because H3 is distilled and cfg-free and aborts above 1.0 while the default is |
| 114 | 7.0. And `--backend te=cpu`, which keeps the 12 GB text encoder off the card. Add |
| 115 | `--offload-to-cpu` to fit a smaller GPU. |
| 116 | |
| 117 | The pre-quantized PyTorch checkpoints are in |
| 118 | [unsloth/MiniMax-H3-FP8](https://huggingface.co/unsloth/MiniMax-H3-FP8). |
| 119 | |
| 120 | ## Licence |
| 121 | |
| 122 | MiniMax H3 Community License Agreement, from MiniMax-H3. Full text in |
| 123 | [`LICENSE`](https://huggingface.co/unsloth/MiniMax-H3-GGUF/blob/main/LICENSE). Read it before use: |
| 124 | it defines an Applicable Territory and excludes some jurisdictions from it. MiniMax also publish a |
| 125 | [Q&A about the licence](https://huggingface.co/MiniMaxAI/MiniMax-H3/blob/main/docs/QA-about-License.md). |
| 126 | |
| 127 | These files are Model Derivatives, not a plain copy: the transformer and the text encoder are |
| 128 | quantized, which changes the numerics. Section III of the licence wants that stated, so |
| 129 | [`NOTICE`](https://huggingface.co/unsloth/MiniMax-H3-GGUF/blob/main/NOTICE) lists every change |
| 130 | along with the attribution. Not an official MiniMax product, and not endorsed by MiniMax. |
| 131 | |