Skip to main content
The ComfyUI Cloud Developer API provides a clean, SDK-friendly interface for running ComfyUI workflows programmatically. Use it to build applications, batch processing pipelines, or integrate AI image generation into your products.

Why Use the Developer API?

Clean REST Semantics

Designed for developers, not constrained by ComfyUI frontend compatibility

Official SDKs

Type-safe clients for Python, JavaScript, and Go

Real-time Events

WebSocket streaming for live progress updates

Webhooks

Push notifications when jobs complete

Core Concepts

Resources

Async Patterns

Many operations are asynchronous:
  1. Create - Returns 202 Accepted with resource in pending state
  2. Poll - Check status until ready or failed
  3. Use - Access the resource once ready
Or use WebSockets for real-time updates without polling.

Quick Example

Next Steps

Authentication

Get your API key and authenticate requests

Python SDK

Full Python SDK reference and examples

WebSockets

Real-time event streaming

Webhooks

Push notifications for job events