Build on ComfyUI
Run ComfyUI workflows from your own application and get the results back. The official SDKs sit on a versioned HTTP API, and the same code works against Comfy Cloud or a ComfyUI instance you host yourself.Comfy SDKs
Install the Python or TypeScript SDK, submit a workflow, and download the outputs. Currently in beta.
Deploy ComfyUI as a Server
Run ComfyUI in your own environment and expose it as an API endpoint. Learn about the WebSocket message protocol, available routes, and execution modes.ComfyUI Server API
Run ComfyUI as a server on your own machine. Start, configure, and call it via REST and WebSocket APIs.
Comfy API
The public API for running ComfyUI headlessly has evolved over time. For new integrations, use Comfy API v2. It is supported on open-source ComfyUI, Comfy Cloud, and the new Serverless API. Older versions include the v1 Cloud API, which is deprecated.Comfy API v2 Overview
The versioned HTTP API for running workflows from any language, on any surface.
Agent Tools / MCP
Connect AI agents to ComfyUI via the Model Context Protocol (MCP). Start with the hosted Cloud MCP, or use Local MCP and Comfy CLI for other setups.MCP Overview
Compare Cloud MCP, Local MCP, and Comfy CLI, and find the right setup for your AI agent integration.
Comfy CLI
Manage your ComfyUI installation, custom nodes, and workflows from the command line. Install, update, configure, and automate with ease.CLI Getting Started
Learn how to install, update, and manage ComfyUI from the terminal.