Instructions to use vanch007/pi-H3-MLX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use vanch007/pi-H3-MLX with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download vanch007/pi-H3-MLX --local-dir pi-H3-MLX
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
pi-H3-MLX
MLX weights for running pi-H3 (few-step MiniMax H3) natively on Apple silicon: text-to-video, image-to-video and first+last-frame-to-video with synchronized audio in 4 steps.
Code, install and usage: https://github.com/vanch007/pi-H3-MLX
Contents
| Path | Size | What |
|---|---|---|
models_mlx/pi_h3_4step_dwd/ |
39 GB | pruned H3 transformer with the pi-H3 4-step DWD adapter fused in (bf16) + DWD pixel head |
models_mlx/pi_h3_2step_dwd/ |
39 GB | same with the pi-H3 2-step DWD adapter (--steps 2) |
models_mlx/text_encoder_q8/ |
27 GB | H3 text encoder (Qwen3-VL, 51 layers), 8-bit language model |
models/MiniMax-H3/vae/ |
9.7 GB | video VAE (only the encoder is used, for keyframes) |
models/MiniMax-H3/audio_vae/ |
0.6 GB | audio VAE |
models/MiniMax-H3/{tokenizer,processor}/ |
β | tokenizer and image processor |
Use 4 steps for final output, especially with people; 2 steps (--steps 2, ~2x faster) is for fast drafts and
non-human scenes. To download only one of them: hf download vanch007/pi-H3-MLX --exclude "models_mlx/pi_h3_2step_dwd/*".
Usage
git clone https://github.com/vanch007/pi-H3-MLX && cd pi-H3-MLX
pip install -r requirements.txt
hf download vanch007/pi-H3-MLX --local-dir ~/pi-h3-weights
PIH3_ROOT=~/pi-h3-weights python scripts/generate.py "A chef tosses vegetables in a flaming wok, sizzling sounds" \
--height 512 --width 896 --frames 121 --out chef.mp4
Needs an Apple-silicon Mac with β₯ 96 GB unified memory (128 GB recommended). On an M3 Max (40-core GPU) a 4-step 512Γ896 5 s clip denoises in ~5 min with the Sol sparse-attention Metal kernel (17β24 % exact blocks).
License
These weights are Model Derivatives of MiniMax H3 (see NOTICE for what was modified) and are governed by the
MiniMax H3 Community License Agreement in LICENSE.md, including its Acceptable Use Policy (Exhibit A) and
Section V use restrictions, which apply to every recipient and user. The license grant covers only the Applicable
Territory: it excludes the European Union, the United Kingdom, the Republic of Korea and the United States of
America. By downloading or using these weights you agree to that agreement.
MiniMax H3 is licensed under the MiniMax H3 Community License Agreement, Copyright Β© 2026 MiniMax. All Rights Reserved. Powered by MiniMax H3. pi-H3 adapters by Hansheng Chen et al. (Lakonik/pi-H3).
Quantized