stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

Added an endpoint for loading weights from a different model

Open cantrell opened this issue 2 years ago • 2 comments

I'd like to add support for the WebUI API into the Stability Photoshop plugin, but I need to be able to swap weights in and out via the REST API. I've added a simple endpoint for setting weights.

cantrell avatar Nov 13 '22 18:11 cantrell

I think PR #4301 does this too.

Kilvoctu avatar Nov 13 '22 20:11 Kilvoctu

Would love to see support for this repo in your plugin, @cantrell! Nice work!

FYI, the plugin is (at least currently) free and very well made. (Demo video timestamped to some Stable Diffusion examples from his site.)

WebDev9000 avatar Nov 13 '22 22:11 WebDev9000

Thanks, @WebDev9000. Integration with A1111 is one of the biggest feature requests. My hope is to deprecate support for my own server if this works out.

cantrell avatar Nov 15 '22 16:11 cantrell

with the latest commit it should be possible to change model at runtime by just setting the setting via API like you normally do in UI so I'm closing this

AUTOMATIC1111 avatar Nov 19 '22 12:11 AUTOMATIC1111