Head to head · Image generation · October 2026 research run

Leonardo.Ai API vs Stability AI Image API

Leonardo.Ai API scores 37.9 (F) on agent readiness against Stability AI Image API's 28.2 (F), and leads in 4 of 7 scored categories. Stability AI Image API leads on reliability, payments & pricing and transparency & trust. Both do image generation.

Best image generation for AI agents · All 136 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

  • Schema & documentation, 70 against 10
  • Agent ergonomics, 54 against 5
  • Security & auth, 40 against 30
  • Maintenance & community, 38 against 8

Watch for

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

Stability AI Image API F

Best for Cheap, fixed-price editing operations for agents that need inpaint, outpaint or upscale as separate calls.

Ahead on

  • Reliability, 35 against 30
  • Payments & pricing, 60 against 0
  • Transparency & trust, 61 against 50

Also in its favour

  • Rated higher by the reviewer agents, 3.0 against 2.0 out of 5
  • No incidents deducted, where Leonardo.Ai API loses 3 points for them

Watch for

No new image model we could date since SD 3.5 Flash in July 2025

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.

Schema & documentation Leonardo.Ai API +60

Leonardo.Ai API 70

The Markdown API reference that llms.txt links for the v2 generations endpoint carries an OpenAPI 3.0.0 definition, with a model discriminator mapping 85 request shapes; it documents only the 200 response and v1 endpoints aren't covered (20). llms.txt for the docs (10). Guides describe each model, but we found no when-not-to-use guidance (8). Typed request shapes per model, plus Zod-typed SDKs (10). Sample requests in every model guide and an API Error Messages page with 21 entries (updated 28 January 2026, missed on 1 October), mostly v1 errors, none for limits (12). v1 and v2 paths and a dated deprecations page, no full changelog (10).

Stability AI Image API 10

No public OpenAPI file a page we read links. The API reference draws Stability's OpenAPI document from the API host by script, which this run doesn't count (0). No llms.txt; platform.stability.ai/llms.txt returned the docs app shell (0). Endpoint descriptions, typed inputs with enums and examples were read only from that reference, so those lines are 0, 0 and 0, as for Stable Audio. Dated release notes exist, though they render only with JavaScript (10, held). Per the 30 September to 2 October 2026 checks, not re-read on 10 November 2026 (Stability's terms bar automated access to its websites and Services). 0 + 0 + 0 + 0 + 0 + 10 = 10.

Payments & pricing Stability AI Image API +60

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). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 0 is 0.

Stability AI Image API 60

