ComfyUI Native HiDream-I1 Text-to-Image Workflow Example
This guide will walk you through completing a ComfyUI native HiDream-I1 text-to-image workflow example
HiDream-I1 is a text-to-image model officially open-sourced by HiDream-ai on April 7, 2025. The model has 17B parameters and is released under the MIT license, supporting personal projects, scientific research, and commercial use.
It currently performs excellently in multiple benchmark tests.
Hybrid Architecture Design
A combination of Diffusion Transformer (DiT) and Mixture of Experts (MoE) architecture:
Based on Diffusion Transformer (DiT), with dual-stream MMDiT modules processing multimodal information and single-stream DiT modules optimizing global consistency.
Dynamic routing mechanism flexibly allocates computing resources, enhancing complex scene processing capabilities and delivering excellent performance in color restoration, edge processing, and other details.
Multimodal Text Encoder Integration
Integrates four text encoders:
Llama-3.1-8B-Instruct (instruction understanding)
This combination achieves SOTA performance in complex semantic parsing of colors, quantities, spatial relationships, etc., with Chinese prompt support significantly outperforming similar open-source models.
Original Model VersionsHiDream-ai provides three versions of the HiDream-I1 model to meet different needs. Below are the links to the original model repositories:
In this example, we will use the repackaged version from ComfyOrg. You can find all the model files weβll use in this example in the HiDream-I1_ComfyUI repository.
Before starting, please update your ComfyUI version to ensure itβs at least after this commit to make sure your ComfyUI has native support for HiDream
The model requirements for different ComfyUI native HiDream-I1 workflows are basically the same, with only the diffusion models files being different.If you donβt know which version to choose, please refer to the following suggestions:
HiDream-I1-Full can generate the highest quality images
HiDream-I1-Dev balances high-quality image generation with speed
HiDream-I1-Fast can generate images in just 16 steps, suitable for scenarios requiring real-time iteration
For the dev and fast versions, negative prompts are not needed, so please set the cfg parameter to 1.0 during sampling. We have noted the corresponding parameter settings in the relevant workflows.
The full versions of all three versions require a lot of VRAM - you may need more than 27GB of VRAM to run them smoothly. In the corresponding workflow tutorials,
we will use the fp8 version as a demonstration example to ensure that most users can run it smoothly.
However, we will still provide download links for different versions of the model in the corresponding examples, and you can choose the appropriate file based on your VRAM situation.
The following model files are common files that we will use.
Please click on the corresponding links to download and save them according to the model file save location.
We will guide you to download the corresponding diffusion models in the corresponding workflows.text_encodersοΌ
Please select the appropriate version based on your hardware. Click the link and download the corresponding model file to save it to the ComfyUI/models/diffusion_models/ folder.
Please select the appropriate version based on your hardware, click the link and download the corresponding model file to save to the ComfyUI/models/diffusion_models/ folder.
Please select the appropriate version based on your hardware, click the link and download the corresponding model file to save to the ComfyUI/models/diffusion_models/ folder.