ActionLeonardo AIUpdated June 2026

How do I generate an image with Leonardo?

Short answer: You can generate leonardo image in Leonardo AI by hand from its own interface, but it won’t repeat itself. On TinyCommand, add the Leonardo AI Generate Leonardo Image action to a workflow, map its 5 inputs from any upstream app, and it runs automatically every time the trigger fires. No code, and a free tier to start.

Generate Leonardo Image in Leonardo AI — start free
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. TinyCommand handles Leonardo AI's rate limits automatically so you don't have to throttle manually.
More actions

Other Leonardo AI actions.

Action
Get Leonardo Generation
Polls a generation by ID; returns image URLs once status is COMPLETE (default 4 images per generation). For production, configure webhookUrl on the generation request for push notification.
Generate Leonardo Image in Leonardo AI — start free