Uminosachi / sd-webui-inpaint-anything

Inpaint Anything extension performs stable diffusion inpainting on a browser UI using masks from Segment Anything.
Apache License 2.0
1.14k stars 102 forks source link
ai-art anything diffusers diffusion extension generative-art gradio huggingface huggingface-diffusers image-generation image2image img2img inpaint inpaint-anything inpainting latent-diffusion segment segment-anything segmentation stable-diffusion

Inpaint Anything for Stable Diffusion Web UI

Inpaint Anything extension performs stable diffusion inpainting on a browser UI using any mask selected from the output of Segment Anything.

Using Segment Anything enables users to specify masks by simply pointing to the desired areas, instead of manually filling them in. This can increase the efficiency and accuracy of the mask creation process, leading to potentially higher-quality inpainting results while saving time and effort.

Standalone version

Installation

To install the software, please follow these steps:

Running the application

Downloading the Model

Usage

Mask Adjustment

Inpainting Tab

Tips

Model Cache

Cleaner Tab

Inpainting webui Tab

ControlNet Inpaint Tab

Mask only Tab

UI image

Auto-saving images

Development

With the Inpaint Anything library, you can perform segmentation and create masks using sketches from other extensions.

License

The source code is licensed under the Apache 2.0 license.

References