Create a paint by numbers from a photo
create_paint_by_numbersConvert a photo (pet, family, wedding, landscape...) into a paint-by-numbers template. Returns: the numbered outline to paint on, a colour preview of the finished painting, a numbered colour key, and download links (printable SVG and PNG, valid for 30 days). Takes about 5 to 40 seconds.
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": "create_paint_by_numbers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Random seed for repeatable results. | |
| image | Yes | Public http(s) URL of the photo (JPEG, PNG or WebP), or a data: URI / base64 data. | |
| detail | No | simple = 12 colours, big regions (kids, beginners). medium = 16 colours. detailed = 24 colours, small regions (adults, realistic). | medium |
| palette | No | Use only these paints, as "#rrggbb" or {name, color}. Each colour snaps to the nearest paint. | |
| color_space | No | lab can match human colour perception better. | rgb |
| outline_color | No | Line colour of the outline, e.g. #999999 for light lines. | #000000 |
| min_region_size | No | Override: remove regions smaller than this many pixels. Bigger = easier to paint. | |
| number_of_colors | No | Override the number of paint colours. |