Overview of ComfyUI API features
mainComfyUI API is a stateless wrapper for ComfyUI that enables horizontal scaling and flexible output handling.
Key capabilities include:
- Full ComfyUI Support: Executes any API-formatted prompt, including custom nodes and workflows.
- Statelessness: Designed for scaling; handles input downloads (like images) before execution.
- Flexible Output: Supports synchronous base64 responses or asynchronous delivery via webhooks to S3-compatible storage, Azure Blob, Huggingface, or HTTP endpoints.
- Model Management: Supports dynamic model loading from URLs (with local caching), on-demand downloads via API, and automatic installation via a manifest file.
- Observability: Provides
/healthand/readyprobes, and can forward ComfyUI websocket events to a webhook. - Image Processing: Supports returning images in PNG, JPEG, or WebP formats using
sharpparameters.