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:
-
Switch to Inpaint Upload Tab in img2img
-
Put Base image
-
Leave the default mask file input empty (You can put anything here but it will be overwritten by the script)
-
Enable 'Upload Inpaint Sketch' script
-
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:
Mask Image:
Results:
Mask Mode: Inpaint Masked
Mask Mode: Inpaint not Masked
Additional Features:
-
Mask Alpha Channel Multiplier: Controls Mask Transparency
-
Mask Image Alpha Multiplier: Controls blending strength of mask on image