ComfyUI
ComfyUI copied to clipboard
support flask api like webui ?
The api is meant to be both stateless and asynchronous because some workflows can take minutes to complete.
Here's an example how to use it: https://github.com/comfyanonymous/ComfyUI/blob/master/script_examples/websockets_api_example.py
This is very good! by the way, Is there a synchronous example? just one request wait for one img response? @comfyanonymous