Leonardo.AI API
Leonardo.AI 接口
AI image generation platform with fine-tuned models, real-time generation, and training API.
AI 图像生成平台,提供微调模型、实时生成和模型训练 API。
Website
Documentation
Pricing
free tier (150 tokens/day), paid plans
Authentication
- API Key
Popularity
62/100
Endpoints
https://cloud.leonardo.ai/api/rest/v1/generations
SDKs
Pythoncurl
Key Features
- ◆Fine-tuned generation models
- ◆Real-time canvas editing
- ◆Custom model training
- ◆API and web interface
- ◆Free daily tokens
Code Examples
Generate Imagebash
curl https://cloud.leonardo.ai/api/rest/v1/generations \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LEONARDO_API_KEY" \
-d '{
"prompt": "a futuristic cityscape",
"modelId": "b24e16ff-06e3-43eb-8d33-4416c2d75876"
}'Tags
imagegenerationtrainingmodels
Last updated: 2026-07-28
Similar APIs
Midjourney API
★92AI image generation via Midjourney. Create stunning artwork from text prompts with style control.
Hugging Face Hub API
★92Access 500K+ models, datasets, and Spaces. Inference API for instant model deployment.
RunwayML API
★79AI video and image generation. Gen-3 Alpha for video, image-to-video, and creative tools.
Suno AI Music API
★78Generate original songs and music from text prompts with vocals, instruments, and multiple genres.
Something wrong or missing? Open an issue on GitHub →
Pricing Comparison
| API | Pricing | Auth | Popularity |
|---|---|---|---|
| Midjourney API | subscription plans from $10/month | Discord Bot (via API proxy) | 92 |
| RunwayML API | free tier + $15/month | API Key | 79 |
| Midjourney API | subscription ($10-$60/mo), API via third-party | API Key | 75 |
| RunwayML API | free tier (credits), Standard $15/mo, Pro $35/mo, Unlimited $100/mo | API Key | 74 |
Discussion
Questions, feedback, or suggestions? Start a discussion.
Discuss on GitHub