Create a batch of templated images
create_batch_templated_imagesCreates multiple images from one or more saved templates. Set template_id in default_options or each variation; resolve unknown IDs with list_templates. Keep variations within max_batch_size from capabilities, or call get_max_batch_size if that limit is not already known. Shared template_values merge recursively with each variation; arrays, scalars and explicit null replace defaults. Overriding a template_id resets the inherited version unless a version is also supplied. Identical images reuse existing assets. Returns IDs, URLs and format information in response order. Use create_templated_image for a single image or inline preview.
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": {
"variations": "<variations>"
},
"name": "create_batch_templated_images"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variations | Yes | One image request per variation. Inherit the default template or supply a different template_id, optional template_version and template_values. | |
| default_options | No | Optional template_id, template_version, template_values and output format shared by all variations. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | No | Operation result. Check success before using this value. | |
| error | No | Error details when the operation failed; null on success. | |
| success | No | Whether the operation succeeded. If false, inspect error before retrying. |