SakeTami
Innovate Futures @ Benji
Innovate Futures @ Benji

patreon


ComfyUI API Endpoint Call Python Script

Attached Python script for API Endpoint call to ComfyUI API Endpoint.

Related Tutorial : https://www.youtube.com/watch?v=7ODVE7So7j0

Check out the setup steps in this tutorial video, unzip this script in your computer, run it, and you are good to go.


Install Websocket client in ComfyUI Python

----------------------------------------------------------------------

cd C:\ComfyUI\python_embeded\


python.exe -m pip install websocket-client



Execute Command

----------------------------------------------------------------------

cd you API client script path.


C:\ComfyUI\python_embeded\python.exe websockets_api_example.py


Comments

Would you be willing to create a Python script like this, running my workflow 100%, where it takes an image as input and outputs a video? I am willing to pay for it.

Matheus Lasmar

Why do you choose Runpod? Any specific features they have for your web app?

Benjamin Law

Do you know how to use Cloud GPU(RunPod) for web application? I am thinking to use ComfyUI as a backend but no knowledge about GPU and deployment things..

hi mizu


More Creators