Comfy APIs: an overview

Last updated: September 29, 2026

This article explains the different APIs available across Comfy.

Q. What APIs does Comfy provide?

Comfy provides different APIs depending on your use case:

  • Comfy API → Deploy your own ComfyUI workflow as an autoscaling API endpoint

  • Comfy Router → Call hosted image and video models through one API, billed per request

  • Comfy API v2 + SDKs → Run workflows from your own code, on Comfy Cloud, Comfy API deployments, or your own ComfyUI

  • Local Server API → Talk directly to your own ComfyUI instance

  • Registry API → Publish and manage custom nodes


Q. Which API should I use?

Choose based on what you're building:

  • An app or pipeline that runs your own workflow → Comfy API

  • Calling a hosted model directly, without a workflow → Comfy Router

  • Running workflows on Comfy Cloud from code → Comfy API v2 with the Python or TypeScript SDK

  • Self-hosting / custom frontend / full control of your own instance → Local Server API

  • Publishing custom nodes → Registry API

💡 Comfy API, Comfy Router, and Comfy API v2 all use your Comfy API key. Registry publishing uses a separate key.


Q. What is Comfy API?

Comfy API packages your workflow, custom nodes, models, and dependencies into an endpoint that runs on managed GPUs and scales up and down with demand. It's available on all paid Comfy plans, starting with Standard, and you pay per second for the GPU time you use.

👉 See Comfy API: deploy your ComfyUI workflow as an API


Q. Can I run workflows on Comfy Cloud through an API?

Yes. Use Comfy API v2, ideally through the official Python or TypeScript SDKs.

Please note:

  • Running workflows on Comfy Cloud through the API requires a paid Comfy Cloud subscription

  • Cloud usage consumes Comfy Credits

  • The older v1 Cloud API is deprecated. It still works for existing integrations, but new integrations should use Comfy API v2

👉 See Comfy Docs - Comfy SDKs

👉 See Comfy Docs - Comfy API v2


Q. What is Comfy Router?

Comfy Router gives you one API for hosted image and video models. Each request draws credits from your workspace balance, and no subscription is needed.

👉 See Comfy Docs - Comfy Router quickstart


Q. Can I run Partner Nodes through APIs?

Yes.

Workflows using Partner Nodes require authentication when called programmatically.

👉 See Comfy Docs - API Key Integration

👉 See Comfy Docs - Partner Nodes


Q. Where can I learn more?