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
| Resource | Description |
|---|---|
| Inputs | Files you upload for use in workflows (images, masks, etc.) |
| Models | Custom models you bring (BYOM - Bring Your Own Model) |
| Jobs | Workflow executions |
| Outputs | Generated files from completed jobs |
| Archives | Bulk ZIP downloads of multiple job outputs |
| Webhooks | Event notifications to your server |
Async Patterns
Many operations are asynchronous:- Create - Returns
202 Acceptedwith resource in pending state - Poll - Check status until
readyorfailed - Use - Access the resource once ready