WebUI extension for ControlNet. Note: (WIP), so don't expect seed reproducibility - as updates may change things.
 
 
 
 
 
Go to file
Mikubill 565447cfdb feat: make hed mode works 2023-02-13 08:21:10 +00:00
annotator feat: make hed mode works 2023-02-13 08:21:10 +00:00
models Add files via upload 2023-02-13 15:00:54 +09:00
samples feat: make hed mode works 2023-02-13 08:21:10 +00:00
scripts feat: make hed mode works 2023-02-13 08:21:10 +00:00
.gitignore feat: make canny mode works 2023-02-13 07:05:22 +00:00
README.md feat: make hed mode works 2023-02-13 08:21:10 +00:00
extract_controlnet.py feat: make canny mode works 2023-02-13 07:05:22 +00:00

README.md

sd-webui-controlnet

(WIP) WebUI extension for ControlNet

This extension is for AUTOMATIC1111's Stable Diffusion web UI, allows the Web UI to add ControlNet to the original Stable Diffusion model to generate images. The addition is on-the-fly, the merging is not required.

ControlNet is a neural network structure to control diffusion models by adding extra conditions.

Thanks & Inspired: kohya-ss/sd-webui-additional-networks

Limits

Dragging a file on the Web UI will freeze the entire page. It is better to use the upload file option instead.

Install

Some users may need to install the cv2 library before installing it: pip install opencv-python

  1. Open "Extensions" tab.
  2. Open "Install from URL" tab in the tab.
  3. Enter URL of this repo to "URL for extension's git repository".
  4. Press "Install" button.
  5. Reload/Restart Web UI.

Usage

  1. Put the ControlNet models (.pt, .pth, .ckpt or .safetensors) inside the sd-webui-controlnet/models folder.
  2. Press "Refresh models" to update the models list.
  3. Upload your image and select preprocessor, done.

Currently it supports both full models and trimmed models. Use extract_controlnet.py to extract controlnet from original .pth file.

Examples

Source Input Output