Interpause / auto-sd-krita

AUTOMATIC1111 webUI + Krita Plugin with superb Inpainting
MIT License
88 stars 4 forks source link

Expose Script API: This was as difficult as I expected #43

Closed Interpause closed 2 years ago

Interpause commented 2 years ago

AUTOMATIC1111's script implementation doesn't expose any metadata about the parameters accepted by scripts. So I had to write a function to inspect the GUI generated by the script to extract that metadata myself.

Did you know it is surprisingly hard to create dynamic GUIs in pyQt? But I did it anyways.

And with that, all the scripts are exposed.

See tracking issue Interpause/auto-sd-paint-ext#4 for what has been tested to work so far.