---
title: "Comfy API"
description: "Comfy is the AI creation engine for visual professionals who demand control."
canonical: https://comfy.org/api/
lang: en
index: https://comfy.org/llms.txt
---

Need more power? [TRY COMFY CLOUD](https://cloud.comfy.org/) Powerful GPUs, same workflow, same results, from anywhere.

API

# Turn any workflow into a production endpoint.

Design your workflows. Deploy them as API calls. Automate generation, integrate with your systems, and scale to thousands of outputs on Comfy Cloud.

[GET API KEYS](https://platform.comfy.org/profile/api-keys) [VIEW DOCS](https://docs.comfy.org/development/cloud/overview#quick-start) [TRY COMFY SDK](https://docs.comfy.org/development/api-development/sdks)

## The automation layer for professional-grade visual AI

To transform ComfyUI from a powerful tool to reliable infrastructure.

### Automate what can't be manual

Trigger generation when a user uploads a photo. Process an entire product catalog overnight. Swap a character’s expression across 500 frames.

The API is for running workflows inside other systems — triggered by code, not by a person at a keyboard.

![Automate what can't be manual](https://media.comfy.org/website/api/infrastructure-nodes.webp)

### Inject dynamic values at runtime

Pass a different face, a different product, a different brand palette into the same pipeline — consistent, controlled output every time.

The workflow stays fixed. The inputs change.

![Inject dynamic values at runtime](https://media.comfy.org/website/enterprise/dark-fluid-texture.webp)

### Integrate ComfyUI into the rest of your stack

Generation is usually one step in a larger system. Fetch input from S3, call the ComfyUI API, post-process the result, write it to a database, and notify a team.

![Integrate ComfyUI into the rest of your stack](https://media.comfy.org/website/api/precision-tools.webp)

## Three steps to production

![Design the workflow](https://media.comfy.org/website/enterprise/enterprise_node_1.webp)

01

### Design the workflow

Build and test in the ComfyUI interface — locally or on Comfy Cloud. When it works, export the API format.

![Submit via API](https://media.comfy.org/website/enterprise/enterprise_node_2.webp)

02

### Submit via API

Send the workflow JSON or a single request to the API endpoint. Modify inputs programmatically — prompts, seeds, images, any parameter on any node.

![Monitor and Retrieve](https://media.comfy.org/website/api/logo-multicolor.webp)

03

### Monitor and Retrieve

Track progress in real time over WebSocket. Download the finished output when the job completes.

[GET API KEYS](https://platform.comfy.org/profile/api-keys) [VIEW DOCS](https://docs.comfy.org/development/cloud/overview#quick-start)

## Deploy on Comfy Cloud — no servers to manage.

Comfy Cloud API gives you a managed infrastructure so you can focus on the workflow, not the hardware.

### Powerful GPUs on demand

Heavy video generation, complex multi-step pipelines, large batch jobs.

### One API key. Immediate access.

No environment setup, no model downloads, no GPU procurement.

### Open models & partner models through one endpoint

Open-source models alongside partner models like Kling, Luma, Nano Banana, Grok, and Runway — all with one credit balance.

### Real-time progress

Step-by-step execution updates and live previews during generation via WebSocket.

Products

## The AI creation engine for complete control

Over every model, every node, every step, every output.

[Comfy Desktop

Run ComfyUI on your own hardware.

SEE DESKTOP FEATURES](https://comfy.org/download) [Comfy Cloud

The full power of ComfyUI from anywhere.

SEE CLOUD FEATURES](https://comfy.org/cloud) [Comfy Enterprise

Enterprise-grade infrastructure for the creative engine inside your organization.

SEE ENTERPRISE FEATURES](https://comfy.org/cloud/enterprise)
