One place for every format: drop in an image, video, audio file, PDF or Office document and it is checked for C2PA Content Credentials and AI-tool metadata fingerprints, or paste text to find hidden Unicode markers. The scanner works out what the file is. A signal found is a hint, not proof; no signal found doesn't confirm authenticity either — details below.
Checks for C2PA Content Credentials in images (JPEG, PNG, WebP, TIFF, GIF, AVIF, HEIC, SVG, DNG), video (MP4, MOV, M4V, AVI), audio (MP3, M4A, WAV, FLAC) and PDF. Images are additionally checked for known AI-generator metadata fingerprints (Stable Diffusion, ComfyUI, Midjourney, and others). Documents — PDF, Word, Excel, PowerPoint, OpenDocument — get the same check as the PDF AI Scanner: AI-tool names in the metadata, graded strong or weak, and hidden characters in the text. A plain-text file (.txt, .md, .csv…) is scanned like pasted text.
Paste text to find hidden Unicode markers — zero-width characters, Unicode tag characters (a steganography channel), bidirectional controls, variation selectors, unusual whitespace, and mixed-script homoglyph substitution. Nothing is removed; the invisible parts are surfaced and made visible. This does not read statistical token-distribution watermarks (e.g. SynthID-Text) — those need the vendor's own detector.
Content Credentials are the industry standard (backed by Adobe, Google, Microsoft, and the broader Content Authenticity Initiative) for cryptographically attaching provenance data to a file at the moment it's created or edited. Specification: C2PA technical specification; background: Content Authenticity Initiative. This tool reads and validates manifests with the open-source c2pa-python bindings (version 0.37.7) of the C2PA Rust SDK.
Most AI image tools in everyday use — especially local, non-hosted ones — don't attach C2PA credentials at all, but many still leave their own fingerprints behind in ordinary file metadata.
Software, UserComment, ImageDescription, and Artist tags, where tools like AUTOMATIC1111's Stable Diffusion WebUI write full generation parameters (steps, sampler, CFG scale, seed).parameters chunk with the prompt and settings.DigitalSourceType property, which Midjourney and a growing number of other generators set to explicitly flag AI-generated or AI-composited output.A document is handed to the same analysis as the PDF AI Scanner, and the result looks the same on both pages.
.doc, .xls, .ppt formats and password-protected Office files.Text pasted into the Text tab, or uploaded as a plain-text file, is checked character by character for invisible and look-alike characters. The wording itself is not judged: detectors that guess “AI-written” from style are wrong about people's own writing too often to sit next to verifiable facts.
curl -sS -X POST https://devops.majbase.com/ai-image-scanner/api \
-F "file=@photo.jpg" # or clip.mp4, track.mp3, report.pdf, letter.docx, notes.txt
{
"filename": "photo.jpg",
"format": "PNG",
"media_kind": "image",
"size_kb": 1842.5,
"sha256": "a82f3c1e…9d4b",
"dimensions": "1024x1024",
"verdict": "unverified_ai_signal",
"c2pa": {
"manifest_found": false,
"validation_state": null,
"claim_generator": null,
"ai_assertion": null,
"error": null
},
"metadata_signals": ["ComfyUI", "Stable Diffusion"],
"exif_texts": {"Software": "…"},
"png_texts": {"parameters": "…", "workflow": "…"},
"camera_details": {},
"camera_metadata_present": false
}
verdict is one of verified_ai, verified_provenance, unverified_manifest, unverified_ai_signal, no_signal (meanings in "How to read this verdict" above the result, or in the legend that appears with any scan). media_kind is image, video, audio or document; for anything but image, dimensions is null and the image fingerprint fields are empty. A document (PDF, Word, Excel, PowerPoint, OpenDocument) also carries everything the PDF AI Scanner API returns: kind, signal_strength, hits, metadata_notes, text_scan. A plain-text file returns the text findings shown further down, with media_kind text. On a server-side error the response is {"error": "…"} with a non-200 status. No API key is needed; one file per request, 20 MB maximum. This runs on a small server, so keep automated use to a modest rate.
import requests
with open("photo.jpg", "rb") as f:
r = requests.post("https://devops.majbase.com/ai-image-scanner/api",
files={"file": ("photo.jpg", f)}, timeout=60)
r.raise_for_status()
report = r.json()
print(report["verdict"], report["metadata_signals"], report["c2pa"]["validation_state"])
const form = new FormData();
form.append("file", fileOrBlob, "photo.jpg");
const res = await fetch("https://devops.majbase.com/ai-image-scanner/api", { method: "POST", body: form });
if (!res.ok) throw new Error(`scan failed: ${res.status}`);
const report = await res.json();
console.log(report.verdict, report.metadata_signals);
curl -sS -X POST https://devops.majbase.com/ai-image-scanner/text-api \
-H "Content-Type: application/json" \
-d '{"text": "paste text here"}'
{
"char_count": 42,
"verdict": "hidden_characters",
"summary": "Hidden invisible characters found — …",
"hidden_total": 3,
"categories": [
{"key": "zero_width", "label": "Zero-width / invisible characters",
"severity": "high", "count": 3,
"codepoints": [{"cp": "U+200B", "name": "ZERO WIDTH SPACE",
"count": 3, "positions": [5, 11, 20]}]}
],
"mixed_script_words": [],
"annotated": "hello⟨U+200B⟩world…",
"annotated_truncated": false
}
verdict is one of hidden_characters, mixed_scripts, unusual_only, clean. Nothing is stored.
Want an AI agent (Claude Code, claude.ai, or anything else that supports the Agent Skills format) to use this tool for you on request? Download the skill below and add it:
~/.claude/skills/ai-image-scanner/SKILL.md