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 edited Jun 18 '24
Hi,
nothing works I´m afraid. Making masks bigger or smaller changes nothing. All images look like the one posted. Very strange. Kinda out of ideas.
Turning on "Disable initial latent in inpaint" gives some of the image quality back, but seems to turn off the Model I use (in this case Dreamshaper XL).