stable-diffusion-webui-eyemask/README.md

1.8 KiB

stable-diffusion-webui-eyemask

This extension is for AUTOMATIC1111's Stable Diffusion web UI

Capabilities

  • Create mask for eyes / face / body and redraw by multiple params
  • Wildcards for mask prompt and original prompt
  • Using of different model just for masked area redraw
  • Mask padding in px or percents
  • Mask previews
  • Separate embedded version of the script (enabled from settings)
  • Batch mode support
  • Custom API routes (including serving static files)

Put all wildcards files in /wildcards dir.

Install

Use Install from URL option with this repo url.

Requirements

  • openmim==0.3.5
  • mmcv-full==1.7.1
  • mmdet==2.27.0
  • lightning-utilities==0.4.0
  • pytorch-lightning==1.7.6
  • dlib==19.24.0
  • setuptools

All requirements will be installed on first use, except for:

  • cmake - used only for dlib masks

NOTE: Some of these packages are incompatible with newer versions of lightning-utilities and pytorch-lightning. If some other extensions you use require newer versions, they will be incompatible with this extension.

Mask types

  1. Eyes dlib
  2. Face dlib
  3. Face depthmask
  4. Body depthmask
  5. Face mmdet
  6. Body mmdet

Examples

Contributing

Feel free to submit PRs to develop!