> ## 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 Router 使用 Kelly Seedance 2.0 Fast

> 通过 Comfy Router 调用 kelly/kelly-seedance-2.0-fast：端点、请求形状以及 Router 返回的响应。

`kelly/kelly-seedance-2.0-fast` 的 API 参考，该模型由 Comfy Router 提供，来源为 Kelly。

**输入：** 文本、图像、视频、音频 · **输出：** 视频 + 音频

## 请求设置

在[你的 Comfy 工作区](https://platform.comfy.org/profile/api-keys?onboarding=router)中创建密钥，并将其导出为 `COMFY_API_KEY`。Python 请运行 `pip install comfy-sdk`。TypeScript 请运行 `npm install @comfyorg/sdk`。cURL 使用原始 HTTP。

**模型 ID：** `kelly/kelly-seedance-2.0-fast`

**端点：** `POST https://api.comfy.org/v2/models/kelly/kelly-seedance-2.0-fast`

> [!NOTE]
>
> Router 尚未为此模型发布编写的输入 schema，因此没有可用于生成代码片段的请求示例。Router 会将请求体原样转发给 Kelly：请根据 Kelly 自己的 API 文档构建请求体，然后按照 [Router 快速入门](https://docs.comfy.org/zh/development/comfy-router/quickstart.md) 发送。

## Schema

### 输入

> [!NOTE]
>
> Router 尚未为此模型发布编写的输入 schema：`GET /v2/models/kelly/kelly-seedance-2.0-fast/openapi.json` 返回一个开放对象，其中 `x-comfy-input-schema-authored: false`。Router 会将请求体原样转发给 Kelly，因此 Kelly 自己的 API 文档对请求字段具有权威性，Router 不会执行模型特定的输入验证。提供商验证仍然适用。

### 输出

*此 schema 未声明任何命名属性。*

## 发布前须知

SDK 会生成 `Idempotency-Key` 并在自动重试中复用它。手动重试时，请复用原始 key。Router 最长可保持连接 10 分钟。

请求失败时，Router 会发送 `X-Comfy-Error-Type` 响应头说明原因。`422` 表示 Router 在调用提供商之前就拒绝了输入，`413` 表示请求体超出了 Router 可接受的大小。已生成的资源请及时下载，因为[结果 URL 会过期](https://docs.comfy.org/zh/development/comfy-router/reference.md#结果资产)。

上文任何字段描述中提到的尺寸限制，都是提供商对该字段自身的限定，引自提供商的规范。Router 会对整个请求体另行设置上限，base64 编码的媒体内容也计入其中：参见[请求体大小](https://docs.comfy.org/zh/development/comfy-router/limitations.md)。

本页记录的是通过 Comfy Router 调用的某一个合作伙伴模型。同一个 `comfy-sdk` / `@comfyorg/sdk` 包还提供第二个客户端，用于在 Comfy Cloud 上运行完整的 ComfyUI 工作流图：`Comfy(api_key=...)` / `new Comfy({ apiKey })`，并带有 `client.workflows`、`client.assets` 和 `client.jobs`。请参阅 [Comfy SDKs](https://docs.comfy.org/zh/development/api-development/sdks.md)。

> [card] [请求头](https://docs.comfy.org/zh/development/comfy-router/headers.md)
>
> 身份验证、幂等性、请求 ID、错误分类、重试节奏、消费限额。

> [card] [使用 Router API](https://docs.comfy.org/zh/development/comfy-router/api.md)
>
> 模型发现、验证错误、重试与计费。

> [card] [限制](https://docs.comfy.org/zh/development/comfy-router/limitations.md)
>
> Router 目前不支持的功能，以及替代方案。


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