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 Models API

The Models API from Leonardo.AI — 4 operation(s) for models.

Leonardo.AI Models 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 Models. 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 4 paths, and defines 7 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 4 paths 7 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 Models 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 4 paths, the API surfaces 5 operations — 1 DELETE, 3 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Models 5
POST
/models
Train a Custom Model
createModel body → 200
GET
/models/{id}
Get a Single Custom Model by ID
getModelById 1 param → 200
DELETE
/models/{id}
Delete a Single Custom Model by ID
deleteModelById 1 param → 200
GET
/models/user/{userId}
Get a list of Custom Models by User ID
getCustomModelsByUserId 1 param → 200
GET
/platformModels
List Platform Models
listPlatformModels → 200

Schemas 7

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

uuid
string
timestamp
string
strength
string
When training using the PIXELART model type, this influences the training strength.
custom_model_type
string
The category the most accurately reflects the model.
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-models-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 Elements API
Leonardo.AI Image API
Leonardo.AI Init Images API
Leonardo.AI Media 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 Models 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.