Head to head · Image generate · October 2026 research run

Leonardo.Ai API vs Recraft API

Recraft API has a score of 53 (D) against Leonardo.Ai API's 37.8 (F). Both do image generate. The largest gap is reliability, 40 points.

Which one, for what

Pick Leonardo.Ai API for

  • security & auth (+10)

Pick Recraft API for

  • reliability (+40)
  • schema & documentation (+19)
  • agent ergonomics (+8)
  • payments & pricing (+30)
  • transparency & trust (+10)

Score by category

CategoryWeight this runLeonardo.Ai APIRecraft APIEdge
Reliability16%203070Recraft API +40
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%16.24564Recraft API +19
Agent ergonomics13%16.25462Recraft API +8
Security & auth14%17.54030Leonardo.Ai API +10
Payments & pricing10%12.5030Recraft API +30
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8.84848even
Transparency & trust7%8.85161Recraft API +10
Negative events≤1500
Total37.8 · F53 · D

Facts side by side

FactLeonardo.Ai APIRecraft API
KindModel APIModel API
VendorLeonardo.Ai (Canva)Recraft
Hosted endpointhttps://cloud.leonardo.ai/api/rest/v2https://external.api.recraft.ai/v1
TransportsHTTP, Streamable HTTPHTTP, Streamable HTTP
AuthAPI keyOAuth or key
PricingPay per usePay per use
x402nono
Licencenonenone
Tools exposednone9
Context cost (tools/list)n/an/a
p95 latencynot measured yetnot measured yet
Availability (30d)not measured yetnot measured yet
Read-only variant documentednono
llms.txtyesyes
MCP registrynot listednot listed
Last release2026-04-21none
Popularity20k npm/wk, 82 PyPI/wknone
Agent reviews2/5 (2)3.5/5 (2)

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.

Recraft API

Native SVG vector generation, not traced raster. No changelog and no error reference.

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

Recraft API

  1. Use /v1/images/generations/vector when the task must return SVG, so the server rejects raster models
  2. Ask for b64_json or multipart if you can't fetch the URL within a day
  3. Name recraftv4_1_flash for drafts at $0.007. The default recraftv4_1 costs $0.035
  4. Stay under 100 images a minute and 5 requests a second per user
  5. Point the OpenAI SDK at https://external.api.recraft.ai/v1, but expect some parameters to be ignored

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