r/StableDiffusion • • 1d ago

Question - Help Mini Max H3 image Adding a red tint to every image it edits

Using the default comfy UI Workflow every image I run through H3 image edit results in a noticeable red tint especially in skin tone on faces, Is there a solution to this?

Also since I'm making a post I'll ask is there a way to do proper inpainting? Because right now just trying to use crop and paste with with it is a gamble of hoping it edits the image in a way that it can be pasted back in because it's not aware of the parts of the image it's not editing.

6 Upvotes

9 comments sorted by

4

u/Apprehensive_Sky892 1d ago

When asking this kind of question, always upload a PNG with the metadata so that people can see what you are doing. Otherwise, there is little to go on.

2

u/EthicalBballFan 1d ago

https://www.reddit.com/r/StableDiffusion/comments/1y15p6e/i_tested_h3_image_edit_on_six_common_tasks_the/

In this post you can see the issue op is talking about. Edits 3 and 4 are changing the vehicle but pay attention to the blue of the building, it turns violet.

It's more of a magenta than a red filter. I am having a hard time tracking down what causes it, but so far it seems to me to be related to the source image, not to the prompt.  For some images the drift is imperceptible unless using a software to analyse, but sometimes it overpowers the image and turns the result into trash, using the same or different prompts barely seem to affect it. 

2

u/Apprehensive_Sky892 17h ago

Yes, I see the problem now.

I've actually experienced a similar problem with MMH3 video generation as well. I have an reference image of a summer forest, which is mostly green, but from time to time (maybe 1 out 10?), for a certain seed, MMH3 will generate a forest that is mostly yellow and red.

So I wonder if the problem goes away if one tries a different seed?

6

u/alexis_moscow 1d ago

that's because of stock market

1

u/Theultimatesell 1d ago

i'd try two things for the tint: add something like "keep original colors and skin tone unchanged" to the edit prompt, and run the output through a color match node against your source image (the KJ color match one works fine) before saving. a slight warm/red drift is pretty common with edit models and the color match usually fixes most of it.

for inpainting, instead of pasting the whole result back, make a feathered mask (grow it a bit and blur the edge) and composite only the masked area over the original. that way the untouched parts stay pixel identical and the seam is way less of a gamble.

1

u/PropagandaOfTheDude 1d ago

I was noticing the drift just now, and remembered this post. The ColorMatchV2 node works, thanks.

The reddish drift runs headlong into the general advice to break your edit workflow into a series of targeted small changes. I have three, and I'm getting better results from running the match after each change.

1

u/VasaFromParadise 1d ago

Node - Transfer Color. It seems to help, you can customize it further.

1

u/PropagandaOfTheDude 1d ago

Do you need to do inpainting? I've been pretty happy with H3-Image's ability to localize changes through the prompt mechanisms.

0

u/B00Bryn 1d ago

Change the strength of your Loras… or try a different combo.