Instructions to use diffusers-modular/MiniMax-H3-LightVAE with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use diffusers-modular/MiniMax-H3-LightVAE with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image, export_to_video # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("diffusers-modular/MiniMax-H3-LightVAE", dtype=torch.bfloat16, device_map="cuda") pipe.to("cuda") prompt = "A man with short gray hair plays a red electric guitar." image = load_image( "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png" ) output = pipe(image=image, prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Notebooks
- Google Colab
- Kaggle
Download modular_model_index.json from diffusers-modular/MiniMax-H3-LightVAE: direct link, hf CLI and curl.
- Browser
- Download file 2.89 kB
-
https://huggingface.co/diffusers-modular/MiniMax-H3-LightVAE/resolve/main/modular_model_index.json
- Command line
-
hf download hf://diffusers-modular/MiniMax-H3-LightVAE/modular_model_index.json
-
curl -L -o modular_model_index.json https://huggingface.co/diffusers-modular/MiniMax-H3-LightVAE/resolve/main/modular_model_index.json
2.89 kB
| { | |
| "_class_name": "MiniMaxH3ModularPipeline", | |
| "_diffusers_version": "0.40.0.dev0", | |
| "_blocks_class_name": "MiniMaxH3Blocks", | |
| "text_encoder": [ | |
| "transformers", | |
| "Qwen3VLForConditionalGeneration", | |
| { | |
| "type_hint": [ | |
| "transformers", | |
| "Qwen3VLForConditionalGeneration" | |
| ], | |
| "pretrained_model_name_or_path": "multimodalart/MiniMax-H3-Pruned", | |
| "subfolder": "text_encoder", | |
| "variant": null, | |
| "revision": null | |
| } | |
| ], | |
| "tokenizer": [ | |
| "transformers", | |
| "Qwen2TokenizerFast", | |
| { | |
| "type_hint": [ | |
| "transformers", | |
| "Qwen2TokenizerFast" | |
| ], | |
| "pretrained_model_name_or_path": "MiniMaxAI/MiniMax-H3", | |
| "subfolder": "tokenizer", | |
| "variant": null, | |
| "revision": null | |
| } | |
| ], | |
| "processor": [ | |
| "transformers", | |
| "Qwen3VLProcessor", | |
| { | |
| "type_hint": [ | |
| "transformers", | |
| "Qwen3VLProcessor" | |
| ], | |
| "pretrained_model_name_or_path": "MiniMaxAI/MiniMax-H3", | |
| "subfolder": "processor", | |
| "variant": null, | |
| "revision": null | |
| } | |
| ], | |
| "vae": [ | |
| "diffusers", | |
| "AutoModel", | |
| { | |
| "type_hint": [ | |
| "diffusers", | |
| "AutoModel" | |
| ], | |
| "pretrained_model_name_or_path": "diffusers-modular/MiniMax-H3-LightVAE", | |
| "subfolder": "vae", | |
| "variant": null, | |
| "revision": null | |
| } | |
| ], | |
| "audio_vae": [ | |
| "diffusers", | |
| "AutoencoderKLMiniMaxH3Audio", | |
| { | |
| "type_hint": [ | |
| "diffusers", | |
| "AutoencoderKLMiniMaxH3Audio" | |
| ], | |
| "pretrained_model_name_or_path": "MiniMaxAI/MiniMax-H3", | |
| "subfolder": "audio_vae", | |
| "variant": null, | |
| "revision": null | |
| } | |
| ], | |
| "transformer": [ | |
| "diffusers", | |
| "AutoModel", | |
| { | |
| "type_hint": [ | |
| "diffusers", | |
| "AutoModel" | |
| ], | |
| "pretrained_model_name_or_path": "multimodalart/MiniMax-H3-Pruned", | |
| "subfolder": "transformer", | |
| "variant": null, | |
| "revision": null | |
| } | |
| ], | |
| "transformer_ref": [ | |
| "diffusers", | |
| "AutoModel", | |
| { | |
| "type_hint": [ | |
| "diffusers", | |
| "AutoModel" | |
| ], | |
| "pretrained_model_name_or_path": "multimodalart/MiniMax-H3-Pruned", | |
| "subfolder": "transformer_ref", | |
| "variant": null, | |
| "revision": null | |
| } | |
| ], | |
| "scheduler": [ | |
| "diffusers", | |
| "MiniMaxH3Scheduler", | |
| { | |
| "type_hint": [ | |
| "diffusers", | |
| "MiniMaxH3Scheduler" | |
| ], | |
| "pretrained_model_name_or_path": "MiniMaxAI/MiniMax-H3", | |
| "subfolder": "scheduler", | |
| "variant": null, | |
| "revision": null | |
| } | |
| ], | |
| "audio_scheduler": [ | |
| "diffusers", | |
| "MiniMaxH3Scheduler", | |
| { | |
| "type_hint": [ | |
| "diffusers", | |
| "MiniMaxH3Scheduler" | |
| ], | |
| "pretrained_model_name_or_path": "MiniMaxAI/MiniMax-H3", | |
| "subfolder": "audio_scheduler", | |
| "variant": null, | |
| "revision": null | |
| } | |
| ] | |
| } |