Open yosun opened 1 year ago
the server already exposes an endpoint https://github.com/comfyanonymous/ComfyUI/blob/master/script_examples/basic_api_example.py
once the server is running it exposes an endpoint on $PORT which you can post a JSON file to with your workflow, models etc.
if you stand up on runpod the default template is on 3000, so modify the script here.
is that what you're looking for?
I'm also trying to get this working with LoRAs etc, let me know how it goes!
the server already exposes an endpoint https://github.com/comfyanonymous/ComfyUI/blob/master/script_examples/basic_api_example.py
once the server is running it exposes an endpoint on $PORT which you can post a JSON file to with your workflow, models etc.
if you stand up on runpod the default template is on 3000, so modify the script here.
is that what you're looking for?
I'm also trying to get this working with LoRAs etc, let me know how it goes!
what i need to change when i run it on runpod?
?