Leonardo.Ai

Model

API for Leonardo's image and video models plus many third-party models

Price
Pay per use
Access
API key

About

Canva-owned API that runs Leonardo's own models (Lucid, Phoenix, Motion) next to hosted third-party image, video and audio models, and takes over the remove.bg background removal API. Billing is prepaid dollars; API credit is separate from web app plans.

What you can do with it

  • Generate images with Lucid Origin, Phoenix or third-party models like FLUX
  • Turn a prompt or a still image into a short video clip
  • Remove backgrounds from product and portrait photos in one sync call

Get started

  1. Buy API credit on the API Access page of the Leonardo app
  2. Create an API key there and send it as a Bearer token

Example

curl -X POST https://cloud.leonardo.ai/api/rest/v2/generations \
  -H "accept: application/json" \
  -H "authorization: Bearer $LEONARDO_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "model": "lucid-origin",
    "parameters": {
      "prompt": "a portrait-style photograph of a fox with soft orange fur",
      "quantity": 1
    },
    "public": false
  }'

Details

Hosting
Hosted service
Available in
Worldwide
Official SDKs
Python, JavaScript/TypeScript
MCP server
Remote

Tasks

Alternatives

Other tools for the same tasks.

Last checked on .