Leonardo Ai Generation Structure
Operational structure describing the lifecycle of a Leonardo.AI image generation job — request shape, async job acknowledgement, polling key, and the eventual generation result returned via GET or webhook callback.
Type:
Properties: 0
Artificial IntelligenceImage-GenerationVideo GenerationGenerative AICreative3DDiffusionCanva
Leonardo Ai Generation Structure is a JSON Structure definition published by Leonardo.AI. It conforms to the https://json-structure.org/schema/draft-01 meta-schema.
{
"$schema": "https://json-structure.org/schema/draft-01",
"$id": "https://api-evangelist.com/structures/leonardo-ai/leonardo-ai-generation-structure.json",
"title": "Leonardo.AI Generation Structure",
"description": "Operational structure describing the lifecycle of a Leonardo.AI image generation job — request shape, async job acknowledgement, polling key, and the eventual generation result returned via GET or webhook callback.",
"structure": {
"Generation": {
"lifecycle": ["request", "ack", "pending", "complete", "failed"],
"identifier": "id",
"request": {
"endpoint": "POST /generations",
"required": ["prompt"],
"optional": [
"negative_prompt", "modelId", "num_images", "width", "height",
"num_inference_steps", "guidance_scale", "seed", "scheduler",
"presetStyle", "photoReal", "photoRealVersion", "alchemy",
"promptMagic", "transparency", "public", "tiling", "controlnets",
"elements", "webhookCallbackUrl"
]
},
"ack": {
"endpoint": "POST /generations",
"returns": "sdGenerationJob.generationId",
"cost": "sdGenerationJob.apiCreditCost"
},
"poll": {
"endpoint": "GET /generations/{id}",
"interval": "exponential backoff starting at 2s; prefer webhookCallbackUrl",
"terminal_states": ["COMPLETE", "FAILED"]
},
"result": {
"endpoint": "GET /generations/{id}",
"shape": "generations_by_pk.generated_images[].url"
}
},
"Video": {
"lifecycle": ["request", "ack", "pending", "complete", "failed"],
"request_endpoints": [
"POST /generations-image-to-video",
"POST /generations-text-to-video",
"POST /generations-motion-svd"
],
"poll": "GET /motion-variations/{id}"
},
"Variation": {
"lifecycle": ["request", "ack", "pending", "complete", "failed"],
"request_endpoints": [
"POST /variations/upscale",
"POST /variations/unzoom",
"POST /variations/nobg",
"POST /variations/universal-upscaler"
],
"poll": "GET /variations/{id}"
}
}
}
Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for json structure
4 MCP tools reach this
find_json_structuresBrowse and filter every JSON Structure in the catalog.
apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
resolveTurn a domain, URL or GitHub org into the provider it belongs to.
find_cohortsEvery scored population of providers in the catalog.
All 92 tools →
Call it yourself
curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/leonardo-ai-generation-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.
A second provider on the same verified email joins the account you already have.