AiPicDetect.

Remove all metadata from an image

Image metadata is everything in the file that is not pixels: EXIF (camera, lens, GPS position, timestamps), XMP (editing history, AI-generator tags), IPTC (captions, copyright), ICC (colour profile) and C2PA content credentials. AiPicDetect removes all of them at once by decoding the picture and re-encoding it from the raw pixel buffer, so nothing from the original container is copied.

Why re-rendering beats deleting tags

Tools that strip metadata tag by tag must know every container format, and new ones keep appearing (C2PA manifests live in JPEG APP11 segments, PNG and WebP have their own boxes). AiPicDetect takes the screenshot approach instead: Image.frombytes builds a brand-new image from the pixel buffer alone, the EXIF orientation is applied first so the result looks the same, and the new image is saved to a fresh JPEG, PNG or WebP. Whatever was in the old file cannot survive because it was never read into the new one.

Three steps

  1. 02

    清除。

    运行 aipicdetect scrub photo.jpg(或调用 POST /scrub)。AiPicDetect 会解码像素、应用 EXIF 方向信息,并从原始像素缓冲区重新构建一张全新的图像。

  2. 03

    验证。

    运行 aipicdetect inspect photo.clean.jpg;应输出「no metadata signatures found」。

Options

aipicdetect scrub photo.jpg                       # writes photo.clean.jpg
aipicdetect scrub photo.png out.webp --format webp --quality 90
aipicdetect batch inbox clean --detect            # whole folder plus an AI-likelihood report

Over HTTP

curl -s -F "file=@photo.jpg" -o photo.clean.jpg "https://aipicdetect.com/scrub"

The response carries an X-AiPicDetect-Removed header naming the blocks found in the upload. POST /analyze does the same and adds an AI-likelihood score and a download link. On the hosted instance uploads are processed in memory only (privacy); for sensitive material, run AiPicDetect locally.

Caveats

最后更新 2026-09-13 · 在 GitHub 上查看源码

试用检测器