Skip to content
LActionLeonardo AIUpdated May 2026

How do I generate an image with Leonardo?

Short answer: Drop the "Leonardo AIGenerate Leonardo Image" action anywhere in your workflow, map the inputs from upstream nodes, and publish.

Inputs

The fields this action accepts.

Every field can be mapped from an upstream trigger, AI step, table row, or hard-coded literal.

FieldTypeRequiredDescription
Prompt
prompt
stringRequiredPrompt (required)
Model
modelId
optionsOptionalModel. Options: Phoenix 1.0, Lightning XL, Kino XL
Width
width
stringOptionalWidth
Height
height
stringOptionalHeight
Num Images
num_images
stringOptionalNum Images
Sample request
{
"prompt": "{{trigger.prompt}}",
"modelId": "{{trigger.modelId}}",
"width": "{{trigger.width}}",
"height": "{{trigger.height}}",
"num_images": "{{trigger.num_images}}"
}
Returns
{
"sdGenerationJob": {
"generationId": "gen-abc",
"apiCreditCost": 4
}
}

Use these fields in downstream nodes for routing, logging, or error handling.

Triggered by

Apps that pair well as the trigger for Generate Leonardo Image.

Any of these apps can fire this action as part of a workflow.

FAQ

Questions about Generate Leonardo Image.

What does the Generate Leonardo Image action do in Leonardo AI?
Text-to-image with model and style selection from Leonardo's curated catalog. Returns generation ID; poll Get Generation for the finished image URLs. Strong for stylised consistent batches.
What inputs does Generate Leonardo Image require?
Required: Prompt. Every input accepts a static value or a variable from any upstream node in your workflow.
Can I use dynamic inputs from earlier workflow nodes?
Yes. Any field on this action can pull values from upstream nodes, whether that's a form response, a trigger payload, an AI output, or a lookup result.
What happens if Leonardo AI returns an error?
The workflow pauses on the failed node, the error message is captured in the run log, and you can retry the run with one click. Auto-retry policies are configurable per workflow with exponential backoff up to 5 attempts.
Does Generate Leonardo Image support batch operations?
Yes. Run Generate Leonardo Image inside a Loop node to process arrays. Tiny Command handles Leonardo AI's rate limits automatically so you don't have to throttle manually.
More actions

Other Leonardo AI actions.

Send generate leonardo image from your workflows.

Triggered by anything in the catalog. Free tier available. No credit card.