Распродажа в Киберпонедельник: новые аккаунты получают $50 после того, как потратят первые $50; действуют ограничения. Скидка 30% на четыре собственные модели Nano Banana до 31 декабря, скидка 20% от прейскурантной цены Wan 3 до 7 декабря, наценка 0% на все модели. Как это работает

Один ключ, все модели: 366

Самый гибкий, доступный и прозрачный агрегирующий API для моделей изображений, видео, аудио и 3D (всего 366).

За последний месяц 42,6% всех видео в Comfy создано через Seedance 2.5. Это 4,4× от модели на втором месте.Смотреть рейтинг моделей

Comfy Router 1 ключ · 1 счёт
  • Google
  • OpenAI
  • ByteDance
  • Kling
  • Black Forest Labs
  • fal
  • MiniMax
  • ElevenLabs
  • Wan
  • Higgsfield
  • Runway
  • Luma
  • Recraft
  • Ideogram
  • Meshy
  • Tencent
Анимированная карта: Comfy Router направляет запросы к Google, OpenAI, ByteDance, Kling, Black Forest Labs, fal, MiniMax, ElevenLabs, Wan, Higgsfield, Runway, Luma, Recraft, Ideogram, Meshy, Tencent.
Гибкость

Одна схема для всех моделей

Меняйте модели, изменяя один ID. У популярных моделей есть резервные хосты.

Доступность

Цена разработчика без наценки

Платите за каждую генерацию столько, сколько назначил разработчик. Как?

Прозрачно

Открытые цифры

Публичные рейтинги и стоимость каждого вызова.

Надёжность

Аптайм 99,9 %

Благодаря нескольким провайдерам для аварийного переключения.

Сравнение наших цен

Посмотреть все цены

В Comfy Router наценка к рекомендованной цене составляет 0 %. Сравните с fal и Runway ML.

МодельComfy RouterРазработчик моделиfalRunway
Seedance 2.5720p$0,231/секунда$0,231/секунда$0,473/секунда+105%$0,30/секунда+30%
Seedance 2.0720p$0,151/секунда$0,151/секунда$0,3034/секунда+101%$0,30/секунда+99%
MiniMax H3768p$0,08/секунда$0,08/секундаНет в списке$0,10/секунда+25%
Kling 3.01080p pro, with audio$0,168/секунда$0,168/секунда$0,168/секунда$0,17/секунда+1%
Nano Banana Pro1K$0,0941/изображение$0,1344/изображение$0,15/изображение+59%$0,20/изображение+113%
Seedream 5.0 Pro1K$0,045/изображение$0,045/изображение$0,0675/изображение+50%$0,05/изображение+11%
ElevenLabs v3Text to speech$0,08/1 тыс. символов$0,08/1 тыс. символов$0,10/1 тыс. символов+25%$0,20/1 тыс. символов+150%
Стартовый промпт

Опишите, что вы хотите создать

Напишите одно-два предложения о своём проекте. Мы добавим их в стартовый промпт, который объяснит вашему ИИ-агенту для программирования, как создать его на Comfy Router, а затем вы сможете скопировать его или открыть в своём агенте.

Read these pages before you write any code:
https://docs.comfy.org/development/comfy-router/quickstart
https://docs.comfy.org/development/comfy-router/queue
https://docs.comfy.org/development/api-development/sdks
https://docs.comfy.org/development/comfy-router/models
https://github.com/Comfy-Org/comfy-skills/blob/main/claude-code-sdk/skills/comfy-sdk/SKILL.md

I want to build [describe your project in a sentence or two].

If this project already calls another generation API, keep its structure and swap those calls to Comfy Router: same request flow, new base URL, key and model IDs.

Build it locally with the Comfy SDK, 0.4.0 or later: Python (comfy-sdk) or TypeScript (@comfyorg/sdk). Do all generation through Comfy Router. The SDK docs also cover the Comfy Cloud workflow client; do not set that up, this project does not need it.

Setup:

