I made an open-source Python library for the Stable Diffusion Web UI. It's a direct alternative to Huggingface Diffusers except it has more features + runs the same scripts as A1111 so the results are replicable. Please give it a star on Github! https://github.com/saketh12/Auto1111SDK