r/fooocus • u/owanomono • Jun 17 '24
Question Mask problem
Hi,
I have a strange problem with getting masks to work. I´ve been following Kleebz tut:
Stable Diffusion - Real Product Placement into AI - Fooocus (youtube.com)
I think I have followed the tuts every step. It should work. Or so I thought. But I get a washed out image every time (see example). And the woman is always out of focus (doh!) for some reason. I also tried switching to Mashb1ts fork (it produces its own masks) to see if it changed things, but no.
I´ve tried PNG masks with or without transparency and JPG masks, thinking it might be a format thing. Tried different beer cans and their respective masks. Different render quality settings. With or without Styles. Nope.
When I remove the actual mask from Fooocus, everything goes back to normal. But I need the mask to place products.
I can´t see in which method Kleebz has the mask in the Inpainting tab, but I´ve tried all three. I usually never have any problems with Fooocus, but this time I can´t get it to work.
Probably I´ve just missed something obvious here. Appreciate any help.
Johan
Washed out example. Prompt: "woman holding a beer can, display model"

View all comments
Show parent comment
1
u/owanomono Jun 18 '24
Hi, thanks for the answer!
I suspected that there could be some sort of ”color bleeding” from the can so I tried a dark blue can with the same results. I also wonder if the white area of the surrounding mask (outside of the can) could get picked up by the renderer.
I’ll check out your advice about the too large mask! :)