- MiniMaxAI/MiniMax-H3-Image (Hugging Face): official model card and weights
- MiniMax-H3-Image (ModelScope): official mirror for mainland China
- MiniMax-AI/MiniMax-H3-Image (GitHub): official examples and skills
- Comfy-Org/MiniMax-H3-Image (Hugging Face): diffusion model and image VAE
- Comfy-Org/MiniMax-H3 (Hugging Face): Qwen3-VL-32B text encoder used by this model
- MiniMaxAI/MiniMax-H3-Image-PE (Hugging Face): official prompt expander
Key features
- Text to image and editing in one checkpoint: no separate edit model to load
- 6-step sampling: guidance is fixed at 1, so there is no CFG pass and no negative prompt
- About 16 MP natively: 4096 x 4096 up to 6272 x 2688 without an upscale pass
- Multiple references: up to 16 input images, addressed as
<Picture 1>upwards in the prompt - Optional prompt expander: turns a short request into the detailed caption the model reads best
- Open weights: full local control in ComfyUI
Templates
Three template Workflows ship with the model. All need ComfyUI 0.45.0+. The text-to-image and image edit templates need template pack 0.11.104+; character swap needs 0.11.115+.MiniMax-H3-Image Text to Image
Generate an image from a text prompt. The template opens at 16 MP (4096 x 4096 at 1:1), the resolution the model is built for. Lowermegapixels in the resolution selector to about 4 MP on a small GPU or for faster runs.
Download Workflow
Download JSON or search “MiniMax-H3-Image: Text to Image” in Template Library
MiniMax-H3-Image Image Edit
Edit a picture by describing the change. The template loads the source as<Picture 1>, builds a reference-aware caption from your instruction, and finishes with a before/after comparison node.
Download Workflow
Download JSON or search “MiniMax-H3-Image: Image Edit” in Template Library
<Picture 1> in its Load Image node.
vintage_yellow_taxi.png
Source image the template edits
MiniMax-H3-Image Character Swap
Replace the person in a photo with a character from a reference image. The template reads the photo as<Picture 1> and the character as <Picture 2>, keeps the pose, framing, and lighting of the shot, and carries over the reference character’s face, costume, and materials. It runs on the same checkpoint plus the character-swap adapter at strength 1.0.
Download Workflow
Download JSON or search “MiniMax-H3-Image: Character Swap” in Template Library
<Picture 1> with the character in <Picture 2>, keep the scene, framing, and the target’s pose.”
Input materials
The template ships with a source photo and a reference character.
h3_char_swap_source.png
Photo to edit, read as the first picture
h3_char_swap_reference.png
Character to carry over, read as the second picture
Model downloads
The text-to-image and image edit templates load these four files, all from Comfy-Org mirror repositories. The character-swap template skips the prompt expander and needs one more file, an adapter published by its author.Diffusion model: minimax_h3_image_pruned_int8_convrot.safetensors
Pruned INT8 DiT, 21 GB. Place in
ComfyUI/models/diffusion_models/Text encoder: qwen3vl_32b_minimax_h3_int8_convrot.safetensors
Qwen3-VL-32B, INT8, 25.28 GB. Place in
ComfyUI/models/text_encoders/Prompt expander: qwen3.5_9b_w4a8_gptq.safetensors
Qwen3.5 9B W4A8, 7.34 GB. Place in
ComfyUI/models/text_encoders/. Text-to-image and image edit onlyVAE: minimax_h3_image_vae_fp16.safetensors
Image VAE, FP16, 1.17 GB. Place in
ComfyUI/models/vae/Character swap adapter: h3_image_character_swap_v1.safetensors
Rank-16 LoRA, 155 MB, from the adapter’s original repo. Place in
ComfyUI/models/loras/Sampling and canvas size
Every template ships the distilled schedule:
With guidance at 1 there is no classifier-free guidance pass, so the templates carry no negative prompt. Write everything you want, including things to avoid, into the positive prompt.
Native output is about 16 MP. Every edge is generated on a multiple of 32 px, and any width and height are accepted. These sizes cover the common ratios:
Smaller canvases work too and cost less time. In the text-to-image template the resolution selector sets the aspect ratio and the target megapixels separately, so any target from about 4 MP up to the selector’s 16 MP ceiling is one setting away.
Reference images in image editing
The image editing template sends the source image to the model as<Picture 1>. Additional images are labelled in order, <Picture 2>, <Picture 3>, up to 16 references, and the prompt addresses each one by its label. The first picture is the one being edited and the rest supply identity, props, materials, or composition, so a short instruction is enough: replacing the vehicle in <Picture 1> with the one in <Picture 2>.
To add a reference, place another Load Image node in the workflow and connect it to both the prompt generation step and the conditioning node. Keep the VAE input on the conditioning node connected: the template already wires it, and with the VAE the reference pictures are also anchored as image latents, so the edit follows the source more closely. Give every reference a short edge of at least 1024 px, and 2048 px when identity matters: the node resizes them for you, upscales anything below 1024 px (those pixels are interpolation), and discards detail beyond 2048 px.
Without the resize node, an edit comes back at the source’s size. Enable it to generate at a set target instead: 16 MP in the current template pack, and bypassed at 1 MP on pack 0.11.104, where you select it, press Ctrl-B, then set the target. Lower the target before sampling if the edit runs out of memory.
The model reads the picture it edits at a short edge of 2048 px at most, which is roughly 4 MP at 1:1 and 7 MP at 16:9. A target above that adds generated detail rather than source detail, so put the target at that size when detail matters and upscale the result afterwards.
Writing an edit prompt
Leave the expander on and a short instruction is enough: it rewrites your text into the shape the model reads best. Turn it off to write the prompt yourself, and use that same shape.- Name what you refer to, element first.
The woman in a red coat in <Picture 1> is <Subject 1>, with enough visible detail to single her out. Every definition names its<Picture N>. - Describe the target image, then give each subject its outcome.
<Subject 1> is fully preserved, or<Subject 1> is partially preserved; her face and coat remain, while her pose changes to a lean toward <Subject 2>. - Describe only what changed or is new. The surface a removed object leaves behind goes here, and so does any text the edit adds.
<Picture N> in the target description, then describe the area it leaves.
<Subject N> is wording the text encoder reads, not a binding the sampler enforces, so the description is what holds an edit together. State what changes and what stays instead of assuming the reference carries it. The official editing example shows the full structure: revised_prompt.edit.txt.
Enlarging and restoring a picture
The edit workflow can also do the second pass itself, with no separate upscaler model. Set the target in theResize Image/Mask node that holds scale total pixels (16 MP in the shipped template) and clear the toggle in the Boolean (Enable PE?) node. If the node is bypassed on your pack, select it and press Ctrl-B first.
Keeping part of the picture unchanged
The sampler returns the source latent wherever the mask is0 and regenerates the rest, which is the only way to hold part of the frame.
- Paint the area to regenerate white in the MaskEditor (right-click the
Load Imagenode, Open in MaskEditor) and connect its MASK output toSet Latent Noise Mask. A picture with no alpha channel loads as an all-black mask, which keeps the whole frame. VAE Encodethe picture already wired into the conditioning node’s image input. That node’s ownLATENTis only an empty canvas sized bywidthandheight; the latent you put onlatent_imagesets the output size instead.- Leave
positiveconnected and feed the masked latent into the sampler’slatent_image.
Chaining edits
An edit pass is a full render, not a touch-up: the sampler builds a new image from scratch at denoise 1, with your picture as the reference. Feeding an edited result back in therefore has the whole frame redrawn from it, and stacked passes drift, most visibly as blown-out background highlights. Keep the original picture in<Picture 1> and describe every change in one instruction. Chain only when a later change depends on something the earlier pass had to create, and load that pass’s saved output as <Picture 1>.