Skip to content
Agents tracked: 378 Downloads (7d): 244M down 5.7% GitHub stars: 8.4M VS Code installs: 151M Releases (7d): 407 Agent status: 1 with issues Updated Oct 10, 2026

Leonardo.Ai API by Leonardo.Ai (Canva)

Leonardo.Ai image generation with a pay-as-you-go API; API credit does not expire.

AI image generators AI generator

Price
—
Unverified: a search snippet mentions $5 free API credit...
Commercial use
Unclear
Leonardo.Ai Terms of Service
Credit the author
—
Agent access
Public API
API key needed

Rules for your agent

- Leonardo.Ai API (AI image generators). Leonardo.Ai image generation with a pay-as-you-go API; API credit does not expire. Price: see pricing; commercial use unclear; shipping inside an app unclear.
  Connect: API docs https://docs.leonardo.ai (API key needed).
  Rule: Read the Terms of Service before commercial use; output ownership was not confirmed.

Paste it into your prompt or AGENTS.md. It is built from the license and API terms below.

License

LicenseLeonardo.Ai Terms of Service
Commercial useCommercial use unclear
Credit—
Inside your app or gameShipping inside an app unclear
Monetized YouTubeMonetized YouTube unclear
AI trainingNot stated
Bots and bulk downloadsNot stated
Rules
  • Read the Terms of Service before commercial use; output ownership was not confirmed.

Connect it to an agent

MCP serverNone found
APIAPI docs · key needed

Pricing

FreeUnverified: a search snippet mentions $5 free API credit for new accounts.
Paid from—
Usage price—

Sources

Read on Oct 10, 2026: leonardo.ai/api/, leonardo.ai/pricing.

Not confirmed: The ToS page was not readable (403 / heading only); ownership and free credit come only from search snippets.

Not legal advice. Check the license page before you ship.

Alternatives to Leonardo.Ai API

All ai image generators

Pick for your agentSourcePriceLicense Monetized YouTubeAgent access
Freepik (Magnific)
Stock photos, vectors, PSDs, icons and videos plus AI generation tools, via the Magnific API.
Free tier Commercial: conditions Credit required No AI training No bots With conditions MCP API
Stability AI Image API
Stable Image Ultra, Core and SD3.5 via API; open weights under the Community License.
Free tier Commercial: conditions With conditions API
Shutterstock
Stock images, video, music and sound effects with an API, plus a beta generative image API.
Free tier Commercial: unclear Unclear API
Ideogram API
Ideogram 4.0 and 4.5 image generation via API, using the same credits as the app.
Ideogram 4.0: Turbo $0.03, Default $0.06, Quality $0.10... Commercial OK Credit (API) With conditions MCP API
FLUX API
FLUX 3, FLUX.2 and FLUX.1 Kontext image (and FLUX 3 video) models via API; FLUX.1 [dev] weights are non-commercial.
1 credit = $0.01. FLUX 3 Image $0.048 (1MP); FLUX.2... Commercial: conditions No AI training With conditions API
Gemini Image (Nano Banana)
Gemini API image generation and editing models (Gemini 3.x Image, Nano Banana).
Gemini 3.1 Flash Image $0.045 (0.5K) to $0.151 (4K);... Commercial OK With conditions API
Getty Images / iStock
Stock images, video and illustrations with a partner API and a generative AI API.
iStock Basic EUR 29/month (annual), Premium+Video EUR... Commercial: conditions Credit varies No AI training With conditions API
OpenAI GPT Image
Image generation and editing API (gpt-image-2, gpt-image-1.5, gpt-image-1, gpt-image-1-mini).
gpt-image-2 per image: low $0.005-0.006, medium... Commercial OK With conditions API