Image-Text-to-Video
Diffusers
Safetensors
text-to-video
image-to-video
video-to-video
text-to-audio-video
image-to-audio-video
image-text-to-audio-video
video-to-audio-video
audio-to-audio-video
audio-video-generation
multimodal
synchronized-audio-video
reference-to-audio-video
Instructions to use MiniMaxAI/MiniMax-H3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use MiniMaxAI/MiniMax-H3 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("MiniMaxAI/MiniMax-H3", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Add diffusers format weights
#5
by multimodalart HF Staff - opened
README.md
CHANGED
|
@@ -192,25 +192,19 @@ Each checkpoint is distributed as a self\-contained Hugging Face\-style reposito
|
|
| 192 |
└── audio_vae/
|
| 193 |
```
|
| 194 |
|
| 195 |
-
Download the model
|
| 196 |
|
| 197 |
```bash
|
| 198 |
-
|
| 199 |
-
hf download MiniMaxAI/MiniMax-H3 --include "FL2VA/*" "Ref2VA/*" --local-dir MiniMax-H3
|
| 200 |
-
|
| 201 |
-
# Or a single task family:
|
| 202 |
-
hf download MiniMaxAI/MiniMax-H3 --include "FL2VA/*" --local-dir MiniMax-H3
|
| 203 |
```
|
| 204 |
|
| 205 |
-
diffusers users do not need a manual download: `ModularPipeline.from_pretrained("MiniMaxAI/MiniMax-H3")` fetches exactly the components it needs. See the [diffusers documentation](https://github.com/huggingface/diffusers/blob/minimax-h3/docs/source/en/api/pipelines/minimax_h3.md) for loading recipes.
|
| 206 |
-
|
| 207 |
We recommend the following inference frameworks to serve the model:
|
| 208 |
|
| 209 |
- [SGLang](https://docs.sglang.io/) \- see [cookbook](https://docs.sglang.io/cookbook/diffusion/MiniMax/MiniMax-H3)
|
| 210 |
|
| 211 |
- [vLLM](https://github.com/vllm-project/vllm) \- see [vllm recipes](https://recipes.vllm.ai/MiniMaxAI/MiniMax-H3)
|
| 212 |
|
| 213 |
-
- [diffusers](https://github.com/huggingface/diffusers) \- see [diffusers docs](https://
|
| 214 |
|
| 215 |
- [ComfyUI](https://github.com/Comfy-Org/ComfyUI) \- see [Comfy tutorial](https://docs.comfy.org/tutorials/video/minimax/minimax-h3); use [R2V template](https://github.com/Comfy-Org/workflow_templates/blob/main/templates/video_minimax_h3_r2v.json) / [T2V template](https://github.com/Comfy-Org/workflow_templates/blob/main/templates/video_minimax_h3_t2v.json)
|
| 216 |
|
|
@@ -275,11 +269,8 @@ TOKEN="<token>"
|
|
| 275 |
|
| 276 |
MiniMax platform:
|
| 277 |
|
| 278 |
-
|
| 279 |
-
-
|
| 280 |
-
- H3-Context-IR:use /video-generation-v2-h3-context-ir [EN-docs](https://platform.minimax.io/docs/api-reference/video-generation-v2-h3-context-ir), [CN-docs](https://platform.minimaxi.com/docs/api-reference/video-generation-v2-h3-context-ir)
|
| 281 |
-
- H3-Regenerate-2K:use /video-generation-v2-regeneration [EN-docs](https://platform.minimax.io/docs/api-reference/video-generation-v2-regeneration), [CN-docs](https://platform.minimaxi.com/docs/api-reference/video-generation-v2-regeneration)
|
| 282 |
-
|
| 283 |
|
| 284 |
The examples below encode local H3\-Base output files as Base64 Data URLs\. For production use, uploading the video to a publicly accessible URL and passing that URL as `base_video` is recommended\.
|
| 285 |
|
|
@@ -412,7 +403,7 @@ For each case below, we provide reference outputs at both 2K and 768p generated
|
|
| 412 |
|
| 413 |
## License
|
| 414 |
|
| 415 |
-
MiniMax H3 is released under the [MiniMax H3 Community License Agreement](
|
| 416 |
|
| 417 |
## Contact Us
|
| 418 |
|
|
|
|
| 192 |
└── audio_vae/
|
| 193 |
```
|
| 194 |
|
| 195 |
+
Download the model:
|
| 196 |
|
| 197 |
```bash
|
| 198 |
+
hf download MiniMaxAI/MiniMax-H3 --local-dir MiniMax-H3
|
|
|
|
|
|
|
|
|
|
|
|
|
| 199 |
```
|
| 200 |
|
|
|
|
|
|
|
| 201 |
We recommend the following inference frameworks to serve the model:
|
| 202 |
|
| 203 |
- [SGLang](https://docs.sglang.io/) \- see [cookbook](https://docs.sglang.io/cookbook/diffusion/MiniMax/MiniMax-H3)
|
| 204 |
|
| 205 |
- [vLLM](https://github.com/vllm-project/vllm) \- see [vllm recipes](https://recipes.vllm.ai/MiniMaxAI/MiniMax-H3)
|
| 206 |
|
| 207 |
+
- [diffusers](https://github.com/huggingface/diffusers) \- see [diffusers docs](https://huggingface.co/docs/diffusers/en/api/models/autoencoderkl_minimax_h3)
|
| 208 |
|
| 209 |
- [ComfyUI](https://github.com/Comfy-Org/ComfyUI) \- see [Comfy tutorial](https://docs.comfy.org/tutorials/video/minimax/minimax-h3); use [R2V template](https://github.com/Comfy-Org/workflow_templates/blob/main/templates/video_minimax_h3_r2v.json) / [T2V template](https://github.com/Comfy-Org/workflow_templates/blob/main/templates/video_minimax_h3_t2v.json)
|
| 210 |
|
|
|
|
| 269 |
|
| 270 |
MiniMax platform:
|
| 271 |
|
| 272 |
+
- CN: https://platform.minimaxi.com
|
| 273 |
+
- Global: https://platform.minimax.io
|
|
|
|
|
|
|
|
|
|
| 274 |
|
| 275 |
The examples below encode local H3\-Base output files as Base64 Data URLs\. For production use, uploading the video to a publicly accessible URL and passing that URL as `base_video` is recommended\.
|
| 276 |
|
|
|
|
| 403 |
|
| 404 |
## License
|
| 405 |
|
| 406 |
+
MiniMax H3 is released under the [MiniMax H3 Community License Agreement](LICENSE). [Q&A about License](docs/QA-about-License.md)
|
| 407 |
|
| 408 |
## Contact Us
|
| 409 |
|