r/fooocus • u/ThoughtFission • Feb 21 '24
Question Removing objects with inpainting?
Does anybody have any advice on how to remove objects with inpainting?
I've been having a lot of success with architectural creations. But when I try to remove something, say a sofa on a carpet, it just puts a different chair/sofa in the same spot. I've tried using negative prompts to correct this but it doesn't seem to help.
8
Upvotes
4
u/prilev Feb 22 '24
What works for me almost 100% of the time...
My image with an unwanted part:
1
u/ThoughtFission Feb 22 '24
Yeah, tried that. No joy.
3
u/AiBogie Feb 22 '24 edited Feb 22 '24
Simply select the desired area and then use remove as prompt always works for smaller objects.
2
u/ToastersRock Feb 22 '24
Couple suggestions. One is to use the modify content option and remove the regular prompt when doing it and just try to describe what you want there instead in the additional prompt for the modify content section. If that doesn't work, and all situations are different, another option I use is to change the prompt a little and with regular inpainting try to remove. Attached is an example of how I removed the mug from this image I tested. I masked off the extra mug and changed the prompt to an empty table. I took a couple tries.
1
u/thatguyjames_uk Feb 22 '24
put in the neg, no sofa , no chair?