Generate variants in bulk
layerre_create_variants_bulkGenerate many variants (rendered images) from one template in a single request, e.g. one per row of data. All items share one export format. Expensive: use sparingly and keep batches small. combine_pdf merges PDF items into one multi-page PDF (Plus plan or above).
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>",
"export_type": "<export_type>",
"items": "<items>"
},
"name": "layerre_create_variants_bulk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Variant items to render (max 25 per call) | |
| combine_pdf | No | Merge all items into one multi-page PDF (export_type must be pdf) | |
| export_type | Yes | Export format for every item in the batch | |
| template_id | Yes | The UUID of the template to generate from |