[Bug]: img2img (Inpaint) colors issue.
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
What happened?
There's a couple of issues related to colors being off when using img2img but none that showed exactly what I'm experiencing, and the color correction setting doesn't help.
Image used in Inpainting:

Mask (painted in the browser):

Used a simple prompt to get a pink haired character instead.
Second to last step preview image (image is dimmed overall but alright):

Final output without color correction (it's like it's patching the dimmed part on the original one):

Final output with color correction(same thing, but trying - and really failing to - correct the colors):

Steps to reproduce the problem
Just go to Inpaint, use a character on a white background, draw a mask, have it inpainted. Turn on step previews to see that the whole image shifts at the end. Notice the color issue.
Lemme know if you need something in particular.
What should have happened?
Colors should be the correct ones from start to finish?
Commit where the problem happens
b5050ad2071644f7b4c99660dc66a8a95136102f
What platforms do you use to access UI ?
Windows
What browsers do you use to access the UI ?
Mozilla Firefox
Command Line Arguments
No response
Additional information, context and logs
No response
What model did you use for the process? For me, installing specific VAE (like Anything-V3.0.vae.pt) solved that kind of problem. I didn't know about what it is, so only install ckpt and ignored the vae, then color shift occured.
Thank you very much, it indeed fixed it for me. Not sure if this would be considered a bug or not otherwise, maintainers feel free to close this as you see fit.
same problem here ? https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/5217
what if the model i'm using does not come with a vae and this is happening?
what if the model i'm using does not come with a vae and this is happening?
Maybe the model you are using is fine-tuned or merged in part from a previous one that needs VAE ? Difficult to tell without more informations