Generate variant image
layerre_create_variantGenerate a variant (rendered image) from a template with optional layer overrides. This is an expensive operation that renders the final output.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"template_id": "<template_id>"
},
"name": "layerre_create_variant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | Output width in pixels (defaults to template width) | |
| height | No | Output height in pixels (defaults to template height) | |
| overrides | No | Layer overrides to customize the variant | |
| export_type | No | Export format (default: png) | |
| template_id | Yes | The UUID of the template to generate from |