Strip AI Metadata
v1.0.0Remove GPS, EXIF, C2PA and AI prompts from photos, videos, PDFs and RAW files.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
clean_files Remove metadata from files
Removes hidden metadata from photos (JPG, PNG, WebP, AVIF, HEIC), videos (MP4, MOV), PDFs and camera RAW files (CR2, CR3, NEF, ARW, DNG, RAF, RW2, ORF, PEF): GPS location, camera and serial numbers, owner and author names, dates, XMP/IPTC, C2PA Content Credentials and AI prompts. Works on files or folders on this computer. Originals are not changed: a clean copy is saved as name-clean.ext unless in_place is true. Runs locally; nothing is uploaded.
| Parameter | Type | Description |
|---|---|---|
paths * | array | Absolute paths of files or folders to clean |
in_place | boolean | Overwrite the originals. Only use when the user explicitly asks for it. |
keep_dates | boolean | RAW files: keep the capture date. |
mode | string | Images: all = remove everything (default); ai = only AI tags, C2PA and prompts, keep camera data; gps = only location; c2pa = only Content Credentials. Videos support all and gps. |
output_dir | string | Folder to save clean copies in. Default: next to each original. |
recursive | boolean | Include sub-folders when a folder is given. |
inspect_files Show hidden metadata in files
Lists what photos, videos, PDFs and RAW files reveal without changing them: GPS location, camera, serial numbers, author, dates, C2PA Content Credentials, AI generator tags and AI prompts. Use it to check a file before sharing or to confirm a clean copy is clean.
| Parameter | Type | Description |
|---|---|---|
paths * | array | Absolute paths of files or folders to inspect |
recursive | boolean | Include sub-folders when a folder is given. |