convert_image_to_pixel_art
Convert an image to pixel art with a deterministic shared palette. Set target dimensions, max colors, and dithering to generate a pixelated version for game assets.
Instructions
Convert one image to pixel art with a deterministic shared palette.
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": {
"input_filename": "<input_filename>",
"output_filename": "<output_filename>",
"width": "<width>",
"height": "<height>"
},
"name": "convert_image_to_pixel_art"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | Yes | ||
| dither | No | none | |
| height | Yes | ||
| max_colors | No | ||
| resize_mode | No | box | |
| input_filename | Yes | ||
| alpha_threshold | No | ||
| output_filename | Yes |