Leonardo AI represents a powerful suite of image generation and manipulation models. These models are designed to handle various image creation tasks with exceptional quality and control, offering enterprise-grade reliability through APIpie's routing system.
Leonardo AI Series:
| Model Name | Provider | Type | Description | Best For |
|---|---|---|---|---|
| Leonardo-Phoenix | EdenAI | Image | Flagship proprietary foundation model | Photorealism |
| Leonardo-Lightning-XL | EdenAI | Image | Rapid image generation | Quick results |
| Leonardo-Anime-XL | EdenAI | Image | Anime-style art generation | Anime content |
| Leonardo-Kino-XL | EdenAI | Image | Cinematic-style imagery | Film-like scenes |
| Leonardo-Vision-XL | EdenAI | Image | Photorealistic outputs | Detailed realism |
| Leonardo-Diffusion-XL | EdenAI | Image | Versatile image generation | General purpose |
Below is an example of how to use the Image Generation API with a Leonardo AI model:
curl -L -X POST 'https://apipie.ai/v1/images/generations' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR_API_KEY>' \
--data-raw '{
"provider": "edenai",
"model": "Leonardo-Phoenix",
"prompt": "A serene landscape with mountains reflected in a calm lake at sunset",
"n": 1,
"size": "1024x1024"
}'
The expected response structure for a Leonardo AI image model:
{
"created": 1729535643,
"data": [
{
"url": "https://example.com/generated-image.png",
"b64_json": null
}
],
"usage": {
"prompt_tokens": 15,
"total_tokens": 15,
"cost": 0.017,
"latency_ms": 4800
}
}
Phoenix is Leonardo AI's flagship model, developed in-house as a foundational model rather than a fine-tuned variant of existing architectures like Stable Diffusion. It is engineered to deliver high-resolution, photorealistic images with enhanced coherence and detail.
Kino XL specializes in producing cinematic-style images, excelling in wider aspect ratios and delivering dramatic compositions. It operates effectively without the need for negative prompts, making it user-friendly for creating movie-like scenes.
Leonardo Vision XL is tailored for photorealistic outputs, particularly excelling in portraiture and scenes requiring intricate details. It performs best with longer, descriptive prompts, capturing subtle nuances in subjects.
Leonardo Diffusion XL is a versatile model that generates high-quality images even with concise prompts. It's suitable for a broad range of styles and subjects, offering users flexibility in image creation.
Leonardo Anime XL focuses on generating anime and manga-style images with consistent character designs, stylized features, and appropriate aesthetic choices that match anime conventions.
Leonardo Lightning XL provides rapid image generation while maintaining quality, ideal for quick iterations and concept exploration when time is of the essence.
Leonardo AI models should be used responsibly with appropriate content filtering and bias consideration. Users should be aware of the platform's terms of service and ensure they have appropriate rights for any images used in training custom models.
Leonardo AI models are available through the Leonardo AI platform with specific licensing terms. Refer to Leonardo AI's terms of service for detailed information.
Flux Image Models Overview
Discover the capabilities of Flux image models, including their architecture, applications, and integration with APIpie for advanced image generation tasks.
Stable Diffusion Guide: SDXL & Variants
Discover Stability AI's Stable Diffusion models, including SDXL variants. Compare features, capabilities, and find your ideal image generation solution!