https://github.com/amrrs/stable-diffusion-prompt-inpainting Skip to content Toggle navigation Sign up * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code + Explore + All features + Documentation + GitHub Skills + Changelog * Solutions + By Plan + Enterprise + Teams + Compare all + By Solution + CI/CD & Automation + DevOps + DevSecOps + Case Studies + Customer Stories + Resources * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles + Repositories + Topics + Trending + Collections * Pricing [ ] * # In this repository All GitHub | Jump to | * No suggested jump to results * # In this repository All GitHub | Jump to | * # In this user All GitHub | Jump to | * # In this repository All GitHub | Jump to | Sign in Sign up {{ message }} amrrs / stable-diffusion-prompt-inpainting Public * Notifications * Fork 1 * Star 41 This project helps you do prompt-based inpainting without having to paint the mask - using Stable Diffusion and Clipseg 41 stars 1 fork Star Notifications * Code * Issues 0 * Pull requests 0 * Actions * Projects 0 * Security * Insights More * Code * Issues * Pull requests * Actions * Projects * Security * Insights amrrs/stable-diffusion-prompt-inpainting This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. main Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags 1 branch 0 tags Code * Clone HTTPS GitHub CLI [https://github.com/a] Use Git or checkout with SVN using the web URL. [gh repo clone amrrs/] Work fast with our official CLI. Learn more. * Open with GitHub Desktop * Download ZIP Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching Xcode If nothing happens, download Xcode and try again. Launching Visual Studio Code Your codespace will open once ready. There was a problem preparing your codespace, please try again. Latest commit @amrrs amrrs Update README.md ... d82145b Sep 19, 2022 Update README.md d82145b Git stats * 7 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time Prompt_based_Image_In_Painting_powered_by_ClipSeg.ipynb Add files via upload Sep 19, 2022 README.md Update README.md Sep 19, 2022 View code stable-diffusion-prompt-inpainting Inital Req: Requires: Credit: Sample Work: README.md 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: * If you are using Stable Diffusion from Hugging Face for the first time, You need to accept ToS on the Model Page and Get your Token from your user profile Requires: * GPU (runs fine on Google Colab Tesla T4) Credit: * Clipseg Model Weights - https://github.com/timojl/clipseg * Stable Diffusion In-painting - https://www.youtube.com/watch?v= N913hReVxMM Sample Work: patttinson About This project helps you do prompt-based inpainting without having to paint the mask - using Stable Diffusion and Clipseg Resources Readme Stars 41 stars Watchers 3 watching Forks 1 fork Releases No releases published Packages 0 No packages published Languages * Jupyter Notebook 100.0% Footer (c) 2022 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.