Home Creators Posts Import Register Favorites Logout

Downloads

Content

Video - https://youtu.be/PY0u9iISPyw

Overview

HiDream E1 - https://github.com/HiDream-ai/HiDream-E1 - is an instruction-based image editing model.

This is their example with a variety of images and instructions:

Give it any image along with some instructions, and let it work it's magic! Change styles, remove objects, add objects, change objects - all without masking.

Having now done a load of tests, this is about as fast as it gets so far!

The example run below took just 39 seconds on my 3090. Compared to the ComfyUI Example default workflow (which takes around 2 minutes), that makes it over 65% faster!

"Give her cool looking sunglasses and change the background to be a beach during summer."

I also found the default CFG of 5 in https://docs.comfy.org/tutorials/advanced/hidream-e1#comfyui-native-hidream-e1-workflow-example to bleach images a bit too much, making everything too bright. Down at 2.5, things seem a bit more chilled.

To figure out the best settings for things, I compared various options with a range of input images using this beast of a workflow:

"Give her a very hairy moustache and pink sunglasses"

The split sigmas option is closest to the ComfyUI Example Workflow output, but is still just a bit faster as it doesn't use the triple conditioning for half the time. There is some change too, depending on if the input image is a painting, photo or sketch, so some tweaking may be required.

For testing the "prompt enhancer" I went with Gemma3. They have code to split the LLM output but seeing as this is ComfyUI, I just changed the instructions to emulate the code :/

"Change her hair into fire!"

Links

Original Repo - https://github.com/HiDream-ai/HiDream-E1

Original Model - https://huggingface.co/spaces/HiDream-ai/HiDream-E1-Full

ComfyUI Example Workflow - https://docs.comfy.org/tutorials/advanced/hidream-e1#comfyui-native-hidream-e1-workflow-example

ComfyUI HiDream E1 bf16 - https://huggingface.co/Comfy-Org/HiDream-I1_ComfyUI/blob/main/split_files/diffusion_models/hidream_e1_full_bf16.safetensors

HiDream E1 GGUF Options - https://huggingface.co/ND911/HiDream_e1_full_bf16-ggufs/tree/main

Workflows

For an example input image, try https://pixabay.com/photos/fashion-portrait-model-woman-charm-3059143/

IMG2IMG_Single_v0 is the basic, fast version. 8-20 steps is generally OK, so up to around 1 min on a 3090.

IMG2IMG_Multi-Compare_v0 is for comparing various options. It includes the fast version, the default version, the default with lower cfg, the default with lower cfg and fewer steps, and a split-sigmas option. Ideal if you want to play around and change loads of stuff to see what happens compared to your other settings.

IMG2IMG_Single_LLM_v0 is the fast version but with the "prompt enhancer" too. Varies a lot depending on the Ollama vision model you use, but Gemma 3 is pretty decent. Needs https://ollama.com/ up and running first!

Files

Comments

Tim Stephens

Hey, new subscriber. Always enjoyed the vids. That said, the Q5 GGUF models don't wanna work on the output with my "Shadow PC" *real pc doesn't work at this level*. They give off some Starry Night Picasso fever dream of an image with a vague hint of what was supposed to be added to the picture, but nothing to say of the OG image. The speed is there though.

eduardo

cant get the workflow to follow the instructions .. tried it with multiple images and hidreams just sems to generate a random image,,, any idea why?

Neil H.

Thank you so much! It is working well on my end. Is it possible to use IPadapter with HiDream? And if so, how would that be set up?