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 Pricing Calculator API

The Pricing Calculator API from Leonardo.AI — 1 operation(s) for pricing calculator.

Leonardo.AI Pricing Calculator 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 Pricing Calculator. 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 1 operation across 1 path, and defines 8 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.

1 operations 1 paths 8 schemas 1 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 Pricing Calculator 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 1

Across 1 path, the API surfaces 1 operation — 1 POST. Each is listed below with its method, path, parameters, and response codes.

Pricing Calculator 1
POST
/pricing-calculator
Calculating API Cost
pricingCalculator body → 200

Schemas 8

The contract defines 8 schemas that model the data the API accepts and returns. Each schema is shown below with its type and property counts.

numImages
integer
The number of images to generate. Must be between 1 and 8. If either width or height is over 768, must be between 1 and 4.
pricingCalculatorServices
string
The services to be chosen for calculating the API credit cost.
photoRealStrengthArg
number
Depth of field of photoReal. Must be 0.55 for low, 0.5 for medium, or 0.45 for high. Defaults to 0.55 if not specified.
promptMagicArg
boolean
Enable to use Prompt Magic.
imageHeight
integer
The input height of the images. Must be between 32 and 1024 and be a multiple of 8. Note: Input resolution is not always the same as output resolution due to u…
promptMagicStrengthArg
number
Strength of prompt magic. Must be a float between 0.1 and 1.0
photoRealVersion
string
The version of photoReal to use. Must be v1 or v2.
promptMagicVersionArg
string
Prompt magic version v2 or v3, for use when promptMagic: true

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

leonardo-ai-pricing-calculator-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 Models API
Leonardo.AI Motion 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 Pricing Calculator 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.