ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

Pipeline for setting up final output as a REST API endpoint

Open yosun opened this issue 2 years ago • 1 comments

?

yosun avatar May 24 '23 19:05 yosun

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!

dcsan avatar Jun 10 '23 16:06 dcsan

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?

ardha27 avatar Nov 14 '23 09:11 ardha27