Skip to content

amrrs/stable-diffusion-prompt-inpainting

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
September 20, 2022 01:54

stable-diffusion-prompt-inpainting

This project helps you do prompt-based inpainting without having to paint the mask - using Stable Diffusion and Clipseg

Open In Colab

It's currently a notebook based project but we can convert it into a Gradio Web UI.

It takes 3 mandatory inputs.

  1. Input Image URL
  2. Prompt of the part in the input image that you want to replace
  3. Output Prompt

There are certain parameters that you can tune

  1. Mask Precision
  2. Stable Diffusion Generation Strength

Step-by-Step Tutorial - https://www.youtube.com/watch?v=bv1Wur3DvZ0

Inital Req:

Requires:

  • GPU (runs fine on Google Colab Tesla T4)

Credit:

Sample Work:

patttinson

About

This project helps you do prompt-based inpainting without having to paint the mask - using Stable Diffusion and Clipseg

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published