# InvokeAI vs SurgePix API

> InvokeAI scores 67.7 (B) to SurgePix's 22.4 (F) for image generation. Prices, MCP, x402, uptime and agent notes side by side.

- Canonical: https://www.anchorterminal.com/compare/invokeai-vs-surgepix
- Markdown: https://www.anchorterminal.com/compare/invokeai-vs-surgepix.md (~5,150 tokens)
- Slim: https://www.anchorterminal.com/compare/invokeai-vs-surgepix.min.md (~1,080 tokens, same facts, less prose, for token-sensitive contexts)
- JSON: https://www.anchorterminal.com/compare/invokeai-vs-surgepix.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 scores 67.7 (B) on agent readiness against SurgePix API's 22.4 (F), and leads in every scored category. Both do image generation.

- 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
- SurgePix API: grade F, 22.4/100, rank #1676 of 1738. Markdown https://www.anchorterminal.com/tools/surgepix.md · JSON https://www.anchorterminal.com/api/v1/tools/surgepix.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

### 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:
- Reliability, 76 against 15
- Schema & documentation, 80 against 40
- Security & auth, 52 against 41
- Payments & pricing, 90 against 30
- Maintenance & community, 75 against 66
- Transparency & trust, 44 against 29

Also in its favour:
- Open source
- No incidents deducted, where SurgePix API loses 15 points for them

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

### SurgePix API (F)

Good for: An agent that needs finished marketing assets, such as posters, slide decks, Xiaohongshu carousels, logos and translated images, as one file from a short request.

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

Watch for: Only background removal and upload are in the public API reference, with no OpenAPI file or llms.txt


## Why the edge

### Reliability: InvokeAI +61

- InvokeAI (76): Read with the local-software lines. InvokeAI installs from the Invoke launcher, from PyPI (`InvokeAI`, Python 3.11 or 3.12 per PyPI) and from Docker, with system requirements in the docs (20 of 20). Workflows run Python tests, frontend tests and checks, OpenAPI checks, typegen checks and a lock-file check, and the repository has 1,033 test files. Whether the runs pass wasn't read, since GitHub's pages refuse our session (20 of 25). A close-inactive-issues workflow, issue templates and a PR metadata check exist, and reply times on open issues weren't read (10 of 25). PyPI shows 6.x stable lines and 7.0.0 alphas and betas, with release notes in the docs for 6.14.1 to 6.14.4. The docs call out the multi-user default on upgrade, and there's no stated semver rule (11 of 15). The stable line is 6.14.4, well past 1.0, and the 7.0.0 line is a beta (15 of 15). 20 + 20 + 10 + 11 + 15 = 76.
- SurgePix API (15): Read with the hosted lines. No status page was found on surgepix.ai or in the docs, and status.surgepix.ai doesn't resolve (0). With no history to read, the incident line takes the floor (5). No rate limits with numbers are documented. The terms say "non-human continuous or frequent query operations" lead to automatic account suspension, with no threshold given (0). No 429 or backoff guidance. The skill scripts poll every 2 seconds for up to 5 to 15 minutes, but that is client code, not a documented policy (0). No SLA, and the terms disclaim uninterrupted service (0). The API isn't labelled beta or preview, and API keys have been self-serve since 2 June 2026 per the changelog (10). 0+5+0+0+0+10 = 15.

### Payments & pricing: InvokeAI +60

- 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.
- SurgePix API (30): No x402, MPP or L402 (0). Plan prices and monthly credits are public, but credits are spent per token with no per-call price for any API task, so plan-only pricing (10). A free plan with 25 credits a day. The pages don't say whether a card is needed or whether a free account can create API keys, so half, a judgement call (10). A person signs up in a browser and creates the key in settings (0). 0+10+10+0 = 20. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 20 is 30.

### Schema & documentation: InvokeAI +40

- 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.
- SurgePix API (40): No OpenAPI or other machine-readable contract was found (0). surgepix.ai/llms.txt returns 404. The docs are HTML pages, but the 15 SKILL.md files in the MIT repository are Markdown written for agents, so half (5). The API reference states the purpose of each of its five operations and the async and session model. The SKILL.md files add trigger phrases and explicit do-not-use routing between skills, but 11 of the task endpoints the skills call appear only in their scripts, with no reference (10). Parameter tables give type and required for the documented operations, with no enums or limits, and the undocumented endpoints have no schema at all (7). JSON examples for every documented operation and an error table with 401, 404 and `error.file.sensitive_content` (10). A dated public changelog from 11 March 2026, but no version in the API path and no API-specific change notes (8). 0+5+10+7+10+8 = 40.

### Transparency & trust: InvokeAI +15

- 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.
- SurgePix API (29): The editorial half. A closed service whose terms name no company or address. They restrict any commercial use of what the service produces without SurgePix's permission, and contain clauses from an unrelated product (a "big data" query platform and "non-resume content"). The skills are MIT. Unclear terms, with a little credit for the open skills (5). The privacy policy is dated both 10 June 2026 and 1 July 2022, describes WeChat and phone registration and "domestic servers", and gives no retention periods. The API reference says uploads go to Tencent Cloud storage in Seoul as public URLs. No DPA. The statements don't agree (5). No deprecation policy or notices, and the terms let changes take effect on publication without notice (0). Tencent Cloud Object Storage in ap-seoul is named in the API reference, and Alipay and WeChat Pay in the privacy policy. No subprocessor list or stated data location (4). 5+5+0+4 = 14.

