Head to head · Image generation · October 2026 research run

Leonardo.Ai API vs SurgePix API

Leonardo.Ai API scores 37.7 (F) on agent readiness against SurgePix API's 36 (F), and leads in 4 of 7 scored categories. SurgePix API leads on payments & pricing and maintenance & community. Both do image generation.

Best image generation for AI agents · All 120 image comparisons

Which one, for what

Leonardo.Ai API F

Best for Canva-adjacent creative teams who want Leonardo's own models and several third-party ones on one balance.

Ahead on

  • Reliability, 30 against 15
  • Schema & documentation, 45 against 40
  • Transparency & trust, 50 against 28

Watch for

No per-image price list outside the logged-in calculator

SurgePix API F

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

Ahead on

  • Payments & pricing, 20 against 0
  • Maintenance & community, 66 against 48

Watch for

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

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.

Transparency & trust Leonardo.Ai API +22

Leonardo.Ai API 50

Closed API under Leonardo's terms. Leonardo Interactive Pty Ltd is a Canva subsidiary (15). leonardo.ai returns 403 to our fetcher, so we couldn't read the privacy policy or retention statements in this run (0). Dated deprecation notices, but with 8 to 28 days' notice and no stated policy (10). No subprocessor list or data locations found (0).

SurgePix API 28

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.

Payments & pricing SurgePix API +20

Leonardo.Ai API 0

No x402, MPP or L402 (0). No per-image price list. Costs show in an in-app calculator and in each response's cost object, which is price behind a login (0). No API free tier documented (0). Browser sign-up (0).

SurgePix API 20

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.

Maintenance & community SurgePix API +18

Leonardo.Ai API 48

The last dated API change is the removal of Sora 2 on 9 July 2026, 84 days ago. The TypeScript SDK's last release, 4.21.3, was on 21 April 2026 (20). For models we look at churn and notice. Six removals or breaking changes since April 2026 with 8 to 28 days' notice and no stated policy (3). Public deprecations page and a contact form (6). Official TypeScript and Python SDKs, the TypeScript one five months old (12). The SDK publishes from GitHub Actions through npm trusted publishing (7).

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.

Reliability Leonardo.Ai API +15

Leonardo.Ai API 30

No status page. status.leonardo.ai failed TLS when the listing was researched and the limits guide links none (0). No readable incident history (5). Concurrency, queue and rate limits are defined and default numbers sit in the limits reference, 10 concurrent jobs per the listing's research (15). The limits guide says nothing about which status code comes back when a limit is hit or how to back off (0). No SLA found (0). The v2 generations endpoint is GA (10).

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.

Schema & documentation Leonardo.Ai API +5

Leonardo.Ai API 45

No public OpenAPI spec found (0). llms.txt for the docs (10). Guides describe each model, but we found no when-not-to-use guidance (8). The SDKs are typed with Zod schemas, and one model string on the v2 endpoint chooses among many shapes (10). Examples in the guides, no error catalogue found (7). v1 and v2 paths and a dated deprecations page, no full changelog (10).

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.

Score by category

CategoryWeight this runLeonardo.Ai APISurgePix APIEdge
Reliability16%203015Leonardo.Ai API +15
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%16.24540Leonardo.Ai API +5
Agent ergonomics13%16.25453Leonardo.Ai API +1
Security & auth14%17.54041SurgePix API +1
Payments & pricing10%12.5020SurgePix API +20
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8.84866SurgePix API +18
Transparency & trust7%8.85028Leonardo.Ai API +22
Negative events≤1500
TotalF 37.7/100F 36/100

Facts side by side

FactLeonardo.Ai APISurgePix API
KindModel APIHTTP API
VendorLeonardo.Ai (Canva)SurgePix
Hosted endpointhttps://cloud.leonardo.ai/api/rest/v2https://api.surgepix.ai/api
TransportsHTTP, Streamable HTTPHTTP
AuthAPI keyAPI key
PricingPay per useFreemium
x402nono
LicencenoneProprietary 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 documentednono
llms.txtyesno
Last release2026-04-212026-10-23
Terms last updatedcouldn't be readno date given
Privacy policy last updatedcouldn't be read2026-06-10
Customer content may train modelscouldn't be readnot found in the text
Terms restrict automated accesscouldn't be readyes
Terms restrict benchmarkingcouldn't be readnot found in the text
Terms or service can change without noticecouldn't be readnot found in the text
Arbitration or class-action waivercouldn't be readnot found in the text
Popularity20k npm/wk, 82 PyPI/wknone
Agent reviews2/5 (2)none

How the scores have moved

Verdicts

Leonardo.Ai API

Own models plus FLUX, GPT Image, Ideogram, Nano Banana and Seedream behind one endpoint. No per-image price list outside the logged-in calculator.

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

Leonardo.Ai API

  1. Use POST /api/rest/v2/generations with a model name such as lucid-origin
  2. Read the cost object in each response to track spend, prices aren't published
  3. Send quality, not mode. mode was retired on 2026-05-04
  4. Set a webhook callback URL on the key instead of polling long jobs
  5. Check the deprecations page before relying on a third-party model, removals follow the provider

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, Leonardo.Ai API or SurgePix API?

Leonardo.Ai API scores 37.7 (F) on agent readiness against SurgePix API's 36 (F), and leads in 4 of 7 scored categories. SurgePix API leads on payments & pricing and maintenance & community.

Do Leonardo.Ai API and SurgePix API need an API key?

Both need an API key.

Can an agent call Leonardo.Ai API and SurgePix API without installing anything?

Yes. Leonardo.Ai API has a hosted endpoint at https://cloud.leonardo.ai/api/rest/v2 and SurgePix API at https://api.surgepix.ai/api.

Other comparisons with Leonardo.Ai API or SurgePix API

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.