> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-matt-router-pricing-pika-and-guard.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Comfy API 版本：v2 与已弃用的 v1 Cloud API

> 对比各版本 Comfy API：推荐用于无界面运行 ComfyUI 工作流的 v2 HTTP API，以及已弃用的 v1 Cloud API。

用于无界面运行 ComfyUI 的公开 API 历经多次演进。对于新的集成，请使用 [Comfy API v2](/zh/api-reference/v2/overview)。开源版 ComfyUI 通过 [API 代理](/zh/development/comfyui-server/api-proxy)提供该 API，Comfy Cloud 和[开发者平台上的 Comfy API 部署](/zh/development/serverless/overview)也支持该 API。更早的版本包括 [v1 Cloud API](/zh/development/cloud/overview)，该版本已弃用。

<CardGroup cols={2}>
  <Card title="Comfy API v2" icon="cloud" href="/zh/api-reference/v2/overview">
    版本化的 HTTP API，可用任意语言、在任意平台上运行工作流。从这里开始。
  </Card>

  <Card title="v1 Cloud API（已弃用）" icon="clock-rotate-left" href="/zh/development/cloud/overview">
    较早的 Comfy Cloud API，现有集成仍可使用。
  </Card>
</CardGroup>

另请参阅：[Comfy API 部署](/zh/development/serverless/overview) · [Comfy SDK](/zh/development/api-development/sdks) · [获取 API 密钥](/zh/development/api-development/getting-an-api-key)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.