#Webapp with ComfyUI
7 messages · Page 1 of 1 (latest)
A pod
How do you upload the file to the pod?
I guess the easiest thing I can think of is trigger your upload and then send the request to some API also running on the pod
Honestly, don’t know technically. I generated the code and it uses Runpod Enpoind to connect to the pod. I guess it’s similar way.
You can trigger comfyui workflow using the comfyui endpoint like how a comfyui in your browser sends a request to comfyui backend
I have done the same thing, the logic goes something like we need to first upload the image to the input directory of comfyui where primarily all the image should be stored.
https://{server_address}/upload/image
Upload the image using this url, and before storing the image there make sure that you using the same name that you have mentioned in your workflow.