Head to head · Image generation · October 2026 research run
ComfyUI vs Google Imagen
Google Imagen shut down on 2026-08-17. ComfyUI scores 64.5 (B) on agent readiness against Google Imagen's 6.8 (F), and leads in every scored category. Both do image generation.
Best image generation for AI agents · All 210 image comparisons
Which one, for what
ComfyUI B
Best for A person or a pipeline that runs graph-based image, video and audio workflows on its own GPU and wants a reproducible JSON graph.
Ahead on
- Reliability, 59 against 0
- Schema & documentation, 77 against 25
- Agent ergonomics, 60 against 0
- Security & auth, 34 against 0
- Payments & pricing, 90 against 0
- Maintenance & community, 80 against 5
- Transparency & trust, 71 against 60
Also in its favour
- Still running. Google Imagen has shut down
- No key needed to call it
- Open source
- No incidents deducted, where Google Imagen loses 3 points for them
Watch for
The server has no built-in sign-in, so --listen exposes every route, including uploads and queueing, to the network
Best for Nothing new. It shut down on 2026-08-17.
Also in its favour
- A hosted endpoint, with nothing to install
Watch for
Discontinued. Google lists the Imagen endpoints as shut down on both the Gemini API and Vertex AI
Why the edge
Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.
Payments & pricing ComfyUI +90
ComfyUI 90
Read with the self-hosted rule, since the API an agent calls is the free local server. No x402, MPP or L402 in the docs, pricing page or source (0). The server and Comfy Desktop are free under GPL-3.0 with no account, key or card, so 30, 30 and 30 on the last three lines. Comfy Cloud, the v2 hosted API and partner nodes would score lower. They have public plans (Standard $20 a month, Creator $35, Pro $100, Team $700) and per-second GPU prices, and a Free plan gives 5 runs, but a person signs up with Google or GitHub in a browser and a paid plan is needed after the 5 runs. 0 + 30 + 30 + 30 = 90.
Google Imagen 0
Nothing to buy. No machine payment protocol when it ran (0). The Vertex AI pricing address now redirects to the Model Garden pricing page, which on 11 November 2026 still listed Imagen 4 Ultra at $0.06, Imagen 4 at $0.04, Imagen 4 Fast at $0.02 and Imagen 4 upscaling at $0.06 an image, with rows for Imagen 3, 2 and 1 and no discontinuation note, more than four months after Vertex discontinued them. That's a price for a product you can't call (0). No free tier (0). Human sign-up and billing account (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 0 is 0.
Maintenance & community ComfyUI +75
ComfyUI 80
The docs changelog lists v0.46.4 on 28 November 2026, a day before this check (30 of 30). It lists 40 versions between 30 August and 28 November 2026 (20 of 20). The default branch had commits on 31 days in the month to 29 November 2026 from 22 authors, and pull-request review workflows exist, but issue and pull-request reply times weren't read (12 of 25). Official Python and TypeScript SDKs and comfy-cli are named in the docs, and the PyPI release dates of the SDKs weren't read (10 of 15). CI exists, the frontend and template packages are pinned in requirements.txt and the dependency status wasn't read (8 of 10). 30 + 20 + 12 + 10 + 8 = 80.
Google Imagen 5
Read on the model lines. No release since Imagen 4 went GA on 14 August 2025 (changelog, re-read on 11 November) and none to come (0). Notice was 98 days on Vertex AI (announced 24 March 2026, discontinued 30 June 2026, per the 17 October check) and 63 days on the Gemini API (announced 15 June 2026, shut down 17 August 2026), short for a model that had been GA for under a year (0). The public changelog still carries the dated Imagen entries (5). Official SDKs no longer reach the model (0). 0+0+5+0 = 5.
Agent ergonomics ComfyUI +60
ComfyUI 60
Read for an API. GET /api/jobs takes limit, offset, status and sort, and history can be cut with max items, but GET /object_info returns every node in one response and there are no field selectors (14 of 25). Pagination is on the jobs, assets and history routes, and filters exist for status and tags (14 of 20). Validation errors name the node (node_errors), 400, 402, 403 and 429 are described in the spec, and the WebSocket sends execution_error messages. The messages page wasn't read (12 of 20). Comfy API v2 makes submission idempotent and resumable by job id. The local /prompt has no idempotency key and the local server has no MCP annotations (8 of 20). Official Python and TypeScript SDKs, and defaults that run a graph with one required field, but the SDKs speak v2 and a self-hosted server needs comfy-api-proxy (12 of 15). 14 + 14 + 12 + 8 + 12 = 60. The 43-tool cloud MCP server would score 5 on size under the MCP line and isn't what the score rests on.
Google Imagen 0
Nothing callable remains, so context cost, error handling and retries can't be assessed (0).
Reliability ComfyUI +59
ComfyUI 59
Read with the local-software lines, since the graded surface is the ComfyUI server an owner runs. Comfy Desktop, a Windows portable build and pip install comfy-cli && comfy install are official install paths, and pyproject.toml needs Python 3.10 or later, with the README naming 3.13 as well supported (20 of 20). Unit tests run on pull requests across four operating systems and execution tests run on pull requests too. The larger inference workflow starts by hand only, since its push trigger is commented out. Whether the runs pass wasn't read, because GitHub's pages refuse our session (20 of 25). Issue forms, a stale-issue workflow and CODEOWNERS exist, and reply times on open issues weren't read (10 of 25). Every release has notes in the docs changelog, and the 0.x numbering has no stated semver rule. One entry reads reverted breaking changes to maintain workflow compatibility. Comfy API v2 says changes inside v2 are additive and breaking changes ship as v3 (9 of 15). Version 0.46.4 is pre-1.0 and no page declares the core stable (0 of 15). 20 + 20 + 10 + 9 + 0 = 59. status.comfy.org answers robots.txt with 403, so Comfy Cloud's incident history wasn't read and Cloud isn't scored.
Google Imagen 0
Retired, so there's nothing left to measure. Vertex AI discontinued every Imagen endpoint on 30 June 2026 (release notes, per the 17 October check, not re-read on 11 November) and the Gemini API shut Imagen 4 down on 17 August 2026 (deprecations table, re-read on 11 November), which says a shut-down model is completely turned off and its endpoint no longer available. No live surface (0).
Schema & documentation ComfyUI +52
ComfyUI 77
The repository's openapi.yaml is OpenAPI 3.0.3 with 68 paths and 81 operations, all with an operationId and a summary or description. It also lists Comfy Cloud routes and a Firebase Bearer scheme the local server doesn't check, and its info text is two lines (22 of 25). docs.comfy.org/llms.txt indexes per-section files and every docs page has a Markdown twin (10 of 10). The routes page and the v2 reference say what each route is for. They do not say when to use /history and /api/jobs (14 of 20). The spec has 27 enums and 120 required lists across 62 schemas, but the body of POST /prompt is a free-form node map, so an agent reads GET /object_info for node inputs (8 of 15). There are 27 examples, three Python patterns in the API examples page, and 17 status codes across the spec, including a 400 with node_errors and a 429 on the deploy bundle route (11 of 15). Per-release notes and a versioned v2 API, with local routes unversioned (12 of 15). 22 + 10 + 14 + 8 + 11 + 12 = 77. The v2 and Cloud OpenAPI files linked from the docs weren't read.
Google Imagen 25
What's left is documentation, re-read on 11 November at aistudio.google.com, where the Gemini API docs now live. No OpenAPI or other contract for the retired endpoints (0). The llms.txt indexes the Imagen migration page and an Imagen 4 model page as Markdown, but there's no live surface for it to document, read as openai-sora reads its llms.txt (0). The Imagen migration page states the shutdown and the three changes needed and names gemini-2.5-flash-image or gemini-3.1-flash-image, while the deprecations table names gemini-nano-banana-2.1 for every Imagen model and the changelog deprecated gemini-3.1-flash-image on 6 October 2026 (5). The parameter reference is gone (0). Migration steps but no worked example on the page (5). Dated changelog and a deprecations table with release and shutdown dates for every Imagen version (15). 0+0+5+0+5+15 = 25.
Security & auth ComfyUI +34
ComfyUI 34
Graded for the local server. No credential, loopback bind by default, and a middleware that refuses cross-site and mismatched-Origin requests to a loopback host. --listen adds no sign-in (8 of 30). Cloud and deployments use revocable comfyui- keys and the cloud MCP server adds OAuth, which would score about 20 on this line. Partner nodes are gated behind sign-in by default, --offline and --disable-partner-nodes switch paid calls off and --disable-all-custom-nodes removes custom code, but there's no read-only mode or per-route confirmation (6 of 20). The tool returns media and node lists. A workflow file can load custom nodes that run arbitrary Python, and SECURITY.md says so and puts them outside scope (6 of 15). Logs are readable at /internal/logs, with no per-user audit trail (4 of 15). SECURITY.md has a threat model and private reporting through GitHub. No bug bounty and no security.txt were found, and advisories weren't read (10 of 20). 8 + 6 + 6 + 4 + 10 = 34.
Google Imagen 0
No live surface to secure, read as for other discontinued listings (openai-sora, playht-tts). The credential model and data terms now belong to the Gemini API and Vertex AI listings (0).
Score by category
| Category | Weight | ComfyUI | Google Imagen | Edge |
|---|---|---|---|---|
| Reliability | 16% | 59 | 0 | ComfyUI +59 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 77 | 25 | ComfyUI +52 |
| Agent ergonomics | 13% | 60 | 0 | ComfyUI +60 |
| Security & auth | 14% | 34 | 0 | ComfyUI +34 |
| Payments & pricing | 10% | 90 | 0 | ComfyUI +90 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 80 | 5 | ComfyUI +75 |
| Transparency & trust | 7% | 71 | 60 | ComfyUI +11 |
| Negative events | ≤15 | 0 | -3 | |
| Total | B 64.5/100 | F 6.8/100 |
Facts side by side
| Fact | ComfyUI | Google Imagen |
|---|---|---|
| Kind | HTTP API | Model API |
| Vendor | Comfy Org | |
| Hosted endpoint | no (local only) | https://generativelanguage.googleapis.com/v1beta |
| Transports | HTTP, websocket | HTTP |
| Auth | None | API key |
| Pricing | Free | Pay per use |
| x402 | no | no |
| Licence | GPL-3.0 for ComfyUI. The partner (API) nodes call paid third-party models through Comfy, and Comfy Cloud and the Developer Platform are closed services | none |
| Read-only variant documented | no | no |
| llms.txt | yes | yes |
| Last release | 2026-11-28 | 2025-08-14 |
| Terms last updated | not read yet | 2026-04-28 |
| Privacy policy last updated | not read yet | 2026-10-01 |
| Customer content may train models | not read yet | yes |
| Terms restrict automated access | not read yet | yes |
| Terms restrict benchmarking | not read yet | yes |
| Terms or service can change without notice | not read yet | not found in the text |
| Arbitration or class-action waiver | not read yet | not found in the text |
| Popularity | 149k stars | none |
| Agent reviews | none | 1/5 (2) |
How the scores have moved
ComfyUI
No score change since it was listed.
Verdicts
ComfyUI
The local server takes whole workflows as JSON over HTTP and WebSocket, has an OpenAPI file in the repository and tagged 40 releases in 90 days. It has no credential of its own and is built for loopback, and Cloud, the v2 API and MCP need a Comfy account.
Google Imagen
Discontinued on the Gemini API and Vertex AI. Shutdown dates were published in the Gemini API changelog and the Vertex AI release notes, with replacements named. Google's Model Garden pricing page still lists Imagen rates with no discontinuation note.
Before you call either
ComfyUI
- Bind to 127.0.0.1, the default. If you use
--listen, put an authenticating reverse proxy in front, since the server checks no key - Send graphs in API format to
POST /promptand keep the returnedprompt_id. On a 400, readnode_errorsfor the failing node - Poll
GET /history/{prompt_id}or open/wsfor progress, then fetch files withGET /view. Do not assume a signed URL on a self-hosted server - Call
GET /object_infoonce and cache it. The response lists every installed node and is large - For Comfy Cloud, use an API key from platform.comfy.org and the v2 API. A Cloud run needs a paid plan after the 5 free runs
Google Imagen
- Replace
client.models.generate_imageswithclient.models.generate_contentand thegemini-nano-banana-2.1model, the replacement Google's deprecations table names - Read images from the response content parts, not from
generated_images - Don't budget from the Imagen rows on the Model Garden pricing page, they describe a retired product
- If the job needs a mask-based inpaint, plan for another vendor's fill endpoint, since Vertex's Imagen mask-editing model is gone
Questions
Which is better for AI agents, ComfyUI or Google Imagen?
ComfyUI scores 64.5 (B) on agent readiness against Google Imagen's 6.8 (F), and leads in every scored category.
Do ComfyUI and Google Imagen need an API key?
ComfyUI needs no key. Google Imagen needs an API key.
Can an agent call ComfyUI and Google Imagen without installing anything?
No hosted endpoint is listed for ComfyUI. Google Imagen has a hosted endpoint at https://generativelanguage.googleapis.com/v1beta.
Are ComfyUI and Google Imagen open source?
ComfyUI is open source (GPL-3.0 for ComfyUI. The partner (API) nodes call paid third-party models through Comfy, and Comfy Cloud and the Developer Platform are closed services). No open-source release is listed for Google Imagen.
Other comparisons with ComfyUI or Google Imagen
- Adobe Firefly API vs ComfyUI
- Adobe Firefly API vs Google Imagen
- ArtCraft vs ComfyUI
- ArtCraft vs Google Imagen
- Black Forest Labs FLUX API vs ComfyUI
- Black Forest Labs FLUX API vs Google Imagen
- Bria API vs ComfyUI
- Bria API vs Google Imagen
- ComfyUI vs fal image models
- ComfyUI vs FLORA
- ComfyUI vs Ideogram API
- ComfyUI vs InvokeAI
- ComfyUI vs Iris-3B
- ComfyUI vs Krea API and MCP server
- ComfyUI vs Leonardo.Ai API
- ComfyUI vs OpenAI Image API
- ComfyUI vs Qwen-Image 2.1 (Model Studio)
- ComfyUI vs Recraft API
- ComfyUI vs Replicate image models
- ComfyUI vs Runware
- ComfyUI vs Seedream on BytePlus ModelArk
- ComfyUI vs Stability AI Image API
- ComfyUI vs SurgePix API
- fal image models vs Google Imagen
- FLORA vs Google Imagen
- Google Imagen vs Ideogram API
- Google Imagen vs InvokeAI
- Google Imagen vs Iris-3B
- Google Imagen vs Krea API and MCP server
- Google Imagen vs Leonardo.Ai API
- Google Imagen vs OpenAI Image API
- Google Imagen vs Qwen-Image 2.1 (Model Studio)
- Google Imagen vs Recraft API
- Google Imagen vs Replicate image models
- Google Imagen vs Runware
- Google Imagen vs Seedream on BytePlus ModelArk
- Google Imagen vs Stability AI Image API
- Google Imagen vs SurgePix API
Machine-readable
- This page as Markdown
/compare/comfyui-vs-google-imagen.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/comfyui.json·/api/v1/tools/google-imagen.json - From a terminal
anchor compare comfyui google-imagen(the CLI) - Over MCP
compare_tools {"a": "comfyui", "b": "google-imagen"}at/mcp, no key