How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Leonardo.AI Elements API

The Elements API from Leonardo.AI — 3 operation(s) for elements.

Leonardo.AI Elements API is one of 14 APIs that Leonardo.AI publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

This API exposes 2 JSON Schema definitions.

Tagged areas include Elements. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a getting-started guide, an AsyncAPI specification, a JSON-LD context, and 2 JSON Schemas.

This API exposes 5 operations across 3 paths, and defines 5 schemas. It is described by OpenAPI 3.0.0, at version v1.0.0.

Requests are made against a single base URL, https://cloud.leonardo.ai/api/rest/v1.

5 operations 3 paths 5 schemas 1 DELETE3 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
v1.0.0
Server
https://cloud.leonardo.ai/api/rest/v1
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

Leonardo.AI Elements API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (auth-scheme) (bearerAuth). By default, every request must be authenticated.

  • bearerAuth — Bearer HTTP authentication. Allowed headers Authorization: Bearer

Paths & Operations 5

Across 3 paths, the API surfaces 5 operations — 1 DELETE, 3 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Elements 5
GET
/elements/{id}
Get a Single Custom Element by ID
getElementById 1 param → 200
DELETE
/elements/{id}
Delete a Single Custom Element by ID
deleteElementById 1 param → 200
GET
/elements/user/{userId}
Get a list of Custom Elements by User ID
getCustomElementsByUserId 1 param → 200
POST
/elements
Train a Custom Element
createElement body → 200
GET
/elements
List Elements
listElements → 200

Schemas 5

The contract defines 5 schemas that model the data the API accepts and returns. The most detailed are lora (8 properties), cost (2 properties). Each schema is shown below with its type and property counts.

timestamp
string
lora
object
8 properties
sd_versions
string
The base version of stable diffusion to use if not using a custom model. v15 is 1.5, v2 is 2.1, if not specified it will default to v15. Also includes SDXL and…
job_status
string
The status of the current task.
cost
object
The cost of the operation.
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

leonardo-ai-elements-api-openapi.yml Raw ↑

Other APIs Leonardo.AI publishes across the network.

Leonardo.AI 3D Model Assets API
Leonardo.AI Blueprints API
Leonardo.AI Dataset API
Leonardo.AI Image API
Leonardo.AI Init Images API
Leonardo.AI Media API
Leonardo.AI Models API
Leonardo.AI Motion API
Leonardo.AI Pricing Calculator API
Leonardo.AI Prompt API
Leonardo.AI Realtime Canvas API
Leonardo.AI User API
Where this information came from

This is an independent, third-party profile of Leonardo.AI Elements API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.