Image to pixel art
image_to_pixel_artConvert an image into clean pixel art: detects the pixel grid (or uses pixel_size), snaps every cell to one color and limits the colors or maps them to a palette. Repairs AI-generated pixel art with blurry, uneven or off-grid pixels. Input is a PNG, JPEG or WebP up to 1024 px on the longer side, given as image_url or image_base64. Returns a PNG at native pixel size (one image pixel per art pixel); scale it with nearest-neighbor to display it larger. Free, no account.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "image_to_pixel_art"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| colors | No | Maximum number of colors. Ignored when palette is set. | |
| palette | No | Palette preset id from list_palettes. | |
| image_url | No | Public http(s) URL of the image. | |
| pixel_size | No | Source pixels per art pixel. Omit to detect the grid automatically. | |
| image_base64 | No | The image as base64 or a data URL. |