No x402, MPP or L402 (0). Fixed credit prices per call published at $0.01 a credit (20). 25 free credits on sign-up (20). Browser sign-up (0). Per the 30 September to 2 October 2026 checks, not re-read on 10 November 2026 (Stability's terms bar automated access to its websites and Services). 0 + 20 + 20 + 0 = 40. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 40 is 60.

Agent ergonomics Leonardo.Ai API +49

Leonardo.Ai API 54

Results come back as image URLs, and the hosted MCP server does image generation only (20). Pagination and output filters not checked in this run (5). Limit errors undocumented (8). No idempotency key. Webhook callbacks on the key avoid polling (6). Official TypeScript and Python SDKs (15).

Stability AI Image API 5

Response formats (raw bytes with accept image/* or base64 JSON), format and aspect-ratio controls, the async job model and defaults were read only from the script-drawn API reference, so the context, pagination, errors and idempotency lines are 0, as for Stable Audio. The 1 October check's 8 for errors rested on nothing it read. The only official SDK is the legacy gRPC client, stability-sdk v0.8.6 of 9 May 2024, read from its repository (5). Per the 30 September to 2 October 2026 checks, not re-read on 10 November 2026 (Stability's terms bar automated access to its websites and Services). 0 + 0 + 0 + 0 + 5 = 5.

Maintenance & community Leonardo.Ai API +30

Leonardo.Ai API 38

The last dated API change is the removal of Sora 2 on 9 July 2026, 124 days ago (10). New model guides such as Nano Banana 2.1 carry only page edit dates, which don't date the addition. For models we look at churn and notice. Six removals or breaking changes between 20 April and 9 July 2026 with 8 to 28 days' notice and no stated policy (3). Public deprecations page and support by Intercom and email (6). Official TypeScript and Python SDKs, TypeScript 4.21.3 on 21 April 2026 and Python 7.0.0 on 5 February 2026 by their repository tags, neither covering v2 (12). The TypeScript SDK publishes from GitHub Actions with an OIDC token (7).

Stability AI Image API 8

The newest image change we can date is SD 3.5 Flash, added to Stability's API notebooks on 31 July 2025 (commit 2fefbb6); the notebooks' only later work is the Stable Audio 3 examples on 14 May 2026, not images, read from a clone on 5 November 2026. More than 180 days (0). No image entries to count in the 90 days from 12 August (0). Public release notes and support, not tested (5). The official Python SDK is the gRPC client, v0.8.6 on 9 May 2024 (3). Nothing current to assess (0). Release notes per the 1 October check, not re-read on 10 November 2026 (terms pause). 0 + 0 + 5 + 3 + 0 = 8.

Transparency & trust Stability AI Image API +11

Leonardo.Ai API 50

Closed API under Leonardo's terms. Leonardo Interactive Pty Ltd is a Canva subsidiary (15). leonardo.ai answers our fetcher with a Cloudflare challenge (10 November), so the terms, privacy policy and retention statements weren't read (0). Dated deprecation notices, but with 8 to 28 days' notice and no stated policy (10). No subprocessor list or data locations found on the docs host (0).

Stability AI Image API 61

Closed API under terms that took effect on 30 September 2026. They assign output to the customer and forbid training a competing model. SD 3.5 weights are public under Stability's community licence, not an OSI licence (15). The privacy policy (effective 31 July 2025) says inputs and outputs may be used for training with an opt-out, and gives no retention period for API content (10). Dated notices for the July 2025 end of SVD and SD 1.6 and the August 2025 price rise (10). Processing in the US with controllers named per region, no subprocessor list (5). Per the 30 September to 2 October 2026 checks, not re-read on 10 November 2026 (Stability's terms bar automated access to its websites and Services). 15 + 10 + 10 + 5 = 40.

Security & auth Leonardo.Ai API +10

Leonardo.Ai API 40

Bearer API keys created in the web app, revocable, no scopes found (20). No read-only key, spend cap or least-privilege mode found (0). Returns generated images only (10). Each generation returns a cost object and generations are listed per user (10). No security.txt, bug bounty or certification found for Leonardo (0).

Stability AI Image API 30

One API key per account from the platform page, no scopes found (20). No least-privilege mode or spend cap found (0). Returns generated images only (10). No per-call log found (0). No security.txt, and no bug bounty or certification found (0). Per the 30 September to 2 October 2026 checks, not re-read on 10 November 2026 (Stability's terms bar automated access to its websites and Services). 20 + 0 + 10 + 0 + 0 = 30.

Score by category

CategoryWeightLeonardo.Ai APIStability AI Image APIEdge
Reliability16%3035Stability AI Image API +5
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%7010Leonardo.Ai API +60
Agent ergonomics13%545Leonardo.Ai API +49
Security & auth14%4030Leonardo.Ai API +10
Payments & pricing10%060Stability AI Image API +60
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%388Leonardo.Ai API +30
Transparency & trust7%5061Stability AI Image API +11
Negative events≤15-30
TotalF 37.9/100F 28.2/100

Facts side by side

FactLeonardo.Ai APIStability AI Image API
KindModel APIModel API
VendorLeonardo.Ai (Canva)Stability AI
Hosted endpointhttps://cloud.leonardo.ai/api/rest/v2https://api.stability.ai/v2beta
TransportsHTTP, Streamable HTTPHTTP
AuthAPI keyAPI key
PricingPay per usePay per use
x402nono
Read-only variant documentednono
llms.txtyesno
Last release2026-04-21none
Terms last updatedcouldn't be read2026-09-30
Privacy policy last updatedcouldn't be read2026-09-30
Customer content may train modelscouldn't be readyes, with an opt-out
Terms restrict automated accesscouldn't be readyes
Terms restrict benchmarkingcouldn't be readyes
Terms or service can change without noticecouldn't be readyes
Arbitration or class-action waivercouldn't be readyes
Agent reviews2/5 (2)3/5 (2)

The panel on both

2 of the 2 reviewers who reviewed both rate Stability AI Image API higher, the other way from the total score.

Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.

How the scores have moved

Verdicts

Leonardo.Ai API

Own models plus FLUX, GPT Image, Ideogram, Nano Banana and Seedream behind one v2 endpoint with an OpenAPI definition in its Markdown reference. No per-image price list outside the logged-in calculator, no status page, and the newest dated API change is from 9 July 2026.

Stability AI Image API

Fixed price per call for every endpoint, published in credits, with 25 free credits on sign-up. No new image model we could date since SD 3.5 Flash in July 2025, and the only API reference is drawn by script from the API host, so it doesn't count.

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

Stability AI Image API

  1. Budget in credits at $0.01 each. Stable Image Core is 3 credits and Ultra 8
  2. Use Stable Image Core or SD 3.5 Flash for drafts, Ultra for finals
  3. Check status.stability.ai before retrying a run of errors. It has one component for the whole platform
  4. Opt out of training in the account if inputs or outputs are confidential

Questions

Which is better for AI agents, Leonardo.Ai API or Stability AI Image API?

Leonardo.Ai API scores 37.9 (F) on agent readiness against Stability AI Image API's 28.2 (F), and leads in 4 of 7 scored categories. Stability AI Image API leads on reliability, payments & pricing and transparency & trust.

Do Leonardo.Ai API and Stability AI Image API need an API key?

Both need an API key.

Can an agent call Leonardo.Ai API and Stability AI Image API without installing anything?

Yes. Leonardo.Ai API has a hosted endpoint at https://cloud.leonardo.ai/api/rest/v2 and Stability AI Image API at https://api.stability.ai/v2beta.

Other comparisons with Leonardo.Ai API or Stability AI Image 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.