Recent
Recommendations
Webhooks
Service
X (Twitter)
Service
YouTube
Service
Discord
Service
Google Sheets
Service
MyQ
Service
Gmail
Service
Instagram
Service
See all results
Explore
Plans
Log in
Get started
Mobile menu
Close menu
Back
Leonardo AI
Get generation details
This query returns the images and metadata for a completed generation in your Leonardo AI account.
Developer info
API endpoint slug
leonardo_ai.get_generation_details
Runtime method
performQuery("leonardo_ai.get_generation_details"}
Query fields
Generation
Text input > Other
Label
Generation ID
Helper text
The ID of the generation to retrieve. Use the GenerationId ingredient from the "New image generation" trigger.
Slug
generation_id
Required
true
Can have default value
true
Ingredients
Generation
The unique ID of the generation.
Slug
generation_id
Filter
LeonardoAi.getGenerationDetails.GenerationId
Type
String
Example
1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d
First image url
URL of the first image in the generation.
Slug
first_image_url
Filter
LeonardoAi.getGenerationDetails.FirstImageUrl
Type
Image URL
Example
https://cdn.leonardo.ai/users/abc/generations/1a2b3c4d/image_0.png
Prompt
The text prompt used to create the generation.
Slug
prompt
Filter
LeonardoAi.getGenerationDetails.Prompt
Type
String
Example
A serene mountain lake at sunrise, photorealistic
Model
The ID of the Leonardo AI model used for the generation.
Slug
model_id
Filter
LeonardoAi.getGenerationDetails.ModelId
Type
String
Example
de7d3faf-762f-48e0-b3b7-9d0ac3a3fcf3
Image count
How many images the generation produced.
Slug
image_count
Filter
LeonardoAi.getGenerationDetails.ImageCount
Type
String
Example
4
Created at
When the generation was created.
Slug
created_at
Filter
LeonardoAi.getGenerationDetails.CreatedAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06+05:00
Applets using this Query
Save Leonardo AI generation image to Google Drive
by
iOS Shortcuts
Send Leonardo AI generation details to Notifications
by
Google
Send Leonardo AI image to Telegram on location arrival
by
IFTTT
Post Leonardo AI generation to Slack
by
Webhooks
Email Leonardo AI generation on Button widget press
by
Button widget
Save Leonardo AI generation images to Google Drive
by
Note widget