Skip to content

ayush-thakur02/xl-inpainting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Stable Diffusion XL Inpainting

Static Badge Stable Diffuison Stable Diffuison

Stable Diffusion XL Inpainting is an image inpainting tool based on the Stable Diffusion generative model, designed to fill in missing or corrupted parts of an image with realistic and high-quality content. This project leverages the power of deep learning to perform inpainting tasks and offers state-of-the-art results.

Make Sure to follow me:

Github BioLink

Table of Contents

Installation

You can Also Try on Google Colab for free. Open Notebook:

Colab

Before using Stable Diffusion XL Inpainting, you need to set up the required environment. You can do this by following these steps:

  1. Clone the repository:

    git clone https://github.com/ayush-thakur02/xl-inpainting.git
    cd xl-inpainting
  2. Install the necessary dependencies. It is recommended to use a virtual environment:

    python -m venv venv
    source venv/bin/activate  # On Windows, use 'venv\Scripts\activate'
    pip install -r requirements.txt

Usage

To use Stable Diffusion XL Inpainting, simply run the following command in your terminal:

python inpaint.py

This command will launch the application, and a Gradio link will appear, allowing you to interactively inpaint images using the Stable Diffusion generative model. Gradio provides an intuitive and user-friendly interface for selecting input images, specifying masks, and instantly generating inpainted results. It streamlines the inpainting process and makes it accessible to users with minimal technical expertise.

Results Sample

Below is an example of inpainting results achieved with Stable Diffusion XL Inpainting:

Input Image

Input Image

Output Image

Output Image (Inpainting Result)

Contribute

If you come across any errors or bugs, please don't hesitate to reach out via email, or feel free to create an issue ticket. Also, if you have any ideas or suggestions for enhancements, we'd love to hear from you. Your feedback and contributions are invaluable in improving this resource. Thank you for your collaboration in making this even better! 😊

About

Stable Diffusion XL Inpainting

Topics

Resources

Stars

Watchers

Forks

Languages