Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

Expose API #279

Closed
Yonben opened this issue Sep 5, 2022 · 2 comments
Closed

Expose API #279

Yonben opened this issue Sep 5, 2022 · 2 comments

Comments

@Yonben
Copy link

Yonben commented Sep 5, 2022

Hi,
I wonder if there's a way to expose the API. Looking at the network it's all in websockets, and running directly the scripts from the CLI seems undocumented. Once I ran 'webui.py' headlessly, how to communicate with its API?

My goal is to create a small project communicating directly with my local SD, maybe there's a better way to achieve that?

Thanks!

@TingTingin
Copy link

lstein might be a better fit for something like this they have a python script that you can import into you project and use for generation https://github.com/lstein/stable-diffusion

@Yonben
Copy link
Author

Yonben commented Sep 5, 2022

Thanks!

@Yonben Yonben closed this as completed Sep 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants