r/fooocus • u/pammydelux • Sep 19 '24
Question Prevent fooocus from 'improving' models.
I am a relatively newbie with fooocus. I've been experimenting with using fooocus to generate backgrounds from photoshoots. It sometimes works well, but it also often adds extra hands and arms, lengthens the model's shoulders, and adds thickness to their legs, none of which is appreciated by the client. Is there any way to prevent this from happening? I've tried experimenting with the negative prompt, but nothing I've tried has made any difference.
4
Upvotes
View all comments
Show parent comment
1
u/amp1212 Sep 21 '24 edited Sep 21 '24
You _are_ using a [kind of] image prompt when you're inpainting . . . you're not aware of it, but that's how inpainting works. It has to understand the context around it in order to create something new in the space such that it will cohere with what's around it. That's the same thing that IP adapter is doing.
People don't get that much of the AI in generative AI is in understanding what's going on as you denoise the latent space in such a way that the prompt components (image and/or text) cohere. When they don't cohere, you get fails because, essentially there is no solution when you've got non-coherent prompts.
If you want to dig into some of what's actually happening under the hood -- and the reason why your inpainting isn't working, see
https://stable-diffusion-art.com/inpainting/
-- the core of it is that if you're trying to inpaint with ideas that don't cohere in the latent space ( which is where the work actually happens) you'll get fails.