Skip to content

sddebz/auto-sd-paint-ext

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

auto-sd-paint-ext

Formerly known as auto-sd-krita.

Extension for AUTOMATIC1111's webUI with Krita Plugin (other drawing studios soon?)

Outdated demo New UI (TODO: demo image)
demo image demo image 2

Why use this?

  • Optimized workflow (txt2img, img2img, inpaint, outpaint, upscale) & UI design.
  • Only drawing studio plugin that exposes the Script API.
  • Easily create/save profiles (prompts, samplers, model, etc used).
  • Some of the above isn't actually implemented yet.

Quick Jump

(Outdated) Usage & Workflow Demo:

Youtube Video

Differences

  • UI no longer freezes during image update
  • Inpainting experience is better
  • UI has been improved & squeezed further
  • Scripts API is now possible

Breaking Changes

FAQ

Q: How does the base_size, max_size system work?

A:

It is an alternative to AUTO's highres fix that works for all modes, not just txt2img.

The selection will be resized such that the shorter dimension is base_size. However, if the aforementioned resize causes the longer dimension to exceed max_size, the shorter dimension will be resized to less than base_size. Setting base_size and max_size higher can be used to generate higher resolution images (along with their issues), essentially disabling the system, though it might make sense for img2img mode.

This is actually smarter than the builtin highres fix + firstphase width/height system. Thank the original plugin writer, @sddebz, for writing this.


Q: Outpainting?

A: No outpainting MK2 yet, but nothing stopping you from doing basic outpainting. 1) expand canvas 2) scribble in blank area 3) img2img on blank area + some of image.


Q: Is the model loaded into memory twice?

A: No, it shares the same backend. Both the Krita plugin and webUI can be used concurrently.


Q: How can you commit to updating regularly?

A: It is easy for me.


Q: Will it work with other Krita plugin backends?

A: Unfortunately no, all plugins so far have different APIs. The official API is coming soon though...

UI Changelog

2022-11-08

2022-10-31

  • Moved base size/max size & some other quick config options based on user feedback.

2022-10-25

  • Will now save previous tab user was on.
  • Fixed seed being truncated to 32-bit int.
  • Prevent sending image generation request when cannot connect to backend.

2022-10-24

  • UI no longer freezes when generating images or network activity like getting backend config
    • Pressing "start xxx" multiple times will queue generation requests on the backend
    • Will not mess with the current selection region or layer when inserting images once done

2022-10-21

  • No need to manually hide inpainting layer anymore; It will be auto-hidden.
  • Color correction can be toggled separately for img2img/inpainting.
  • Status bar:
    • In middle of page to be more visible even when scrolling.
    • Warning when using features with no document open.
  • Inpaint is now the default tab.

Credits

License

MIT for the Krita Plugin backend server & frontend plugin. Code has been nearly completely rewritten compared to original plugin by now.

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.3%
  • HTML 0.7%