Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tutorial]: Guidelines to apply Inpaint Anything to Stable Diffusion WebUI #60

Open
continue-revolution opened this issue Apr 23, 2023 · 1 comment

Comments

@continue-revolution
Copy link
Owner

continue-revolution commented Apr 23, 2023

#58 mentions Inpaint Anything, but Inpaint Anything has actually been supported even in the earliest version of this extension. Given that ControlNet inpainting model has already been connected to this extension, you should expect a far better preformance if you use this extension + ControlNet extension + a good base model without the need of downloading a huge, annoying and general-purposed inpainting model.

For Remove Anything and Fill Anything, they are just mask+inpainting. Go to img2img, use point prompts and/or text prompts to get your mask, check copy to inpaint and copy to ControlNet inpaint, select appropriate index of ControlNet panel associated to inpainting, write your prompt and click Generate.

For Replace Anything, it is just mask+inpaint not masked. The only thing you need to do more is to check inpaint not masked in the img2img panel, everything else should remain the same.

That's it! Simple and easy, not mysterious at all which their big fantasy name sounds like!

My plan is to support all interesting applications which connect SAM to Stable Diffusion. When #57 is merged to master branch, you should be able to try almost all of the interesting applications which apply both SAM and Stable Diffusion. If you find another interesting application but have no idea how to use in stable diffusion, submit an issue like #58 and I can see whether I should update once more or write a tutorial like this to guide you how to do it.

@dilong9595
Copy link

fill anything and replace anything are all success. but remove anything cannot. can you provide a detail demo?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants