HiDream-E1 is an interactive image editing large model officially open-sourced by HiDream-ai on April 28, 2025, built based on HiDream-I1.

It allows you to edit images using natural language. The model is released under the MIT License, supporting use in personal projects, scientific research, and commercial applications. In combination with the previously released hidream-i1, it enables creative capabilities from image generation to editing.

ComfyUI now natively supports HiDream E1. In this guide, we will help you complete the workflow example of using HiDream E1 in ComfyUI.

For reference, this workflow takes about 500s for the first run and 370s for the second run with 28 sampling steps on Google Colab L4 with 22.5GB VRAM.

HiDream-E1 Information

HiDream-E1 Model Download Currently, HiDream provides a full version. Here is the model information:

NameInference StepsResolutionHuggingFace Repository
HiDream-E1-Full28768x768🤗 HiDream-E1-Full

-Github

ComfyUI Native HiDream-e1 Workflow Example

Please upgrade your ComfyUI to the latest version (latest commit) before starting to ensure your ComfyUI has the relevant support.

1.1 Download Workflow File

Please download the image below and drag it into ComfyUI. The workflow already contains model download information, and after loading, it will prompt you to download the corresponding models.

1.2 Download Input Image

Please download the image below, which we will use as input

All models mentioned in this guide can be found here. Please download the corresponding files and save them to the appropriate folders.

The following model files are shared models that we will use. Please click the corresponding links to download and save according to the model file storage location. We will guide you to download the corresponding diffusion models in the workflow.

text_encoders:

VAE

  • ae.safetensors This is Flux’s VAE model. If you have used Flux workflows before, you may have already downloaded this file.

diffusion models

Model file storage location

📂 ComfyUI/
├── 📂 models/
│   ├── 📂 text_encoders/
│   │   ├─── clip_l_hidream.safetensors
│   │   ├─── clip_g_hidream.safetensors
│   │   ├─── t5xxl_fp8_e4m3fn_scaled.safetensors
│   │   └─── llama_3.1_8b_instruct_fp8_scaled.safetensors
│   └── 📂 vae/
│   │   └── ae.safetensors
│   └── 📂 diffusion_models/
│       └── hidream_e1_full_bf16.safetensors   

3. Complete the HiDream-e1 Workflow Step by Step

Follow these steps to complete the workflow:

  1. Make sure the Load Diffusion Model node has loaded the hidream_e1_full_bf16.safetensors model
  2. Ensure that the four corresponding text encoders are correctly loaded in the QuadrupleCLIPLoader
    • clip_l_hidream.safetensors
    • clip_g_hidream.safetensors
    • t5xxl_fp8_e4m3fn_scaled.safetensors
    • llama_3.1_8b_instruct_fp8_scaled.safetensors
  3. Make sure the Load VAE node is using the ae.safetensors file
  4. Load the input image we downloaded earlier in the Load Image node
  5. (Important) Enter the prompt for how you want to modify the image in the Empty Text Encoder(Positive) node
  6. Click the Run button, or use the shortcut Ctrl(cmd) + Enter to generate the image

Additional Notes on ComfyUI HiDream-e1 Workflow

  • You may need to modify the prompt multiple times or generate multiple times to get better results
  • This model has difficulty maintaining consistency when changing image styles, so try to make your prompts as complete as possible
  • As the model supports a resolution of 768*768, in actual testing with other dimensions, the image performance is poor or even significantly different at other dimensions