Knock a color out of artwork (make it transparent)
knockout_colorMake black, white or one chosen color transparent (a knockout, for DTF on dark or light garments). remove: 'black' (default), 'white' or 'color' (then color_hex is required, like #FF0000). tolerance 0-255 sets how close a pixel must be. Costs 0.5 credit (1 over 25 megapixels). If it runs long you get a job_id: poll pigmenta_job_status, do not call it again.
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": "knockout_color"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | No | ||
| handle | No | ||
| remove | No | black | |
| color_hex | No | ||
| image_url | No | ||
| tolerance | No |