> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Comfy API

> The public API for running ComfyUI workflows headlessly

The public API for running ComfyUI headlessly has evolved over time. For new integrations, use [Comfy API v2](/api-reference/v2/overview). It is supported on open-source ComfyUI, Comfy Cloud, and the new [Serverless API](/development/serverless/overview). Older versions include the [v1 Cloud API](/development/cloud/overview), which is deprecated.

<CardGroup cols={2}>
  <Card title="Comfy API v2" icon="cloud" href="/api-reference/v2/overview">
    The versioned HTTP API for running workflows from any language, on any surface. Start here.
  </Card>

  <Card title="v1 Cloud API (deprecated)" icon="clock-rotate-left" href="/development/cloud/overview">
    The older Comfy Cloud API, still available for existing integrations.
  </Card>
</CardGroup>

See also: [Serverless API](/development/serverless/overview) · [Comfy SDKs](/development/api-development/sdks) · [Getting an API Key](/development/api-development/getting-an-api-key)
