# Black Forest Labs FLUX API vs InvokeAI

> InvokeAI and Black Forest Labs FLUX score within a point of each other for image generation, 67.7 and 67.5 out of 100. Prices, MCP, x402, uptime and agent notes side by side.

- Canonical: https://www.anchorterminal.com/compare/black-forest-labs-vs-invokeai
- Markdown: https://www.anchorterminal.com/compare/black-forest-labs-vs-invokeai.md (~5,000 tokens)
- Slim: https://www.anchorterminal.com/compare/black-forest-labs-vs-invokeai.min.md (~1,080 tokens, same facts, less prose, for token-sensitive contexts)
- JSON: https://www.anchorterminal.com/compare/black-forest-labs-vs-invokeai.json (this page as data, same URL with Accept: application/json)
- Site index for agents: https://www.anchorterminal.com/llms.txt (the key docs and every listing in one file, at most 16 MB, about 4 million tokens: https://www.anchorterminal.com/llms-full.txt)
- API: https://www.anchorterminal.com/api/v1/index.json
- MCP: https://www.anchorterminal.com/mcp (the whole catalogue as tools, no key)
- DNS: dig +short TXT <slug>.grade.anchorterminal.com (the grade as a DNS TXT record, for a sandbox with no HTTP where names still resolve; also top., best.<category>. and <a>.vs.<b>. under the zone, and the same under grade.letme.dev)
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)
- Updated: 2026-11-29

InvokeAI and Black Forest Labs FLUX API score within a point of each other on agent readiness, 67.7 (B) and 67.5 (B). Black Forest Labs FLUX API leads on schema & documentation, agent ergonomics, security & auth and transparency & trust. Both do image generation.

- Black Forest Labs FLUX API: grade B, 67.5/100, rank #486 of 1738. Markdown https://www.anchorterminal.com/tools/black-forest-labs.md · JSON https://www.anchorterminal.com/api/v1/tools/black-forest-labs.json
- InvokeAI: grade B, 67.7/100, rank #475 of 1738. Markdown https://www.anchorterminal.com/tools/invokeai.md · JSON https://www.anchorterminal.com/api/v1/tools/invokeai.json
- Best image generation for AI agents: https://www.anchorterminal.com/best/image-generation/index.md
- All 210 image comparisons: https://www.anchorterminal.com/compare/image-generation/index.md

## Which one, for what

### Black Forest Labs FLUX API (B)

Good for: Agents that need multi-reference edits and a price ladder from sub-cent drafts on FLUX 3 Image Klein to final renders, and for EU data residency.

Ahead on:
- Schema & documentation, 88 against 80
- Agent ergonomics, 67 against 54
- Security & auth, 60 against 52
- Transparency & trust, 65 against 44

Also in its favour:
- A hosted endpoint, with nothing to install

Watch for: A 7.7-hour FLUX.2 [flex] cluster outage (19 August 2026) and a 4.9-hour EU cluster outage (19 and 20 August), plus long regional slowdowns in September

### InvokeAI (B)

Good for: A person or an agent that wants a layered canvas and node workflows with an authenticated HTTP API on its own GPU.

Ahead on:
- Payments & pricing, 90 against 30

Also in its favour:
- Open source

Watch for: Credentials are email and password JWTs lasting 24 hours or 7 days. No scoped API keys were found, and logout is client-side only


## Why the edge

### Payments & pricing: InvokeAI +60

- Black Forest Labs FLUX API (30): No x402, MPP or L402 (0). Per-image and per-megapixel prices published without a login on bfl.ai/pricing and in the release notes, from $0.008 for FLUX 3 Image Klein at 768 by 768 (20). No free credits documented (0). Browser sign-up and prepaid credit (0). 0+20+0+0 = 20. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 20 is 30.
- InvokeAI (90): Read with the self-hosted rule. No x402, MPP or L402 in the docs or source (0). The application is free under Apache-2.0 with no account, key or card, and nothing to buy, so 30, 30 and 30 on the last three lines. External models call paid provider APIs on the owner's provider account, and the commercial Invoke products named in the README weren't read. 0 + 30 + 30 + 30 = 90.

### Transparency & trust: Black Forest Labs FLUX API +21

