colorize_lineart
Fills flat colors into line-art regions using Krita’s Colourise Mask, via color scribbles or rectangles, and can leave selected areas transparent.
Instructions
Flat-colour line art with Krita's Colourise Mask: regions = [{"color": "#e0b090", "points": [[x,y],...] (a scribble inside the area)} or {"color": ..., "rect": [x,y,w,h]}]. Krita floods each scribble's colour up to the lines. transparent_color marks areas to leave empty.
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": {
"regions": "<regions>"
},
"name": "colorize_lineart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Colourise | |
| layer | No | ||
| cleanup | No | ||
| regions | Yes | ||
| edge_detection | No | ||
| transparent_color | No |