r/StableDiffusion • u/No_Literature6731 • 5d ago
Question - Help Minimax H3 Image editing using mask
Hi,
I've been trying to find a comfyui workflow to edit images using mask with Minimax H3 Image. As i've got AMD Rx 9070 16 Gb VRAM + 32 Gb RAM, I need a workflow that will work with these on Windows. I've tried various models, but they regenerate the whole image. I've heard Minimax H3 Image is the best editing model at the moment and that there is a dedicated workflow for partial image editing using a mask, but I can't find it. Can somebody please share a 100% working solution? Krea 2 workflow will also be good.
8
Upvotes
1
u/No_Literature6731 1d ago
Ended up using a qwen edit workflow. Seems to be working pretty nice with my hardware. Switching to unchained text encoder and diffusion models gives decent results
4
u/heshiming 5d ago
You don't need a workflow. You can follow these steps:
For the prompt: Replace the area marked white in <Picture 2> with ... Keep everything else in <Picture 1> intact.
(This is based on the official comfyui minimax h3 image edit workflow)
It's a bit tricky and it doesn't work every time. And if it doesn't work, many people recommend that you use a colored brush (red) to paint over the region entirely. Then prompt: Replace the red object in <Picture 1> with ... . Keep everything else intact. In this case, you don't need a second image, no mask output necessary.
I have to also say that minimax h3 image is not a good image editor, it tends to make the image noisy/dirty every time. Qwen Image 2.1 is far better.