Remove AI watermarks from a directory
batchCleans supported images, videos, or audio files in a directory, removing AI provenance metadata or watermarks and writing results to a separate output directory.
Instructions
Clean every supported image (media=image), video (media=video), or audio file (media=audio) in a directory the user owns, writing results to a separate directory (default _clean). Modes match the remove tool (for video, use cli_video_batch when opt-in invisible regeneration is needed).
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": {
"directory": "<directory>"
},
"name": "batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | metadata | |
| media | No | image | |
| preset | No | Optional high-level preset (lossless-fast, balanced, deep-clean) for multimodal batch. | |
| directory | Yes | Directory of input files. | |
| output_dir | No | Output directory. Must differ from the input. |