generate-image
Installation
SKILL.md
Generate Image (Leonardo AI)
Announce:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ generate-image started. Checking environment... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Creates one or more images from a prompt via POST https://cloud.leonardo.ai/api/rest/v2/generations,
polls until the generation is complete, downloads the files and writes <name>.json with the full
request, the model decision, estimated vs. actual cost and the balance before/after. Every paid call is
preceded by a cost block. Default is one image (the API default would be four).
Parameters
/generate-image <prompt> [flags]