mix1009 / sdwebuiapi

Python API client for AUTOMATIC1111/stable-diffusion-webui
MIT License
1.37k stars 184 forks source link

How do I submit api.txt2img asynchronously and get the progress of the generated image? #101

Closed zdoek001 closed 1 year ago

zdoek001 commented 1 year ago

I tried a lot of issues and couldn't do it.

zdoek001 commented 1 year ago

When I set use_async=True in api.txt2img, stable diffusion will not generate images, result1.done() is always False.Use_async=False, the image will be generated normally, use_async=True seems invalid