[来源关键摘录] 提供模型权重、部署流程、图像生成与编辑接口说明。
[正文前段节选] Hugging Face
Search models, datasets, users... ⌘K
MiniMax-H3-Image
MiniMax 12.6k
Text-to-Image
image-to-image
image-editing
image-generation
License: minimax-h3-image-community-license-agreement
Model card Files Files and versions
Copy to bucket
Use this model
Use MiniMax-H3-Image directly via API.
Global: platform.minimax.io | CN: platform.minimax.cn
Text-to-image: EN-docs, CN-docs
Image editing: EN-docs, CN-docs
Prompt expansion: EN-docs, CN-docs
Use MiniMax-H3-Image directly via App.
WebApp Global: hailuoai.video | CN: hailuoai.com
Desktop Global: agent.minimax.io | CN: agent.minimax.cn
Introduction
MiniMax-H3-Image is a state-of-the-art open-source model for image generation and editing from
the MiniMax H3 family. It combines intelligent
understanding of creative intent with the ability to build visual worlds: with precise
instruction following, it develops a creative concept into concrete characters, scenes and
atmosphere. Generation and editing are unified in one checkpoint, which generates images from
text (text-to-image) and edits one or more reference images (image editing), giving creators
and developers a flexible and controllable way to create images.
It generates images of about 16 megapixels at every aspect ratio, from 4096x4096 (1:1) to
6272x2688 (21:9), directly and without an upscaler (see Sizes). The checkpoint is
distilled to 6 sampling steps (6 NFEs) with no classifier-free guidance. Its diffusion
transformer (DiT) has the H3 architecture without the audio layers, and it uses the
MiniMax-H3 text encoder unchanged.
MiniMax-H3-Image brings together three core strengths: speed, image quality, and instruction
16-megapixel images at a practical computational cost. Compared with the 1–4 MP outputs
common today, 16 MP (4096 × 4096) images offer far more detail but typically require
substantially more computation. MiniMax-H3-Image keeps that computational cost manageable,
making 16 MP generation practical for everyday creation.
Rich detail. Remarkable realism. MiniMax-H3-Image goes beyond the familiar “AI look” to
produce images with intricate detail and lifelike realism, opening up more possibilities for
creative and professional use. It brings generated imagery closer to the richness and nuance
of the real visual world.
Stronger instruction following. Greater creative control. Great image generation goes
beyond beautiful pictures—it helps creators bring their ideas to life. MiniMax-H3-Image
delivers the strongest instruction following among open-source models and supports up to 16
reference images, giving creators more control over the final result.
Text-to-image and image editing
MiniMaxAI/MiniMax-H3-Image
MiniMax-H3-Image-PE (optional)
Prompt expander for text-to-image
MiniMaxAI/MiniMax-H3-Image-PE
Model Architecture
MiniMax-H3-Image follows the H3-Base design with the audio branch removed. The text
prompt and the reference images are encoded by the H3 text encoder; the reference images are
also encoded by the image VAE. All tokens form one packed sequence for a single-stream
transformer, which predicts the latent of the target image. The VAE decodes that latent
into the image.
Text encoder: the full Qwen3-VL text encoder of MiniMax-H3, unchanged. The DiT reads
the hidden states of its 50th layer.
Image VAE: a CNN encoder and a 2D ViT decoder (24 layers), with 16x spatial
downsampling and 24 latent channels. The DiT patchifies the latent with a 2x2 patch, so each
transformer token covers 32x32 pixels.
Diffusion transformer: 33.1B parameters, a dense single-stream transformer with 50
layers (hidden size 5376, 56 attention heads, FFN size 14336) and 3D multimodal RoPE, the same
as the H3-Omni-Transformer. The weights are BF16; the embedding, timestep and output layers
transformer/
DiT: BF16, with the embedding, timestep and output layers in FP32.
pdd_fused_heads.safetensors, pdd_config.json
The per-step output heads that replace the transformer's output layer, and the sampling schedule.
Image VAE, FP32.
tokenizer/, processor/
Qwen3-VL tokenizer and processor, identical to MiniMax-H3.
Text encoder
Not in this repository. model_index.json loads it from MiniMaxAI/MiniMax-H3, folder text_encoder/. If you already have MiniMax-H3, it is not downloaded again.
MiniMax-H3-Image/
├── model_index.json
├── pdd_config.json
├── pdd_fused_heads.safetensors
├── processor/
├── tokenizer/
├── transformer/
Download this repository and the MiniMax-H3 text encoder into the Hugging Face cache:
hf download MiniMaxAI/MiniMax-H3-Image
hf download MiniMaxAI/MiniMax-H3 --include "text_encoder/*"
# optional prompt expander
hf download MiniMaxAI/MiniMax-H3-Image-PE
Local Deployment
We recommend the following inference frameworks to serve the model:
SGLang - see cookbook
vLLM-Omni - see vllm-omni recipe
diffusers - see diffusers docs
LightX2V - see Usage guide
DiffSynth-Studio - see DiffSynth docs; try low-vram inference & training
ComfyUI - see Comfy tutorial; use T2I template / Edit template
vLLM-Omni Deployment
See the vLLM-Omni recipe for
per-hardware deployment configurations and measured latency. Both NVIDIA and AMD accelerators are
supported, including NVIDIA H200, RTX PRO 6000 Blackwell, AMD Instinct MI350X and more.
Start the server on one GPU:
vllm serve MiniMaxAI/MiniMax-H3-Image --omni --host 0.0.0.0 --port 8000
For lower latency, split each request over several GPUs with sequence parallelism
(Ulysses), for example on 4 GPUs:
vllm serve MiniMaxAI/MiniMax-H3-Image --omni --host 0.0.0.0 --port 8000 \
--num-gpus 4 --usp 4 --text-encoder-tp-size 4
SGLang Deployment
Here we use SGLang as a deployment example. See the MiniMax-H3-Image deployment guide for
additional deployment configurations.
sglang serve --model-path MiniMaxAI/MiniMax-H3-Image --host 0.0.0.0 --port 30000 --warmup-mode off
To use a local copy of the MiniMax-H3 text_encoder/ folder instead of the Hugging Face
cache, add --text-encoder-path <path to text_encoder>.
sglang serve --model-path MiniMaxAI/MiniMax-H3-Image --host 0.0.0.0 --port 30000 --warmup-mode off \
--num-gpus 4 --ulysses-degree 4
Request parameters
Text-to-image requests are JSON sent to /v1/images/generations. Image editing requests send
the reference images as multipart form data to /v1/images/edits; their order defines
<Picture 1>, <Picture 2>, and so on in the prompt. Both return the PNG in
data[0].b64_json. Runnable examples are in Full Workflow.
Text-to-image
Image editing
Used as given, truncated to 4096 tokens. See Full Workflow
WIDTHxHEIGHT. The returned image has exactly this size; see Sizes
One or more files
In upload order they are <Picture 1>, <Picture 2>, ... in the prompt
generator_device
cpu recommended
Same seed, same initial noise on every machine
response_format
min_generation_area
Minimum generated area in pixels, 1024-16777216, default 4194304 (2048x2048). A smaller size is generated at the same aspect ratio on a larger canvas and resized back with LANCZOS; pass 1024 to turn this off. All sizes in the table below are above the default
num_inference_steps
Other values return HTTP 400
guidance_scale
negative_prompt
Not supported
The effective working range of MiniMax-H3-Image is about 4 MP to 20 MP, and it generally gives
the best results at around 16 MP. Common 16 MP sizes are listed below:
Aspect ratio
Size (width x height)
4736x3552 / 3552x4736
5024x3360 / 3360x5024
5472x3072 / 3072x5472
Full Workflow
MiniMax-H3-Image expects a detailed English description of the whole image. The MiniMax API
turns a short prompt in any language into such a description with H3-Image-Context-IR before
generation. We also provide
MiniMax-H3-Image-PE, which can be
deployed locally.
This section reproduces the quality of images generated directly by the MiniMax API with a
locally deployed SGLang server. The scripts are in
examples/ and use only
[...内容已截断,完整版请查看原文或 Wayback 快照]