Comfyui serverless via fastapi python to generate an image

Does anyone have a good python demo code to generate an image against a serverless comfyui . I am running a hackathon for a ai Microsoft project and desperately looking for fire base that works. Anyone willing to share some code base?
4 Replies
Jason
Jason2w ago
GitHub
GitHub - blib-la/runpod-worker-comfy: ComfyUI as a serverless API o...
ComfyUI as a serverless API on RunPod. Contribute to blib-la/runpod-worker-comfy development by creating an account on GitHub.
Jason
Jason2w ago
GitHub
GitHub - blib-la/runpod-worker-comfy: ComfyUI as a serverless API o...
ComfyUI as a serverless API on RunPod. Contribute to blib-la/runpod-worker-comfy development by creating an account on GitHub.
ericmsilver
ericmsilverOP7d ago
from ssh
Jason
Jason7d ago
Yes just do curl localhost, the inputs are from comfyui The code is in that github repo, how to send a request to the comfyui directly

Did you find this page helpful?