Home

Awesome

Stable Diffusion WebUI Canvas Editor

A custom extension for AUTOMATIC1111/stable-diffusion-webui that integrated a full capability canvas editor which you can use layer, text, image, elements and so on, then send image to or receive image from img2img/inpaint or send image to ContronNet, basing on Polotno.
1.png controlnet.png

Installation

Just like you install other extension of webui:

  1. go to Extensions -> Install from URL
  2. paste this repo link
  3. install
  4. go to Installed, apply and restart UI

or you can just find it from Extensions-> Available, and load the offical index URL, this extension is already included in it: <img width="741" alt="image" src="https://user-images.githubusercontent.com/860985/231926610-0b096e92-68d8-4f90-9ec1-7727ce111356.png">

Key Feature

  1. Full capability image editor, such as Effects, Crop, Position, Lock, etc
  2. Templates
  3. Text
  4. Photos
  5. Elements
  6. Upload
  7. Background
  8. Layers
  9. load your local sd generated images as library directly
  10. send image to or receive image from img2img/inpaint
  11. send image to ContronNet

panels.png

Further Plan

  1. rebuild Polotno (Done)
  2. Send image to img2img, Sketch, Inpaint, etc (Done)
  3. Pen and eraser support
  4. connect to Segment Anything to segment image
  5. any suggestions or requirements are welcome

Polotno API Key

I included my Polotno api key, notice it only supports local environment (localhost or 127.0.0.1) for non-commercial purpose. It is easy to create your own free api key from Polotno API, then you can replace mine from webui Settings -> Canvas Editor

Credits

Created by jtydhr88 basing on Polotno.

My other extension for stable diffusion webui