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
Download examples/prompt.edit.txt from MiniMaxAI/MiniMax-H3-Image: direct link, hf CLI and curl.
- Browser
- Download file 1.82 kB
-
https://huggingface.co/MiniMaxAI/MiniMax-H3-Image/resolve/main/examples/prompt.edit.txt
- Command line
-
hf download hf://MiniMaxAI/MiniMax-H3-Image/examples/prompt.edit.txt
-
curl -L -o prompt.edit.txt https://huggingface.co/MiniMaxAI/MiniMax-H3-Image/resolve/main/examples/prompt.edit.txt
1.82 kB
| The dark, warmly lit podcast studio photograph of two hosts behind a wooden desk in <Picture 1> is <Subject 1>. <Subject 1> is mostly preserved: the large "EP. 47" title in the top right corner, the dark textured wall, the wooden shelves with plants, a brass globe, a lit candle, books and the "DISCIPLINE > MOTIVATION" chalkboard, the framed "COMPOUND CONSISTENCY CONFIDENCE" poster, the glowing floor lamp on the left and the table lamp on the right, the two black microphones on their stands, the black "INVEST IN YOURSELF" and "PLAN BUILD WEALTH" mugs, the carved wooden "MONEY TALKS" desk sign, the dark wooden desk, both hosts' faces, smiles and clothing, the man's wristwatch and the woman's hoop earrings all stay exactly the same. Only the headphones and the hosts' poses change. The over-ear headphones and their cable are removed from the man on the left, and his short, tousled dark brown curly hair is filled in naturally over the top and sides of his head where the headband had flattened it, leaving no dent or mark. The two hosts lean toward each other and bump fists directly above the "MONEY TALKS" sign: one fist from each host meets with the knuckles touching, both elbows lifted off the desk, so the fist bump sits exactly at the horizontal centre of the frame, midway between the two microphones. The target image is a square, cinematic photograph of the podcast set: the man in the black crew-neck sweater on the left and the woman with long wavy brown hair in the cream knit sweater on the right lean in and smile at each other, their forearms raised so the touching fists hover just above the top edge of the "MONEY TALKS" sign between the two microphones, while the warm lamp light, the dark shelves behind them and the "EP. 47" title in the top right keep the original moody lighting and colors. |