pixelate_image
Convert an image to pixel art at a target size, with the colour count picked for that size. The PNG comes back inline and is NOT saved to the user's library, so it has no asset ID. For a messy sprite or a video use clean_up_sprite (saved, background removed); for a Voidless asset with its animations use resize_sprite (free). 1 credit on every call (each call bills again).
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 | Output size in px (square, default 64): 32, 48, 64, 96, 128, 192, 256 or 384, or 512 and 1024, drawn on a real 4x grid (128 / 256 art pixels). Smaller sizes give chunkier pixels and fewer colours | |
| image | Yes | The source image: an image key from one of your assets (as get_asset lists it), a public http(s) link (a cdn.voidless.dev URL works), or base64 (a data: prefix is stripped automatically). Prefer a key or a link: a long base64 string is easy to garble |