Productionize your Comfy UI Workflow
Blog post from Cerebrium
ComfyUI, a no-code interface for creating complex stable diffusion workflows, has gained popularity due to its user-friendly, modular setup and intuitive flowchart interface, leading to a wide range of community-contributed workflows. While experimenting with these workflows is straightforward, guidance on scaling them for production is limited. This tutorial explains how to use Cerebrium to deploy ComfyUI workflows to an API endpoint, enabling them to autoscale with demand and charge only for the compute used. The process involves setting up the workflow locally, exporting it to an API format, and deploying it using Cerebrium, with detailed steps provided for creating, modifying, and deploying the ComfyUI workflows. The deployment ensures that the application can handle varying demands efficiently, offering unique user experiences by generating base64 encoded images from prompts and ControlNet images.