Baseten

How to serve your ComfyUI model behind an API endpoint

Dec 8, 2023
How to serve your ComfyUI model behind an API endpoint
SummaryAI, from the source post

This post details the process of deploying ComfyUI image generation pipelines as API endpoints using Baseten and Truss. It explains how to export ComfyUI workflows in an API-compatible JSON format, package them with Truss by adding the workflow JSON and linking model weights via build commands, and deploy them to Baseten. It also provides a Python script for calling the deployed API and generating images, demonstrating the use of positive_prompt, negative_prompt, controlnet_image, and seed parameters.

More from the Baseten AI Model Deployment and Serving Platform trail