### Security & auth: InvokeAI +11

- 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.
- SurgePix API (41): Plain API keys created in the account settings, which the docs say can be revoked and reset. The key goes in the `authorization` header, never in a URL. No scopes found (20). No read-only key or spend cap. The plan's credit allowance bounds spend. Every uploaded file becomes a publicly accessible URL on Tencent Cloud storage, which counts against least privilege (3). The API returns image and file URLs, not untrusted text (10). The billing page's credit statement lists each request with its model and token counts, and sessions group calls in the web app, per the docs (8). No security.txt, disclosure policy, bug bounty or certification was found (0). 20+3+10+8+0 = 41.

### Maintenance & community: InvokeAI +9

- InvokeAI (75): 7.0.0b3 was released on 27 November 2026 and the stable 6.14.4 on 3 November 2026 (30 of 30). PyPI lists 11 releases between 6 September and 27 November 2026 (20 of 20). Commits on 26 days since 3 November from several authors, and workflows that close stale issues, but issue and PR reply times weren't read (12 of 25). The package is on PyPI under the project's own maintainers, and no official client SDK was found (5 of 15). CI, a `uv.lock` and a lock check exist, and dependency currency wasn't read (8 of 10). 30 + 20 + 12 + 5 + 8 = 75.
- SurgePix API (66): The last dated change is GPT-Image-2.5 on 23 October 2026, 10 days before the check (30). Changelog entries on 15, 22 and 23 October, 16, 9 and 2 September 2026, more than three in 90 days (20). For a closed service, a dated changelog, a Discord server and a contact email. We didn't open Discord or the GitHub issues, so answering isn't confirmed (8). No official SDK. The skills are maintained client scripts with tags from v1.0.0 (4 June 2026) to v1.5.0 (2 September 2026), a judgement call (5). The repository's CI checks SKILL.md front matter only, with no tests, and the skills aren't published as a package (3). 30+20+8+5+3 = 66.

## Score by category

| Category | Weight | InvokeAI | SurgePix API | Edge |
| --- | --- | --- | --- | --- |
| Reliability | 16% | 76 | 15 | InvokeAI +61 |
| Performance | 10%, pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 80 | 40 | InvokeAI +40 |
| Agent ergonomics | 13% | 54 | 53 | InvokeAI +1 |
| Security & auth | 14% | 52 | 41 | InvokeAI +11 |
| Payments & pricing | 10% | 90 | 30 | InvokeAI +60 |
| Task success | 10%, pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 75 | 66 | InvokeAI +9 |
| Transparency & trust | 7% | 44 | 29 | InvokeAI +15 |
| Negative events | ≤15 | 0 | -15 | |
| **Total** | | **67.7 · B** | **22.4 · F** | |

## Facts side by side

| Fact | InvokeAI | SurgePix API |
| --- | --- | --- |
| Kind | HTTP API | HTTP API |
| Vendor | Invoke | SurgePix |
| Hosted endpoint | no (local only) | `https://api.surgepix.ai/api` |
| Transports | HTTP, websocket | HTTP |
| Auth | OAuth or key | API key |
| Pricing | Free | Freemium |
| x402 | no | no |
| Licence | Apache-2.0. Bundled model licences (Stable Diffusion 1 and 2, SDXL, HiDiffusion, PiD) sit in separate LICENSE files | Proprietary hosted service under the Surgepix User Agreement, which names no company and restricts commercial use without SurgePix's permission. The agent skills repository is MIT |
| Read-only variant documented | no | no |
| llms.txt | yes | no |
| Last release | 2026-11-27 | 2026-10-23 |
| Terms last updated | no document linked | no date given |
| Privacy policy last updated | no document linked | 2026-06-10 |
| Customer content may train models | not read yet | not found in the text |
| Terms restrict automated access | not read yet | yes |
| Terms restrict benchmarking | not read yet | not found in the text |
| 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 |

## How the scores have moved

### InvokeAI

No score change since it was listed.

### SurgePix API

- +1.3 on 13 November 2026: checklist
- -15.0 on 13 November 2026: checklist
- +0.1 on 7 November 2026: time

## Verdicts

**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.

**SurgePix API.** A small, readable API with async tasks and MIT skill scripts that cover posters, decks, edits and translation. Only background removal is documented, the terms name no company and restrict commercial use and automated querying, and uploaded files become public URLs.

## Before you call either

### 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

### SurgePix API

1. Send the key as the raw `authorization` header value, with no `Bearer` prefix
2. Don't upload confidential files. The upload flow returns a public URL for every file
3. Check `code` in the JSON body as well as the HTTP status, since failures come back as a non-zero `code` with a `msg`
4. Poll `GET /tasks/{taskId}` within 24 hours, after which the task returns 404
5. Get written permission before using outputs commercially, since the terms restrict commercial use

## Questions

### Which is better for AI agents, InvokeAI or SurgePix API?

InvokeAI scores 67.7 (B) on agent readiness against SurgePix API's 22.4 (F), and leads in every scored category.

### Do InvokeAI and SurgePix API need an API key?

InvokeAI takes an API key or an OAuth sign-in. SurgePix API needs an API key.

### Can an agent call InvokeAI and SurgePix API without installing anything?

No hosted endpoint is listed for InvokeAI. SurgePix API has a hosted endpoint at https://api.surgepix.ai/api.

### Are InvokeAI and SurgePix API open source?

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


## For agents

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

## Other comparisons with InvokeAI or SurgePix API

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