Generate Images Using Alchemy
TipThere is no need to specify which version of Alchemy is required, the models will automatically apply the appropriate Alchemy version.
Sample Request
curl --request POST \
--url https://cloud.leonardo.ai/api/rest/v1/generations \
--header 'accept: application/json' \
--header 'authorization: Bearer <YOUR_API_KEY>' \
--header 'content-type: application/json' \
--data '
{
"height": 512,
"prompt": "A beautiful sleeping white cat",
"modelId": "aa77f04e-3eec-4034-9c07-d0f619684628",//Leonardo Kino XL model
"width": 512,
"alchemy": true,
"presetStyle": "CINEMATIC"
}
'
Models and Alchemy Version
This is not a full comprehensive list of all Models. To view all platform models, use the List Platform Models endpoint.
Alchemy Version Applied | Example Models |
|---|---|
V2 | Leonardo Lightning XL |
V1 | Absolute Reality v1.6 |
Updated 7 days ago
