Flow State has launched.

Supercharge your business with the Leonardo API

Your Production API Key
8e3ab-****-****-495a5
Quick and easy
Create your API key in lightning speed

Experience content creation excellence with Leonardo.AI’s API. With unmatched scalability, effortlessly tailor outputs to your brand guidelines.

Benefit from optimal efficiency, stay ahead with cutting-edge AI advancements, and seamlessly integrate our solution into your existing platforms.

Our API Documentation
Controlled cost
Stay in control of your budget

Choose Leonardo.AI, the standout solution in the competitive landscape. With credits that never expire, enjoy unmatched flexibility. Collaborate for bespoke plans tailored to your projects or business needs.
Get real-time notifications via our webhooks and efficiently manage your budget with our intuitive pricing calculator.

With Leonardo.AI, customization, flexibility, and budget management set you ahead in your creative journey.

Build my First API key
Use cases
An API tailored to your needs

Our API seamlessly adapts to a myriad of domains and diverse use cases. Whether it’s image generation, speed-up your workflow, or other cutting-edge applications, our solution continually evolves to meet the shifting demands of the market. With us, your adaptability knows no bounds.

Marketing & Advertising
Compelling visual content for campaigns
Game Development
Rapidly generate diverse and detailed game assets
Education & Training
Produce educational materials and simulations
E-Commerce
Enhance product presentations with creative visualisations
Film & Animation
Bring scripts to life with conceptual art and storyboarding
IT & SaaS
Seamlessly integrate our platform into your app or digital service

Our Happy Clients

"Partnering with Leonardo.Ai was a natural fit when it came to Axon Create,". "For Gamers. By Gamers. is our guiding principle for product development, and the native understanding of gaming language by Leonardo.Ai's AI model resulted in a seamless experience for our gamers to generate artwork that aligns with their exact interests."
Quyen Quach, Vice President of Software at Razer
“Leonardo removes the complexity while maintaining the flexibility needed for enterprise businesses to use generative Ai.”
Gwan Yip, CEO and Co-founder of Core3D
Pricing
Leonardo API Plans

Leverage the power of Leonardo in your own projects with our API plans.

API Basic

$9

/ month

ex. tax

Buy Now
3,500 API credits per month

Use the API in any of the following ways:

Up to 5 concurrent generations

Alchemy, Prompt Magic v3, PhotoReal, and Motion

Train models with API credits

Purchase additional API credits to continue using the API

API credits do not expire

No discount on API credits top-ups

Automatic API credits top-ups

API Standard

$49

/ month

ex. tax

Buy Now
25 000 API credits per month

Use the API in any of the following ways:

Up to 5 concurrent generations

Alchemy, Prompt Magic v3, PhotoReal, and Motion

Train models with API credits

Purchase additional API credits to continue using the API

API credits do not expire

20% discount on API credits top-ups

Automatic API credits top-ups

API Pro

$299

/ month

ex. tax

Buy Now
200 000 API credits per month

Use the API in any of the following ways:

Up to 5 concurrent generations

Alchemy, Prompt Magic v3, PhotoReal, and Motion

Train models with API credits

Purchase additional API credits to continue using the API

API credits do not expire

40% discount on API credits top-ups

Automatic API credits top-ups

API Custom

Custom

Contact
Custom API credits amount

Use the API in any of the following ways:

Up to 5 concurrent generations

Alchemy, Prompt Magic v3, PhotoReal, and Motion

Train models with API credits

Purchase additional API credits to continue using the API

API credits do not expire

Custom discount on API credits top-ups

Automatic API credits top-ups

You can get started by going through the Production API documentation

You will need a free Leonardo.Ai user account to logon. The Production API documentation will guide you to getting an API plan and creating an API key. Then it will walk you through your first image generations.

You can get a Basic API Plan for 9 USD. The Basic API Plan will give you access to all the Production API features so it’s appropriate for getting started, learning about the features, and testing.

We offer Basic, Standard, and Pro API plans with different plans offering higher amounts of credits. Custom Monthly Plans are also available with discounted prices for higher image generation volumes, if you plan to use at least 1M images per month.

Should you require more than 1M credits/month, please contact our team and we can discuss your needs with you.

Yes. Your input images are exclusive to you.

Yes. You can delete your input images using the Delete Init Image API endpoint.

No. Your input images are never used for training. Input images do not get fed to a “giant model” that learns from the input. Instead, we extract initialization parameters that influence the image generation process.

Yes. To enable this feature, set the parameter public to false when calling the Create a Generation of Images API endpoint.

No. Your images are never used for training.

As per Section 3 of our Terms of Service, you retain ownership of all inputs you provide to the services. Furthermore, Leonardo.Ai assigns to you all rights, titles, and interests in the outputs generated and returned by the services based on your input. As a Leonardo.Ai platform user, this means you own all content you generate using the platform. For more details, please refer to Section 3 of the Terms of Service.

Yes. We offer API access to Training a Custom Model.

Yes. You can train a custom fine-tuned model within Leonardo.Ai and you can use that for image generation. To use your own custom model, specify the model ID in the parameter modelId of the Create a Generation of Images API endpoint.

We publish the default limits in our API Limits page.

We are able to do this for custom API plans, where the minimum monthly spend is 1M credits/month. Please reach out to us to discuss an increase of your concurrency on your account.

Yes, you can use the images you generate on the Leonardo platform for commercial purposes. Read more here.

Increase the range of possibilities by integrating Leonardo API to your product