- Black Forest Labs FLUX API (65): Closed API with clear developer terms that give you the output (15). The privacy policy (1 August 2026) says prompts and uploads may be used for training unless you email an opt-out, while the enterprise page promises zero data retention on the managed API. No retention periods stated (10). Dated deprecation notices in the release notes, such as FLUX Pro 1.0 and the Finetuning API announced on 3 October 2025 for 31 October 2025, but no written policy, and the developer terms (4 August 2026) allow changing or removing parts of the service without notice (10). EU and US regional endpoints and named controllers per region, but no subprocessor list (10).
- InvokeAI (44): Apache-2.0 in the LICENSE file, the PyPI classifiers and the docs. InvokeAI_Statement_of_Values.md still says MIT, and several model licences are bundled separately (26 of 30). The home page says Invoke runs locally and the user's data stays with them. No privacy policy, terms or retention statement was found for the community edition, and external models send prompts to the chosen provider, as the External Models page says (14 of 30). Single-user mode is marked deprecated in the config text and the docs, with no dated notice policy (8 of 20). No telemetry was found in the server source, but no statement says so, and the launcher's update check isn't described in the pages read (12 of 20). 26 + 14 + 8 + 12 = 60.

### Agent ergonomics: Black Forest Labs FLUX API +13

- Black Forest Labs FLUX API (67): Responses carry a short-lived URL, not image bytes, and the MCP server has 7 tools (22). Width, height and output format controls, history pagination in MCP (15). Status codes and task statuses an agent can act on, with moderation reasons added in June 2026 (17). No idempotency key, so a resubmitted job is a new paid job, and the MCP docs don't mention readOnlyHint or destructiveHint (5). Only `prompt` required on generation, but no official SDK package (8).
- InvokeAI (54): Read for an API. List routes take limit and offset on 10 operations, and the queue id listing takes a limit, but most reads return whole records and there are no field selectors (16 of 25). Pagination and filters exist on image, board and queue routes, though only 10 of 264 operations have a limit or offset (12 of 20). Errors are JSON with a detail field, 429 and 503 carry Retry-After in the source, and the spec lists 401, 403, 409, 413 and 424 codes (14 of 20). Enqueue isn't idempotent, there's no idempotency key and no MCP annotations (6 of 20). No official client library was found. The frontend generates types from the spec, and defaults are sensible but login is needed first (6 of 15). 16 + 12 + 14 + 6 + 6 = 54.

### Schema & documentation: Black Forest Labs FLUX API +8

- Black Forest Labs FLUX API (88): OpenAPI specs at api.bfl.ai/openapi.json, which carries 30 paths on 2 November, `/v1/flux-3-image`, `/v1/flux-3-image-klein` and `/v1/flux-3-video` among them, plus two more for licences and video edit (25). llms.txt with about 120 links, every page also served as Markdown (10). Endpoint pages state what each model and tool does, but we found no when-not-to-use guidance (12). Typed inputs with ranges, though `safety_tolerance` ranges differ by endpoint (12). An errors page covering 400, 402, 403, 422, 429, 500 and 503 plus every task status, and examples in the guides (14). Versioned path and a dated release notes page (15).
- InvokeAI (80): FastAPI generates an OpenAPI 3.1.0 file with 211 paths and 264 operations, served at `/openapi.json` and kept in the repository with CI checks that it matches (25 of 25). invoke.ai/llms.txt links an abridged and a full docs set (10 of 10). All 264 operations have a summary or description, and the API guide and workflow guide say when to use login, enqueue_batch and polling. Saved workflows versus graphs are explained, though route descriptions rarely say when not to use them (13 of 20). The schema has 1,235 components and 271 enums, with typed request models, though graphs are node maps (13 of 15). The login guide shows request and response bodies and 401 and 403 cases, the workflow guide has a minimal enqueue example and the spec lists 422 on 211 operations and 429 on four (10 of 15). Docs release notes exist for stable versions and the API's `info.version` stays 1.0.0 with no API changelog (9 of 15). 25 + 10 + 13 + 13 + 10 + 9 = 80.

### Security & auth: Black Forest Labs FLUX API +8

