pixelate_image
Convert any image to pixel art at a target size (the colour count follows the size). Returns the image; nothing is saved to the library. 1 credit.
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": {
"image": "<image>"
},
"name": "pixelate_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Pixel size: 32, 48, 64, 96, 128, 192, 256 or 384, or 512 and 1024, drawn on a real 4x grid (128 / 256 art pixels) | |
| image | Yes | Base64 source image (a data: prefix is stripped automatically) |