Closed albseb511 closed 1 month ago
Okay i seem to have got it working
{
prompt: json,
client_id: client_id
}
for websockets
/ws?clientId='+client_id
Check the link here https://github.com/comfyanonymous/ComfyUI/blob/master/script_examples/websockets_api_example.py
@albseb511 what else did you have to do to get this to work? I'm running the default ComfyUI locally with the Save Image (Websocket) node at the end of my workflow. In Postman I get a connection to the ComfyUI websocket (ws://127.0.0.1:8188/ws?clientId=ebd88b88-7e30-4322-bf10-762f8e18a40e
). This is the response I get:
{"type": "status", "data": {"status": {"exec_info": {"queue_remaining": 0}}, "sid": "ebd88b88-7e30-4322-bf10-762f8e18a40e"}}
but when I send the prompt in the format you have above with this client_id
I never get a message response. Wondering if I'm missing a step.
Hi i have setup node
I am receiving updates
I am not able to get the images data here, how do i get it?
how i am doing it is, i have a frontend -> hits my backend -> connects on ws, and makes the prompts apis for comfynodes.
response from api
can you help me with documentation here?