add_outline
Outline a sprite on a transparent background, like the Sprite Outline tool on voidless.dev/tools: colour, thickness, outside (the canvas grows by thickness + 2 px a side, as on the site, unless expand is false) or inside (the sprite's own edge pixels), 8-connected (rounded) or 4-connected (blocky) corners. Images up to 2048x2048, 256 frames, 32 MB of input per call. Free: no credits.
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": "add_outline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | outside | |
| save | No | Also save the result to your Voidless library (free, private) and return its asset id and cdn.voidless.dev URL, for passing to the next tool without base64 | |
| color | No | Hex, #rrggbb or #rrggbbaa | #000000 |
| image | Yes | An image: an https URL (e.g. a cdn.voidless.dev link from get_asset or a saved result), a library image key (assets/…png, as get_asset lists it), a data: URI, or base64 PNG/GIF. | |
| expand | No | Outside only: grow the canvas so the outline fits | |
| thickness | No | ||
| connectivity | No |