AI

Leonardo.Ai

Leonardo.Ai is a generative media platform: text-to-image on its own and partner models, image and text-to-video, and upscaling.

Authentication

  • API key

Actions

Generic API request. Call any Leonardo.Ai API endpoint on this connection, for the case where no shipped action covers it yet. The connection supplies the base URL, the authentication and the egress route, so only the path, query and body are yours to fill.

  • Create image generation (v1)Start an image generation from a text prompt, optionally with a chosen model, size, style, Alchemy/PhotoReal/Ultra settings, elements, or an earlier generated image as the starting point.
  • Create image-to-video generation (v1)Animate a still image into a short video with Motion 2.0 or Kling, guided by a prompt.
  • Create text-to-video generation (v1)Generate a short video from a text prompt alone with Motion 2.0 or Kling.
  • Delete generation (v1)DestructivePermanently delete a generation and its images from the Leonardo.Ai account, for example to clean up after the output has been copied elsewhere.
  • Get generation (v1)Look up one generation by id to find out whether it has finished and where its output is.
  • Get me (v1)Read the account behind the API key: the user id every per-user listing needs (body.userdetails[0].user.id - pass it as userId to List generations), the username, and the remaining token balances (apiSubscriptionTokens, apiPaidTokens) and their renewal date, so a workflow can check it can afford a job before…
  • Get variation (v1)Look up an upscale or other variation by id to find out whether it has finished.
  • List elements (v1)List the public Elements (style LoRAs) that can be layered onto an image or video generation.
  • List generations (v1)List the image and video generations a user has made, newest first, to find a generation id without having kept the create response.
  • List platform models (v1)List the public platform models an image generation can run on (Leonardo Phoenix, Kino XL, Lightning XL, ...).
  • Upscale image with Universal Upscaler (v1)Make a higher-resolution version of an image with the Universal Upscaler, in legacy mode (Upscaler style) or ultra mode (Ultra upscale style).

Product names, logos and brands are the property of their respective owners and are used here for identification only. Their use does not imply endorsement by, or affiliation with, those owners.