Generate website images
mediaGeneration_generateGenerates up to eight images in one batch. Items run concurrently, may use same-website image references, and successful outputs become ordinary website assets. An item with background: "transparent" stores each output as a native transparent PNG without a separate opaque copy. Read the assets-and-media skill with skills_read first.
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": {
"websiteId": "<websiteId>",
"items": "<items>"
},
"name": "mediaGeneration_generate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| websiteId | Yes | ||
| idempotencyKey | No | Send the same key when retrying one request so it never generates or bills twice. Omit for a new request. |