Leonardo.Ai

Model

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

Fiyat
Pay per use
Erişim
API key

Hakkında

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.

Neler yapabilirsin

  • 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

Başlarken

  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

Örnek kod

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
  }'

Ayrıntılar

Barındırma
Hazır hizmet (bulut)
Kullanılabildiği yerler
Tüm dünya
Resmi SDK'lar
Python, JavaScript/TypeScript
MCP sunucusu
Uzak sunucu

Görevler

Alternatifler

Aynı görevler için başka araçlar.

Son kontrol: .