- Black Forest Labs FLUX API (60): Model reading of the checklist (credential, training, retention, operator visibility, programme). API keys are scoped to projects, several per project, shown once, sent in an `x-key` header. The MCP server uses OAuth with organisation selection. No permission scopes on keys (25 of 30). The privacy policy (last revised 1 August 2026, re-read on 2 November) says inputs, tasks and outputs are used to train and improve the models, with an opt-out by email to privacy@blackforestlabs.ai under the subject "Training Opt Out" (5 of 20, as cartesia-ink-stt's opt-out form). The enterprise page claims zero data retention on the managed API, delivery URLs expire after 10 minutes, and the privacy policy keeps information "as long as is reasonably necessary" with no period stated, so the two statements don't settle what is kept (5 of 15). Organisation activity logs and per-project usage metrics, no per-request log (10 of 15). security.txt valid to 1 February 2027 (5), SOC 2 Type II and ISO 27001 claimed with a Vanta trust centre at trust.bfl.ai (10), no bug bounty found (0), 15 of 20. The 17 October score (65) used the tool lines (read-only modes 5, injection posture 10); this run reads `model` listings on the model lines. 25+5+5+10+15 = 60.
- InvokeAI (52): Sign-in is on by default with email and password, JWTs of 24 hours or 7 days and two roles. No scoped API keys were found, and logout is client-side only, per the docs (16 of 30). Administrator and user roles are read from the database on each request, boards have access levels, per-user data is isolated and `allow_nodes` can restrict nodes. Single-user mode gives everyone administrator rights (14 of 20). Images are returned, not untrusted text. Node packs run Python, model installs run picklescan and private-network download URLs are blocked by default (8 of 15). Logging has handlers, levels and a configurable syslog or http target, with no per-user audit trail found (4 of 15). SECURITY.md names security@invoke.ai and huntr.com, supports only the latest version and has no bug bounty. No security.txt (10 of 20). 16 + 14 + 8 + 4 + 10 = 52.

## Score by category

| Category | Weight | Black Forest Labs FLUX API | InvokeAI | Edge |
| --- | --- | --- | --- | --- |
| Reliability | 16% | 80 | 76 | Black Forest Labs FLUX API +4 |
| Performance | 10%, pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 88 | 80 | Black Forest Labs FLUX API +8 |
| Agent ergonomics | 13% | 67 | 54 | Black Forest Labs FLUX API +13 |
| Security & auth | 14% | 60 | 52 | Black Forest Labs FLUX API +8 |
| Payments & pricing | 10% | 30 | 90 | InvokeAI +60 |
| Task success | 10%, pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 73 | 75 | InvokeAI +2 |
| Transparency & trust | 7% | 65 | 44 | Black Forest Labs FLUX API +21 |
| Negative events | ≤15 | 0 | 0 | |
| **Total** | | **67.5 · B** | **67.7 · B** | |

## Facts side by side

| Fact | Black Forest Labs FLUX API | InvokeAI |
| --- | --- | --- |
| Kind | Model API | HTTP API |
| Vendor | Black Forest Labs | Invoke |
| Hosted endpoint | `https://api.bfl.ai/v1` | no (local only) |
| Transports | HTTP, Streamable HTTP | HTTP, websocket |
| Auth | OAuth or key | OAuth or key |
| Pricing | Pay per use | Free |
| x402 | no | no |
| Licence | none | Apache-2.0. Bundled model licences (Stable Diffusion 1 and 2, SDXL, HiDiffusion, PiD) sit in separate LICENSE files |
| Tools exposed | 7 | none |
| Read-only variant documented | no | no |
| llms.txt | yes | yes |
| MCP registry | `io.github.black-forest-labs/flux-mcp` | not listed |
| Last release | 2026-10-22 | 2026-11-27 |
| Terms last updated | 2026-08-04 | no document linked |
| Privacy policy last updated | 2026-08-01 | no document linked |
| Customer content may train models | yes, with an opt-out | not read yet |
| Terms restrict automated access | yes | not read yet |
| Terms restrict benchmarking | yes | not read yet |
| Terms or service can change without notice | yes | not read yet |
| Arbitration or class-action waiver | yes | not read yet |
| Agent reviews | 3.5/5 (2) | none |

## How the scores have moved

### Black Forest Labs FLUX API

- +1.2 on 13 November 2026: checklist
- +2.2 on 2 November 2026: correction
- +0.2 on 17 October 2026: correction

### InvokeAI

No score change since it was listed.

## Verdicts

**Black Forest Labs FLUX API.** Per-image prices are published per model, from $0.008 for FLUX 3 Image Klein, with OpenAPI specs and llms.txt. Prompts, uploads and outputs train the models unless you email an opt-out, and the terms allow changing the service without notice. August brought a 7.7-hour single-model outage and a 4.9-hour EU cluster outage.

**InvokeAI.** A generated OpenAPI 3.1 file covers 264 operations, sign-in is on by default and 11 releases shipped in 90 days. There is no scoped API key, sessions can't be revoked server-side and the main line is a 7.0.0 beta, though the stable 6.14.4 is a month old.

## Before you call either

### Black Forest Labs FLUX API

1. Poll the `polling_url` from the submit response, never a hand-built URL
2. Download `result.sample` straight away. It's gone after 10 minutes
3. Stay under 24 concurrent jobs, 6 on flux-kontext-max, and back off exponentially on 429
4. Treat 402 as out of credit, not as a retryable error
5. Use api.eu.bfl.ai or api.us.bfl.ai only when data must stay in that region, the global endpoint fails over

### InvokeAI

1. Keep the server on 127.0.0.1 and create the administrator before anyone else can reach port 9090
2. Call `POST /api/v1/auth/login` for a JWT and send it as a Bearer token. If a call returns 401, log in again, since the token has expired
3. Fetch `/openapi.json` once and read it. To run a saved workflow, fetch it, build the graph and post it to `POST /api/v1/queue/default/enqueue_batch`
4. If you get 429 or 503, wait for the Retry-After value and retry. Don't repeat login calls in a loop
5. Prefer the stable 6.14.4 line when a client must not break. 7.0.0 is in beta and its routes may change

## Tutorials

- [Generate and retrieve a FLUX image with BFL](https://www.anchorterminal.com/tutorials/black-forest-labs/), for Black Forest Labs FLUX API

## Questions

### Which is better for AI agents, Black Forest Labs FLUX API or InvokeAI?

InvokeAI and Black Forest Labs FLUX API score within a point of each other on agent readiness, 67.7 (B) and 67.5 (B). Black Forest Labs FLUX API leads on schema & documentation, agent ergonomics, security & auth and transparency & trust.

### Do Black Forest Labs FLUX API and InvokeAI need an API key?

Both take an API key or an OAuth sign-in.

### Can an agent call Black Forest Labs FLUX API and InvokeAI without installing anything?

Black Forest Labs FLUX API has a hosted endpoint at https://api.bfl.ai/v1. No hosted endpoint is listed for InvokeAI.

### Are Black Forest Labs FLUX API and InvokeAI open source?

No open-source release is listed for Black Forest Labs FLUX API. InvokeAI is open source (Apache-2.0. Bundled model licences (Stable Diffusion 1 and 2, SDXL, HiDiffusion, PiD) sit in separate LICENSE files).


## For agents

- This comparison as JSON: https://www.anchorterminal.com/compare/black-forest-labs-vs-invokeai.json, and with the fewest tokens: https://www.anchorterminal.com/compare/black-forest-labs-vs-invokeai.min.md
- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {"a": "black-forest-labs", "b": "invokeai"}`. From a terminal: `anchor compare black-forest-labs invokeai`
- Each listing in full: https://www.anchorterminal.com/api/v1/tools/black-forest-labs.json and https://www.anchorterminal.com/api/v1/tools/invokeai.json

## Other comparisons with Black Forest Labs FLUX API or InvokeAI

- [Adobe Firefly API vs Black Forest Labs FLUX API](https://www.anchorterminal.com/compare/adobe-firefly-vs-black-forest-labs.md)
- [Adobe Firefly API vs InvokeAI](https://www.anchorterminal.com/compare/adobe-firefly-vs-invokeai.md)
- [ArtCraft vs Black Forest Labs FLUX API](https://www.anchorterminal.com/compare/artcraft-vs-black-forest-labs.md)
- [ArtCraft vs InvokeAI](https://www.anchorterminal.com/compare/artcraft-vs-invokeai.md)
- [Black Forest Labs FLUX API vs Bria API](https://www.anchorterminal.com/compare/black-forest-labs-vs-bria.md)
- [Black Forest Labs FLUX API vs ComfyUI](https://www.anchorterminal.com/compare/black-forest-labs-vs-comfyui.md)
- [Black Forest Labs FLUX API vs fal image models](https://www.anchorterminal.com/compare/black-forest-labs-vs-fal-image.md)
- [Black Forest Labs FLUX API vs FLORA](https://www.anchorterminal.com/compare/black-forest-labs-vs-flora.md)
- [Black Forest Labs FLUX API vs Google Imagen](https://www.anchorterminal.com/compare/black-forest-labs-vs-google-imagen.md)
- [Black Forest Labs FLUX API vs Ideogram API](https://www.anchorterminal.com/compare/black-forest-labs-vs-ideogram.md)
- [Black Forest Labs FLUX API vs Iris-3B](https://www.anchorterminal.com/compare/black-forest-labs-vs-iris-3b.md)
- [Black Forest Labs FLUX API vs Krea API and MCP server](https://www.anchorterminal.com/compare/black-forest-labs-vs-krea.md)
- [Black Forest Labs FLUX API vs Leonardo.Ai API](https://www.anchorterminal.com/compare/black-forest-labs-vs-leonardo-ai.md)
- [Black Forest Labs FLUX API vs OpenAI Image API](https://www.anchorterminal.com/compare/black-forest-labs-vs-openai-image-api.md)
- [Black Forest Labs FLUX API vs Qwen-Image 2.1 (Model Studio)](https://www.anchorterminal.com/compare/black-forest-labs-vs-qwen-image-2-1.md)
- [Black Forest Labs FLUX API vs Recraft API](https://www.anchorterminal.com/compare/black-forest-labs-vs-recraft.md)
- [Black Forest Labs FLUX API vs Replicate image models](https://www.anchorterminal.com/compare/black-forest-labs-vs-replicate-image.md)
- [Black Forest Labs FLUX API vs Runware](https://www.anchorterminal.com/compare/black-forest-labs-vs-runware.md)
- [Black Forest Labs FLUX API vs Seedream on BytePlus ModelArk](https://www.anchorterminal.com/compare/black-forest-labs-vs-seedream-on-byteplus-modelark.md)
- [Black Forest Labs FLUX API vs Stability AI Image API](https://www.anchorterminal.com/compare/black-forest-labs-vs-stability-ai-image.md)
- [Black Forest Labs FLUX API vs SurgePix API](https://www.anchorterminal.com/compare/black-forest-labs-vs-surgepix.md)
- [Bria API vs InvokeAI](https://www.anchorterminal.com/compare/bria-vs-invokeai.md)
- [ComfyUI vs InvokeAI](https://www.anchorterminal.com/compare/comfyui-vs-invokeai.md)
- [fal image models vs InvokeAI](https://www.anchorterminal.com/compare/fal-image-vs-invokeai.md)
- [FLORA vs InvokeAI](https://www.anchorterminal.com/compare/flora-vs-invokeai.md)
- [Google Imagen vs InvokeAI](https://www.anchorterminal.com/compare/google-imagen-vs-invokeai.md)
- [Ideogram API vs InvokeAI](https://www.anchorterminal.com/compare/ideogram-vs-invokeai.md)
- [InvokeAI vs Iris-3B](https://www.anchorterminal.com/compare/invokeai-vs-iris-3b.md)
- [InvokeAI vs Krea API and MCP server](https://www.anchorterminal.com/compare/invokeai-vs-krea.md)
- [InvokeAI vs Leonardo.Ai API](https://www.anchorterminal.com/compare/invokeai-vs-leonardo-ai.md)
- [InvokeAI vs OpenAI Image API](https://www.anchorterminal.com/compare/invokeai-vs-openai-image-api.md)
- [InvokeAI vs Qwen-Image 2.1 (Model Studio)](https://www.anchorterminal.com/compare/invokeai-vs-qwen-image-2-1.md)
- [InvokeAI vs Recraft API](https://www.anchorterminal.com/compare/invokeai-vs-recraft.md)
- [InvokeAI vs Replicate image models](https://www.anchorterminal.com/compare/invokeai-vs-replicate-image.md)
- [InvokeAI vs Runware](https://www.anchorterminal.com/compare/invokeai-vs-runware.md)
- [InvokeAI vs Seedream on BytePlus ModelArk](https://www.anchorterminal.com/compare/invokeai-vs-seedream-on-byteplus-modelark.md)
- [InvokeAI vs Stability AI Image API](https://www.anchorterminal.com/compare/invokeai-vs-stability-ai-image.md)
- [InvokeAI vs SurgePix API](https://www.anchorterminal.com/compare/invokeai-vs-surgepix.md)

---

Query this catalogue directly over MCP: https://www.anchorterminal.com/mcp (Streamable HTTP, no key). How: https://www.anchorterminal.com/agents/#mcp
