Skip to content

asd417/UploadInpaintSketch-Automatic1111

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

UploadInpaintSketch-Automatic1111

Inpaint Upload but for Sketch

Sick and tired of the built-in painting feature in inpaint sketch so I wrote this to edit the mask externally.

Installation

scripts/inpaint_upload_sketch.py

Usage:

  1. Switch to Inpaint Upload Tab in img2img

  2. Put Base image

  3. Leave the default mask file input empty (You can put anything here but it will be overwritten by the script)

  4. Enable 'Upload Inpaint Sketch' script

  5. Check Enable checkbox and upload your transparent mask here.

Note:

Your 'Mask Mode' option will apply normally.

Your 'Mask Blur' option will not apply. The intention of this script is to use external program to finetune your mask including the blur effect. May add this feature later.

Example: (Example images generated by PastelMix)

Base Image:

base_image

Mask Image:

transparent image

Results:

Mask Mode: Inpaint Masked

00052-1062298568

Mask Mode: Inpaint not Masked

00053-498094752

Additional Features:

  • Mask Alpha Channel Multiplier: Controls Mask Transparency

  • Mask Image Alpha Multiplier: Controls blending strength of mask on image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages