The most powerful and modular visual AI engine and application.
This repository is a fork of ComfyUI, which properly implements HunyuanImage2.1.
ComfyUI lets you design and execute advanced stable diffusion pipelines using a graph/nodes/flowchart based interface. Available on Windows, Linux, and macOS.
Clone this repository and installing dependencies:
git clone git@github.com:KimbingNg/ComfyUI-HunyuanImage2.1.git
pip3 install -r requirements.txtRun ComfyUI:
python3 main.py --listen --port 443Download the following models and place them in the appropriate ComfyUI directories:
Download and put in your ComfyUI/models/text_encoders directory:
Download and put in your ComfyUI/models/vae directory:
- hunyuan_image_2.1_vae_fp16.safetensors
- Optional (for refiner): hunyuan_image_refiner_vae_fp16.safetensors
Download and put in your ComfyUI/models/diffusion_models directory:
You can then load up or drag the following workflow in ComfyUI:
-
Non-distill model workflow (50-100 steps inference): hunyuan_image_2.1_workflow.json
-
Distill model workflow (faster speed with 8-step inference but slightly lower quality): hunyuan_image_2.1_distill_workflow.json