blib-la / runpod-worker-comfy

ComfyUI as a serverless API on RunPod
GNU Affero General Public License v3.0
285 stars 190 forks source link

Use the websocket-API to get notified when the workflow is complete #36

Open TimPietrusky opened 5 months ago

TimPietrusky commented 5 months ago

ComfyUI provides a WebSocket-API that can be used to get notified when the workflow is completed. We should use that instead of polling, because it might be way faster.

Gursehaj commented 2 weeks ago

Maybe you can take some inspiration from this runpod-serverless-comfyui-worker