HunyuanImage-3.0 (base) for ComfyUI
The pretrained base model: plain text-to-image, without instruction tuning. It was not trained for prompt rewriting or editing.
These are Tencent's tencent/HunyuanImage-3.0 weights converted to single-file checkpoints that run natively in ComfyUI through the ComfyUI-HunyuanImage3 custom nodes, with ComfyUI's own samplers, memory management and offloading. The model has 80B parameters (13B active per token), so on consumer GPUs it streams its weights from system RAM. Tested on an RTX 4090 and an RTX 3090 (24 GB each) with 188 GB of RAM; with the W4A8 file loaded, ComfyUI held about 50 GB of system RAM. The Instruct-Distil W4A8 also runs within 16 GB and 12 GB of VRAM, about 15–20 % slower (details).
Instruct-Distil, Instruct and Base at their recommended settings, W4A8. Compare every image across the three models, the three weight formats and Spectrum; speed tables, prompt rewriting and editing are in the GitHub README.
Speed: ~4 min 58 s per 1024×1024 image at 50 steps (W4A8, one RTX 4090), or ~1 min 27 s with the Spectrum node.
Which file do I need?
Most people should start with the Instruct-Distil: it renders in 8 steps (about 26 s per image instead of about 5 minutes) on the same hardware. If you want this model, take hunyuan_image_3_base_w4a8.safetensors (the smallest and fastest) and the VAE; the model's config.json and tokenizer.json ship with the custom nodes.
| File | Format | Size | Notes |
|---|---|---|---|
hunyuan_image_3_base_w4a8.safetensors |
W4A8 | 43.6 GiB | Recommended. 4-bit weights, 8-bit activations; fits the 24 GB-card workflow best |
hunyuan_image_3_base_int8_convrot.safetensors |
int8 ConvRot | 76.2 GiB | 8-bit weights, closer to the original (1 % weight error vs 7 % for W4A8); ~1.9× slower per step |
hunyuan_image_3_base_bf16.safetensors |
bf16 | 150.5 GiB | Unquantized reference, tensor-for-tensor identical to Tencent's weights |
hunyuan_image_3_base_cot_head.safetensors |
bf16 | 1.0 GiB | the text head, only for prompt rewriting |
vae/hunyuan_image_3_vae_fp16.safetensors |
fp16 | 2.3 GiB | the VAE (identical for all three models); _fp32 also provided |
clip_vision/hunyuan_image_3_base_siglip2_so400m_naflex.safetensors |
bf16 | 0.8 GiB | vision tower, for image editing |
This model was not trained to rewrite prompts, so the Prompt Rewriting node skips it. Its text head (hunyuan_image_3_base_cot_head.safetensors) is published for completeness.
Text-to-image only. The vision tower is included for completeness.
Quick start
- Install the custom nodes: clone https://github.com/PedroMarinhoDev/ComfyUI-HunyuanImage3 into
ComfyUI/custom_nodes/and restart ComfyUI. - Put the files in ComfyUI's model folders:
models/diffusion_models/: the checkpoint (and thecot_headfile for prompt rewriting)models/vae/:hunyuan_image_3_vae_fp16.safetensorsmodels/clip_vision/: the vision tower (image editing only)
- Open this model's example workflow from the repo's
workflows/folder (hunyuan_image_3_base_txt2img.json). Each has a Read me note listing these files. The loader recognizes the model from its weights, so there is nothing else to set.
Recommended sampling: 50 steps, euler / simple, cfg 5.0, with no system prompt (Tencent's default for this model; the encoder handles it).
Speed, comparisons and every node option are in the GitHub README.
What was changed
These files are modified versions of Tencent's release, as the license requires us to state:
- The original sharded bf16 checkpoint was re-laid out as single files. Per-expert weights are stacked into one bank per layer and projection, and the key names follow the ComfyUI port.
- W4A8: expert and dense projection weights quantized to 4-bit (fp8 per-group scales, ConvRot rotation, per-expert Lloyd-Max codebooks), activations to 8-bit. int8 ConvRot: 8-bit per-channel with ConvRot rotation. Embeddings, norms, the router and the output head stay bf16.
- The VAE, the SigLIP2 vision tower and the text head (
lm_head,model.ln_f, used only for prompt rewriting) are split into their own files; thecot_headfile carries the head. - No weights were retrained or fine-tuned. The conversion scripts are in the GitHub repo (
tools/convert_all.py).
License
The weights are under the Tencent Hunyuan Community License Agreement, inherited from tencent/HunyuanImage-3.0; see also NOTICE.
The license does not apply in the European Union, the United Kingdom or South Korea, and grants no rights there. It also carries an Acceptable Use Policy (in the LICENSE, Exhibit A) and conditions for services with over 100 million monthly active users. Read it before use.
Tencent Hunyuan is licensed under the Tencent Hunyuan Community License Agreement, Copyright © 2025 Tencent. All Rights Reserved. The trademark rights of “Tencent Hunyuan” are owned by Tencent or its affiliate.
Credits
HunyuanImage-3.0 by Tencent Hunyuan. ComfyUI port and conversions: ComfyUI-HunyuanImage3.
Model tree for PedroMarinhoDev/HunyuanImage-3.0-Base-ComfyUI
Base model
tencent/HunyuanImage-3.0