- My API key is COMFY_API_KEY in a .env file in this folder. Create .env.example with COMFY_API_KEY= and add .env to .gitignore. If .env or the key is missing, tell me the exact path to put it at and keep building and testing everything that does not need live generation; wait for the key before any live API call. Never ask me to paste the key into chat.

- .env wins over my shell: load_dotenv(override=True) in Python, dotenv.config({ override: true }) in Node. Do not use node --env-file, it does not override. Keep the key on the server, never in browser JS.

SDK:

- TypeScript: import { comfy } from "@comfyorg/sdk" and use lowercase comfy.models. new Comfy(...) is the Cloud workflow client and has no .models.

- Python: use Comfy().models, or AsyncComfy().models in async code.

- Router is at https://api.comfy.org. On plain HTTP instead of the SDK: send the key as X-API-Key, POST the model's native JSON body to /v2/models/{provider}/{model} (or /v2/models/{provider}/{model}/requests to queue), and send a new Idempotency-Key UUID per generation, reusing it on retries. The SDKs do all of this for you.

- GET /v2/models lists the models this key can call. Use it as a preflight: a 401 there means the key is wrong, not the model.

- Pass input images, video and audio as public https URLs. A small image can be a data: base64 URL, but the request body is capped, so don't inline large media.

- If I have not named a model, pick one from the models page and use the provider/model ID from its table. Either way, read that model's page, or GET /v2/models/{provider}/{model}/openapi.json, for its input and output fields before writing the request.

Long-running generation:

- Router cuts a synchronous run off at 10 minutes. In Python pass timeout=660 to each models.run(...) call; Comfy(timeout=...) does not change models.run's own default. In TypeScript, run takes timeoutMs in milliseconds and its default already covers long runs, so leave it.

- If generation can outlive a web request, use models.submit(), store the model ID and request ID, and poll status() and get(), or rebuild the handle later with models.handle(model, request_id) in Python or models.handle(model, requestId) in TypeScript. A finished result is kept for 24 hours, so download any asset URLs promptly. models.subscribe() submits, polls and collects in one call, but it still waits in the calling process. Neither mode has webhooks.

- Show queued, running and finished states. Do not invent a percentage. A finished request can still carry an error_type, so surface it.

- A 402 insufficient_credits means the workspace needs credits. Tell me that instead of retrying.

When it is ready, start the app locally and walk me through one pass: generate, display the result, download it.

Перед вставкой

  1. Установите ИИ-агент для программирования, например Claude Code, а также Node 22+ или Python 3.10+.
  2. Создайте API-ключ рабочего пространства на platform.comfy.org и пополните баланс. Router оплачивается по мере использования, поэтому подписка на Cloud не нужна.
  3. Поместите ключ в файл .env под именем COMFY_API_KEY. Никогда не вставляйте его в чат.
  4. Нужна помощь? Руководства по Router доступны на docs.comfy.org.

Все ваши модели генеративных медиа в одном месте

По умолчанию все модели запускаются на Comfy; чтобы запустить их у другого провайдера, можно задать model_provider. Мы начинаем с наиболее востребованных моделей; скоро появятся новые модели и провайдеры.

МОДЕЛЬComfyfalHiggsfieldPikaRunwareWaveSpeed
GPT Image 2↗ДоступноДоступноНедоступноДоступноДоступноДоступно
GPT Image 2.5 Flare↗ДоступноДоступноНедоступноНедоступноДоступноДоступно
GPT Image 2.5 Sunburst↗ДоступноДоступноНедоступноНедоступноДоступноДоступно
Kling 3.0 Turbo↗ДоступноНедоступноДоступноНедоступноНедоступноНедоступно
Kling V3↗ДоступноНедоступноДоступноНедоступноНедоступноНедоступно
Nano Banana 2↗ДоступноДоступноНедоступноДоступноДоступноДоступно
Nano Banana Pro↗ДоступноДоступноНедоступноДоступноДоступноДоступно
Seedance 2.0↗ДоступноДоступноДоступноДоступноДоступноДоступно
Seedance 2.5↗ДоступноДоступноДоступноНедоступноДоступноДоступно
Wan 3.0 Video↗ДоступноНедоступноДоступноНедоступноНедоступноНедоступно