Send an email when Leonardo AI completes a generation
This trigger fires when an image generation in your Leonardo AI account is completed.
Developer info
- API endpoint slug
- leonardo_ai.new_image_generation
Trigger fields
No fields for this trigger
Ingredients
Generation The unique ID of the completed generation. Pass this to the "Get generation details" query to retrieve every image and its metadata.
- Slug
- generation_id
- Filter code
- LeonardoAi.newImageGeneration.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 code
- LeonardoAi.newImageGeneration.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 code
- LeonardoAi.newImageGeneration.Prompt
- Type
- String
- Example
- A serene mountain lake at sunrise, photorealistic
Model name The Leonardo AI model used for the generation.
- Slug
- model_name
- Filter code
- LeonardoAi.newImageGeneration.ModelName
- Type
- String
- Example
- Leonardo Phoenix
Image count How many images the generation produced.
- Slug
- image_count
- Filter code
- LeonardoAi.newImageGeneration.ImageCount
- Type
- String
- Example
- 4
Created at When the generation was created.
- Slug
- created_at
- Filter code
- LeonardoAi.newImageGeneration.CreatedAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06+05:00
