remove_background_batch
Batch-remove backgrounds from up to 10 local image files and save transparent or solid-color cutouts to disk.
Instructions
Remove backgrounds from multiple local image files sequentially (up to 10 files per batch) and save the cutouts to disk.
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_paths": "<input_paths>"
},
"name": "remove_background_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Output image format. | auto |
| bg_color | No | Optional 6-digit hex background color (e.g. #FFFFFF). | |
| defringe | No | Apply color decontamination on hair/fur edges. | |
| output_dir | No | Optional directory to write all processed cutouts into. Defaults to each input file's directory. | |
| input_paths | Yes | List of local image file paths (max 10). |