Example for how to communicate with ComfyUI via API and Websocket
clone this repo
git clone https://github.com/4rmx/comfyui-api-ws
and install dependency
npm install
or
yarn install
this workflow required costom_node https://github.com/BlenderNeko/ComfyUI_ADV_CLIP_emb
start ComfyUI server
You may use args --listen
if you want to make the server listen to network connections.
or use args --port
to make the server listen on a specific port.
and then change your ComfyUI server endpoint at file /src/config
feel free to navigate the example eg.
node src/01_api_basic.js