Text-to-Image
MiniMax H3
Diffusers
Safetensors
English
image-to-image
image-editing
image-generation
Instructions to use MiniMaxAI/MiniMax-H3-Image with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use MiniMaxAI/MiniMax-H3-Image 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-Image", 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
MiniMax-H3-Image full BF16 running with 4GB RAM and 2GB VRAM — ncnn/Vulkan for NVIDIA, AMD, Intel and Apple GPUs
#29
by nihui-szyl - opened
Hi MiniMax team and everyone,
I have open-sourced h3image-ncnn-vulkan, an ncnn/Vulkan implementation of MiniMax-H3-Image:
https://github.com/nihui/h3image-ncnn-vulkan
Converted ncnn models are available here:
https://huggingface.co/nihui-szyl/h3-image-ncnn
One converted model package supports both text-to-image and image editing.
✔️Full BF16, No quant/distil
✔️4G RAM & 2G VRAM works
✔️Any Vulkan GPU works
✔️No CUDA/Torch/Python
✔️Single tiny binary for Windows/Linux/macOS
✔️Text-to-image
✔️Multi-reference image editting
Feedback, testing results, and contributions are very welcome :)