ComfyUI-to-API

BETA

Convert ComfyUI workflows into production-ready serverless APIs on Runpod

Free to use, only pay for Serverless usage on Runpod.

How It Works: 5 Steps

Automated process from local ComfyUI workflow to a deployable API.

Step 1: Upload Workflow.json

Upload your ComfyUI `workflow.json` (not the API-specific version).

Step 2: Workflow Analysis

The system analyzes your workflow to identify required custom nodes, models, and other assets. Missing items will be reported.

Step 3: Dockerfile Generation

A Dockerfile is generated, configured for your workflow to ensure compatibility and performance.

Step 4: GitHub Repo Creation

Connect your GitHub account to create a new private repository for your Dockerfile, workflow, and related files.

Step 5: Deploy to Runpod

Connect the new GitHub repo to a Runpod Serverless Endpoint. Runpod builds and deploys the API, with auto-updates from your repo.

Why This Tool Is Awesome

Handles the tricky parts of deploying ComfyUI workflows, so you can build faster.

Smart Workflow Analysis

Automatically detects custom nodes, models, and dependencies. Our `comfy-agent` uses the `comfy-registry` (nodes), `comfy-model-registry` (models), and Brave Search to find components, minimizing manual configuration.

Optimized Dockerfiles

Generates tailored Docker environments for efficient and reliable API execution.

Seamless GitHub Integration

Creates a GitHub repository for your project, enabling version control and collaboration.

Rapid Deployment

Quickly deploy your ComfyUI workflow as a live API endpoint on Runpod.

Scalable & Serverless

Utilizes Runpod's serverless infrastructure for cost-effective, auto-scaling APIs.

Runpod Ready

Streamlines deployment on Runpod.

Help Us Improve

Our automated agent does its best, but it can sometimes make mistakes. If you encounter a bug, have a feature request, or want to share feedback, please let us know!