Baseten

Deploying custom ComfyUI workflows as APIs

Jul 25, 2024
Deploying custom ComfyUI workflows as APIs
SummaryAI, from the source post

Introduced the `build_commands` feature within Truss to allow arbitrary shell commands during the Docker image build process. This enables the installation of custom nodes, model checkpoints, and other dependencies for ComfyUI workflows, caching these during the build to reduce cold start times. The post details how to modify `config.yaml` to include these commands and how to adapt ComfyUI workflow JSONs for API compatibility.

More from the Baseten AI Model Deployment and Serving Platform trail