File size: 25,905 Bytes
16cc276 0c9bfbb 16cc276 4dd9522 2e23167 4dd9522 2e23167 4dd9522 e4c7fb3 4dd9522 e4c7fb3 4dd9522 e4c7fb3 4dd9522 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 |
---
license: other
pipeline_tag: image-to-image
---
[中文文档](./README_zh_CN.md)
<div align="center">
<img src="./assets/logo.png" alt="HunyuanImage-3.0 Logo" width="600">
# 🎨 HunyuanImage-3.0: A Powerful Native Multimodal Model for Image Generation
</div>
<div align="center">
<img src="./assets/banner.png" alt="HunyuanImage-3.0 Banner" width="800">
</div>
<div align="center">
<a href=https://hunyuan.tencent.com/image target="_blank"><img src=https://img.shields.io/badge/Official%20Site-333399.svg?logo=homepage height=22px></a>
<a href=https://huggingface.co/tencent/HunyuanImage-3.0-Instruct-Distil target="_blank"><img src=https://img.shields.io/badge/%F0%9F%A4%97%20Models-d96902.svg height=22px></a>
<a href=https://github.com/Tencent-Hunyuan/HunyuanImage-3.0 target="_blank"><img src= https://img.shields.io/badge/Page-bb8a2e.svg?logo=github height=22px></a>
<a href=https://arxiv.org/pdf/2509.23951 target="_blank"><img src=https://img.shields.io/badge/Report-b5212f.svg?logo=arxiv height=22px></a>
<a href=https://x.com/TencentHunyuan target="_blank"><img src=https://img.shields.io/badge/Hunyuan-black.svg?logo=x height=22px></a>
<a href=https://docs.qq.com/doc/DUVVadmhCdG9qRXBU target="_blank"><img src=https://img.shields.io/badge/📚-PromptHandBook-blue.svg?logo=book height=22px></a>
</div>
<p align="center">
👏 Join our <a href="./assets/WECHAT.md" target="_blank">WeChat</a> and <a href="https://discord.gg/ehjWMqF5wY">Discord</a> |
💻 <a href="https://hunyuan.tencent.com/chat/HunyuanDefault?from=modelSquare&modelId=Hunyuan-Image-3.0-Instruct">Official website(官网) Try our model!</a>  
</p>
## 🔥🔥🔥 News
- **January 26, 2026**: 🚀 **[HunyuanImage-3.0-Instruct-Distil](https://huggingface.co/tencent/HunyuanImage-3.0-Instruct-Distil)** - Distilled checkpoint for efficient deployment (8 steps sampling recommended).
- **January 26, 2026**: 🎉 **[HunyuanImage-3.0-Instruct](https://huggingface.co/tencent/HunyuanImage-3.0-Instruct)** - Release of **Instruct (with reasoning)** for intelligent prompt enhancement and **Image-to-Image** generation for creative editing.
- **October 30, 2025**: 🚀 **[HunyuanImage-3.0 vLLM Acceleration](./vllm_infer/README.md)** - Significantly faster inference with vLLM support.
- **September 28, 2025**: 📖 **[HunyuanImage-3.0 Technical Report](https://arxiv.org/pdf/2509.23951)** - Comprehensive technical documentation now available.
- **September 28, 2025**: 🎉 **[HunyuanImage-3.0 Open Source](https://github.com/Tencent-Hunyuan/HunyuanImage-3.0)** - Inference code and model weights publicly available.
## 🧩 Community Contributions
If you develop/use HunyuanImage-3.0 in your projects, welcome to let us know.
## 📑 Open-source Plan
- HunyuanImage-3.0 (Image Generation Model)
- [x] Inference
- [x] HunyuanImage-3.0 Checkpoints
- [x] HunyuanImage-3.0-Instruct Checkpoints (with reasoning)
- [x] vLLM Support
- [x] Distilled Checkpoints
- [x] Image-to-Image Generation
- [ ] Multi-turn Interaction
## 🗂️ Contents
- [🔥🔥🔥 News](#-news)
- [🧩 Community Contributions](#-community-contributions)
- [📑 Open-source Plan](#-open-source-plan)
- [📖 Introduction](#-introduction)
- [✨ Key Features](#-key-features)
- [🚀 Usage](#-usage)
- [📦 Environment Setup](#-environment-setup)
- [📥 Install Dependencies](#-install-dependencies)
- [HunyuanImage-3.0-Instruct](#hunyuanimage-30-instruct-instruction-reasoning-and-image-to-image-generation-including-editing-and-multi-image-fusion)
- [🔥 Quick Start with Transformers](#-quick-start-with-transformers)
- [1️⃣ Download model weights](#1-download-model-weights)
- [2️⃣ Run with Transformers](#2-run-with-transformers)
- [🏠 Local Installation & Usage](#-local-installation--usage)
- [1️⃣ Clone the Repository](#1-clone-the-repository)
- [2️⃣ Download Model Weights](#2-download-model-weights)
- [3️⃣ Run the Demo](#3-run-the-demo)
- [4️⃣ Command Line Arguments](#4-command-line-arguments)
- [5️⃣ For fewer Sampling Steps](#5-for-fewer-sampling-steps)
- [HunyuanImage-3.0 (Text-to-image)](#hunyuanimage-30-text-to-image)
- [🔥 Quick Start with Transformers](#-quick-start-with-transformers-1)
- [1️⃣ Download model weights](#1-download-model-weights-1)
- [2️⃣ Run with Transformers](#2-run-with-transformers-1)
- [🏠 Local Installation & Usage](#-local-installation--usage-1)
- [1️⃣ Clone the Repository](#1-clone-the-repository-1)
- [2️⃣ Download Model Weights](#2-download-model-weights-1)
- [3️⃣ Run the Demo](#3-run-the-demo-1)
- [4️⃣ Command Line Arguments](#4-command-line-arguments-1)
- [🎨 Interactive Gradio Demo](#-interactive-gradio-demo)
- [1️⃣ Install Gradio](#1-install-gradio)
- [2️⃣ Configure Environment](#2-configure-environment)
- [3️⃣ Launch the Web Interface](#3-launch-the-web-interface)
- [4️⃣ Access the Interface](#4-access-the-interface)
- [🧱 Models Cards](#-models-cards)
- [📊 Evaluation](#-evaluation)
- [Evaluation of HunyuanImage-3.0-Instruct](#evaluation-of-hunyuanimage-30-instruct)
- [Evaluation of HunyuanImage-3.0 (Text-to-Image)](#evaluation-of-hunyuanimage-30-text-to-image)
- [🖼️ Showcase](#-showcase)
- [Showcases of HunyuanImage-3.0-Instruct](#showcases-of-hunyuanimage-30-instruct)
- [📚 Citation](#-citation)
- [🙏 Acknowledgements](#-acknowledgements)
- [🌟🚀 Github Star History](#-github-star-history)
---
## 📖 Introduction
**HunyuanImage-3.0** is a groundbreaking native multimodal model that unifies multimodal understanding and generation within an autoregressive framework. Our text-to-image and image-to-image model achieves performance **comparable to or surpassing** leading closed-source models.
<div align="center">
<img src="./assets/framework.png" alt="HunyuanImage-3.0 Framework" width="90%">
</div>
## ✨ Key Features
* 🧠 **Unified Multimodal Architecture:** Moving beyond the prevalent DiT-based architectures, HunyuanImage-3.0 employs a unified autoregressive framework. This design enables a more direct and integrated modeling of text and image modalities, leading to surprisingly effective and contextually rich image generation.
* 🏆 **The Largest Image Generation MoE Model:** This is the largest open-source image generation Mixture of Experts (MoE) model to date. It features 64 experts and a total of 80 billion parameters, with 13 billion activated per token, significantly enhancing its capacity and performance.
* 🎨 **Superior Image Generation Performance:** Through rigorous dataset curation and advanced reinforcement learning post-training, we've achieved an optimal balance between semantic accuracy and visual excellence. The model demonstrates exceptional prompt adherence while delivering photorealistic imagery with stunning aesthetic quality and fine-grained details.
* 💭 **Intelligent Image Understanding and World-Knowledge Reasoning:** The unified multimodal architecture endows HunyuanImage-3.0 with powerful reasoning capabilities. It under stands user's input image, and leverages its extensive world knowledge to intelligently interpret user intent, automatically elaborating on sparse prompts with contextually appropriate details to produce superior, more complete visual outputs.
## 🚀 Usage
### 📦 Environment Setup
* 🐍 **Python:** 3.12+ (recommended and tested)
* ⚡ **CUDA:** 12.8
#### 📥 Install Dependencies
```bash
# 1. First install PyTorch (CUDA 12.8 Version)
pip install torch==2.8.0 torchvision==0.23.0 torchaudio==2.8.0 --index-url https://download.pytorch.org/whl/cu128
# 2. Install tencentcloud-sdk for Prompt Enhancement (PE) only for HunyuanImage-3.0 not HunyuanImage-3.0-Instruct
pip install -i https://mirrors.tencent.com/pypi/simple/ --upgrade tencentcloud-sdk-python
# 3. Then install other dependencies
pip install -r requirements.txt
```
For **up to 3x faster inference**, install these optimizations:
```bash
# FlashInfer for optimized moe inference. v0.5.0 is tested.
pip install flashinfer-python==0.5.0
```
> 💡**Installation Tips:** It is critical that the CUDA version used by PyTorch matches the system's CUDA version.
> FlashInfer relies on this compatibility when compiling kernels at runtime.
> GCC version >=9 is recommended for compiling FlashAttention and FlashInfer.
> ⚡ **Performance Tips:** These optimizations can significantly speed up your inference!
> 💡**Notation:** When FlashInfer is enabled, the first inference may be slower (about 10 minutes) due to kernel compilation. Subsequent inferences on the same machine will be much faster.
### HunyuanImage-3.0-Instruct (Instruction reasoning and Image-to-image generation, including editing and multi-image fusion)
#### 🔥 Quick Start with Transformers
##### 1️⃣ Download model weights
```bash
# Download from HuggingFace and rename the directory.
# Notice that the directory name should not contain dots, which may cause issues when loading using Transformers.
hf download tencent/HunyuanImage-3.0-Instruct-Distil --local-dir ./HunyuanImage-3-Instruct-Distil
```
##### 2️⃣ Run with Transformers
```python
from transformers import AutoModelForCausalLM
# Load the model
model_id = "./HunyuanImage-3-Instruct-Distil"
# Currently we can not load the model using HF model_id `tencent/HunyuanImage-3.0-Instruct-Distil` directly
# due to the dot in the name.
kwargs = dict(
attn_implementation="sdpa",
trust_remote_code=True,
torch_dtype="auto",
device_map="auto",
moe_impl="eager", # Use "flashinfer" if FlashInfer is installed
moe_drop_tokens=True,
)
model = AutoModelForCausalLM.from_pretrained(model_id, **kwargs)
model.load_tokenizer(model_id)
# Image-to-Image generation (TI2I)
prompt = "基于图一的logo,参考图二中冰箱贴的材质,制作一个新的冰箱贴"
input_img1 = "./assets/demo_instruct_imgs/input_1_0.png"
input_img2 = "./assets/demo_instruct_imgs/input_1_1.png"
imgs_input = [input_img1, input_img2]
cot_text, samples = model.generate_image(
prompt=prompt,
image=imgs_input,
seed=42,
image_size="auto",
use_system_prompt="en_unified",
bot_task="think_recaption", # Use "think_recaption" for reasoning and enhancement
infer_align_image_size=True, # Align output image size to input image size
diff_infer_steps=8,
verbose=2
)
# Save the generated image
samples[0].save("image_edit.png")
```
##### 4️⃣ Command Line Arguments
| Arguments | Description | Recommended |
| ----------------------- | ------------------------------------------------------------ | ----------- |
| `--prompt` | Input prompt | (Required) |
| `--image` | Image to run. For multiple images, use comma-separated paths (e.g., 'img1.png,img2.png') | (Required) |
| `--model-id` | Model path | (Required) |
| `--attn-impl` | Attention implementation. Now only support 'sdpa' | `sdpa` |
| `--moe-impl` | MoE implementation. Either `eager` or `flashinfer` | `flashinfer` |
| `--seed` | Random seed for image generation. Use None for random seed | `None` |
| `--diff-infer-steps` | Number of inference steps | `50` |
| `--image-size` | Image resolution. Can be `auto`, like `1280x768` or `16:9` | `auto` |
| `--use-system-prompt` | System prompt type. Options: `None`, `dynamic`, `en_vanilla`, `en_recaption`, `en_think_recaption`, `en_unified`, `custom` | `en_unified` |
| `--system-prompt` | Custom system prompt. Used when `--use-system-prompt` is `custom` | `None` |
| `--bot-task` | Task type. `image` for direct generation; `auto` for text; `recaption` for re-write->image; `think_recaption` for think->re-write->image | `think_recaption` |
| `--save` | Image save path | `image.png` |
| `--verbose` | Verbose level | `2` |
| `--reproduce` | Whether to reproduce the results | `True` |
| `--infer-align-image-size` | Whether to align the target image size to the src image size | `True` |
| `--max_new_tokens` | Maximum number of new tokens to generate | `2048` |
| `--use-taylor-cache` | Use Taylor Cache when sampling | `False` |
<details>
<summary> Previous Version (Pure Text-to-Image) </summary>
### HunyuanImage-3.0 (Text-to-image)
#### 🔥 Quick Start with Transformers
##### 1️⃣ Download model weights
```bash
# Download from HuggingFace and rename the directory.
# Notice that the directory name should not contain dots, which may cause issues when loading using Transformers.
hf download tencent/HunyuanImage-3.0 --local-dir ./HunyuanImage-3
```
##### 2️⃣ Run with Transformers
```python
from transformers import AutoModelForCausalLM
# Load the model
model_id = "./HunyuanImage-3"
# Currently we can not load the model using HF model_id `tencent/HunyuanImage-3.0` directly
# due to the dot in the name.
kwargs = dict(
attn_implementation="sdpa", # Use "flash_attention_2" if FlashAttention is installed
trust_remote_code=True,
torch_dtype="auto",
device_map="auto",
moe_impl="eager", # Use "flashinfer" if FlashInfer is installed
)
model = AutoModelForCausalLM.from_pretrained(model_id, **kwargs)
model.load_tokenizer(model_id)
# generate the image
prompt = "A brown and white dog is running on the grass"
image = model.generate_image(prompt=prompt, stream=True)
image.save("image.png")
```
#### 🏠 Local Installation & Usage
##### 1️⃣ Clone the Repository
```bash
git clone https://github.com/Tencent-Hunyuan/HunyuanImage-3.0.git
cd HunyuanImage-3.0/
```
##### 2️⃣ Download Model Weights
```bash
# Download from HuggingFace
hf download tencent/HunyuanImage-3.0 --local-dir ./HunyuanImage-3
```
##### 3️⃣ Run the Demo
The Pretrain Checkpoint does not automatically rewrite or enhance input prompts, for optimal results currently, we recommend community partners to use deepseek to rewrite the prompts. You can go to [Tencent Cloud](https://cloud.tencent.com/document/product/1772/115963#.E5.BF.AB.E9.80.9F.E6.8E.A5.E5.85.A5) to apply for an API Key.
```bash
# Without PE
export MODEL_PATH="./HunyuanImage-3"
python3 run_image_gen.py \
--model-id $MODEL_PATH \
--verbose 1 \
--prompt "A brown and white dog is running on the grass" \
--bot-task image \
--image-size "1024x1024" \
--save ./image.png \
--moe-impl flashinfer
# With PE
export DEEPSEEK_KEY_ID="your_deepseek_key_id"
export DEEPSEEK_KEY_SECRET="your_deepseek_key_secret"
export MODEL_PATH="./HunyuanImage-3"
python3 run_image_gen.py \
--model-id $MODEL_PATH \
--verbose 1 \
--prompt "A brown and white dog is running on the grass" \
--bot-task image \
--image-size "1024x1024" \
--save ./image.png \
--moe-impl flashinfer \
--rewrite 1
```
##### 4️⃣ Command Line Arguments
| Arguments | Description | Recommended |
| ----------------------- | ------------------------------------------------------------ | ----------- |
| `--prompt` | Input prompt | (Required) |
| `--model-id` | Model path | (Required) |
| `--attn-impl` | Attention implementation. Either `sdpa` or `flash_attention_2`. | `sdpa` |
| `--moe-impl` | MoE implementation. Either `eager` or `flashinfer` | `flashinfer` |
| `--seed` | Random seed for image generation | `None` |
| `--diff-infer-steps` | Diffusion infer steps | `50` |
| `--image-size` | Image resolution. Can be `auto`, like `1280x768` or `16:9` | `auto` |
| `--save` | Image save path. | `image.png` |
| `--verbose` | Verbose level. 0: No log; 1: log inference information. | `0` |
| `--rewrite` | Whether to enable rewriting | `1` |
#### 🎨 Interactive Gradio Demo
Launch an interactive web interface for easy text-to-image generation.
##### 1️⃣ Install Gradio
```bash
pip install gradio>=4.21.0
```
##### 2️⃣ Configure Environment
```bash
# Set your model path
export MODEL_ID="path/to/your/model"
# Optional: Configure GPU usage (default: 0,1,2,3)
export GPUS="0,1,2,3"
# Optional: Configure host and port (default: 0.0.0.0:443)
export HOST="0.0.0.0"
export PORT="443"
```
##### 3️⃣ Launch the Web Interface
**Basic Launch:**
```bash
sh run_app.sh
```
**With Performance Optimizations:**
```bash
# Use both optimizations for maximum performance
sh run_app.sh --moe-impl flashinfer --attn-impl flash_attention_2
```
##### 4️⃣ Access the Interface
> 🌐 **Web Interface:** Open your browser and navigate to `http://localhost:443` (or your configured port)
## 🧱 Models Cards
| Model | Params | Download | Recommended VRAM | Supported |
|---------------------------| --- | --- | --- | --- |
| HunyuanImage-3.0 | 80B total (13B active) | [HuggingFace](https://huggingface.co/tencent/HunyuanImage-3.0) | ≥ 3 × 80 GB | ✅ Text-to-Image
| HunyuanImage-3.0-Instruct | 80B total (13B active) | [HuggingFace](https://huggingface.co/tencent/HunyuanImage-3.0-Instruct) | ≥ 8 × 80 GB | ✅ Text-to-Image<br>✅ Text-Image-to-Image<br>✅ Prompt Self-Rewrite <br>✅ CoT Think
| HunyuanImage-3.0-Instruct-Distil | 80B total (13B active) | [HuggingFace](https://huggingface.co/tencent/HunyuanImage-3.0-Instruct-Distil) | ≥ 8 × 80 GB |✅ Text-to-Image<br>✅ Text-Image-to-Image<br>✅ Prompt Self-Rewrite <br>✅ CoT Think <br>✅ Fewer sampling steps (8 steps recommended)
Notes:
- Install performance extras (FlashAttention, FlashInfer) for faster inference.
- Multi‑GPU inference is recommended for the Base model.
</details>
## 📊 Evaluation
### Evaluation of HunyuanImage-3.0-Instruct
* 👥 **GSB (Human Evaluation)**
We adopted the GSB (Good/Same/Bad) evaluation method commonly used to assess the relative performance between two models from an overall image perception perspective. In total, we utilized 1,000+ single- and multi-images editing cases, generating an equal number of image samples for all compared models in a single run. For a fair comparison, we conducted inference only once for each prompt, avoiding any cherry-picking of results. When comparing with the baseline methods, we maintained the default settings for all selected models. The evaluation was performed by more than 100 professional evaluators.
<p align="center">
<img src="./assets/gsb_instruct.png" width=60% alt="Human Evaluation with Other Models">
</p>
### Evaluation of HunyuanImage-3.0 (Text-to-Image)
* 🤖 **SSAE (Machine Evaluation)**
SSAE (Structured Semantic Alignment Evaluation) is an intelligent evaluation metric for image-text alignment based on advanced multimodal large language models (MLLMs). We extracted 3500 key points across 12 categories, then used multimodal large language models to automatically evaluate and score by comparing the generated images with these key points based on the visual content of the images. Mean Image Accuracy represents the image-wise average score across all key points, while Global Accuracy directly calculates the average score across all key points.
<p align="center">
<img src="./assets/ssae_side_by_side_comparison.png" width=98% alt="Human Evaluation with Other Models">
</p>
<p align="center">
<img src="./assets/ssae_side_by_side_heatmap.png" width=98% alt="Human Evaluation with Other Models">
</p>
* 👥 **GSB (Human Evaluation)**
We adopted the GSB (Good/Same/Bad) evaluation method commonly used to assess the relative performance between two models from an overall image perception perspective. In total, we utilized 1,000 text prompts, generating an equal number of image samples for all compared models in a single run. For a fair comparison, we conducted inference only once for each prompt, avoiding any cherry-picking of results. When comparing with the baseline methods, we maintained the default settings for all selected models. The evaluation was performed by more than 100 professional evaluators.
<p align="center">
<img src="./assets/gsb.png" width=98% alt="Human Evaluation with Other Models">
</p>
## 🖼️ Showcase
Our model can follow complex instructions to generate high‑quality, creative images.
<div align="center">
<img src="./assets/banner_all.jpg" width=100% alt="HunyuanImage 3.0 Demo">
</div>
For text-to-image showcases in HunyuanImage-3.0, click the following links:
- [HunyuanImage-3.0](./Hunyuan-Image3.md)
### Showcases of HunyuanImage-3.0-Instruct
HunyuanImage-3.0-Instruct demonstrates powerful capabilities in intelligent image generation and editing. The following showcases highlight its core features:
* 🧠 **Intelligent Visual Understanding and Reasoning (CoT Think)**: The model performs structured thinking to analyze user's input image and prompt, expand user's intent and editing tasks into a stucture, comprehnsive instructions, and leading to a better image generation and editing performance.
breaking down complex prompts and editing tasks into detailed visual components including subject, composition, lighting, color palette, and style.
* ✏️ **Prompt Self-Rewrite**: Automatically enhances sparse or vague prompts into professional-grade, detail-rich descriptions that capture the user's intent more accurately.
* 🎨 **Text-to-Image (T2I)**: Generates high-quality images from text prompts with exceptional prompt adherence and photorealistic quality.
* 🖼️ **Image-to-Image (TI2I)**: Supports creative image editing, including adding elements, removing objects, modifying styles, and seamless background replacement while preserving key visual elements.
* 🔀 **Multi-Image Fusion**: Intelligently combines multiple reference images (up to 3 inputs) to create coherent composite images that integrate visual elements from different sources.
**Showcase 1: Detailed Thought and Reasoning Process**
<div align="center">
<img src="./assets/pg_instruct_imgs/cot_ti2i.gif" alt="HunyuanImage-3.0-Instruct Showcase 1" width="90%">
</div>
**Showcase 2: Creative T2I Generation with Complex Scene Understanding**
> Prompt: 3D 毛绒质感拟人化马,暖棕浅棕肌理,穿藏蓝西装、白衬衫,戴深棕手套;疲惫带期待,坐于电脑前,旁置印 "HAPPY AGAIN" 的马克杯。橙红渐变背景,配超大号藏蓝粗体 "马上下班",叠加米黄 "Happy New Year" 并标 "(2026)"。橙红为主,藏蓝米黄撞色,毛绒温暖柔和。
<div align="center">
<img src="./assets/pg_instruct_imgs/image0.png" alt="HunyuanImage-3.0-Instruct Showcase 2" width="75%">
</div>
**Showcase 3: Precise Image Editing with Element Preservation**
<div align="center">
<img src="./assets/pg_instruct_imgs/image1.png" alt="HunyuanImage-3.0-Instruct Showcase 3" width="85%">
</div>
**Showcase 4: Style Transformation with Thematic Enhancement**
<div align="center">
<img src="./assets/pg_instruct_imgs/image2.png" alt="HunyuanImage-3.0-Instruct Showcase 4" width="85%">
</div>
**Showcase 5: Advanced Style Transfer and Product Mockup Generation**
<div align="center">
<img src="./assets/pg_instruct_imgs/image3.png" alt="HunyuanImage-3.0-Instruct Showcase 5" width="85%">
</div>
**Showcase 6: Multi-Image Fusion and Creative Composition**
<div align="center">
<img src="./assets/pg_instruct_imgs/image4.png" alt="HunyuanImage-3.0-Instruct Showcase 6" width="85%">
</div>
## 📚 Citation
If you find HunyuanImage-3.0 useful in your research, please cite our work:
```bibtex
@article{cao2025hunyuanimage,
title={HunyuanImage 3.0 Technical Report},
author={Cao, Siyu and Chen, Hangting and Chen, Peng and Cheng, Yiji and Cui, Yutao and Deng, Xinchi and Dong, Ying and Gong, Kipper and Gu, Tianpeng and Gu, Xiusen and others},
journal={arXiv preprint arXiv:2509.23951},
year={2025}
}
```
## 🙏 Acknowledgements
We extend our heartfelt gratitude to the following open-source projects and communities for their invaluable contributions:
* 🤗 [Transformers](https://github.com/huggingface/transformers) - State-of-the-art NLP library
* 🎨 [Diffusers](https://github.com/huggingface/diffusers) - Diffusion models library
* 🌐 [HuggingFace](https://huggingface.co/) - AI model hub and community
* ⚡ [FlashAttention](https://github.com/Dao-AILab/flash-attention) - Memory-efficient attention
* 🚀 [FlashInfer](https://github.com/flashinfer-ai/flashinfer) - Optimized inference engine
## 🌟🚀 Github Star History
[](https://github.com/Tencent-Hunyuan/HunyuanImage-3.0)
[](https://github.com/Tencent-Hunyuan/HunyuanImage-3.0)
[](https://www.star-history.com/#Tencent-Hunyuan/HunyuanImage-3.0&Date)
|