Hosting RunPod as an API endpoint

I have hosted the workflow from the runpod pods service. Is there any way to host it as an api endpoint or work as a script based on the user input?
2 Replies
Cristian
CristianOP3w ago
@kapa.ai how can I run the workflow using a python script? Even the pod or from any other backend server
nerdylive
nerdylive3w ago
Sure Use comfyui as a serverless worker you can Use a premade serverless worker image or code from github or make your own Or use pods and just expose the port, then you can connect as usual to the url ( you get the url from connect button ) If you don't see the port in connect button you must expose it ( from edit pod menu )
Want results from more Discord servers?
Add your server