Skip to main content
Glama

whomade

Who made this image? whomade verifies C2PA Content Credentials against the official C2PA trust list, reads the metadata AI generators leave behind and spots Gemini's visible watermark. It runs locally: nothing is uploaded unless you ask for OpenAI's check.

$ npx whomade amsterdam.png gemini.png
amsterdam.png
  AI-generated by ChatGPT (gpt-image): verified
  verified c2pa      Signed by OpenAI OpCo, LLC, chaining to Trufo C2PA Root CA (2025, ECC P384) on the C2PA trust list. Declares trainedAlgorithmicMedia. Declares an invisible watermark.

gemini.png
  AI-generated by Google Gemini: unverified, easy to fake or strip
  claimed  watermark Gemini's visible sparkle watermark, 96 px, 64 px from the corner (match 0.79).

Use

CLI

npx whomade photo.jpg https://example.com/image.png
npx whomade photo.jpg --json     # one JSON report per line
npx whomade photo.jpg --openai   # also ask OpenAI for its SynthID watermark (uploads the image)

MCP server — lets an assistant answer "who made this image?"

claude mcp add whomade -- npx -y whomade mcp

For Claude Desktop, Cursor and other clients:

{ "mcpServers": { "whomade": { "command": "npx", "args": ["-y", "whomade", "mcp"] } } }

The server exposes one read-only tool, who_made, which takes a file path or URL. Its optional openai flag needs OPENAI_API_KEY in the server's environment.

Library

import { describe, whomade } from 'whomade';

const report = await whomade(await readFile('photo.jpg')); // Uint8Array or ArrayBuffer
report.ai;          // true | false | null
describe(report);   // "AI-generated by ChatGPT (gpt-image): verified"

await whomade(bytes, { openaiApiKey: process.env.OPENAI_API_KEY }); // opt-in remote check
interface Report {
  ai: boolean | null;                          // null: no evidence either way
  origin?: 'generated' | 'edited' | 'captured';
  confidence: 'verified' | 'signed' | 'claimed' | 'none';
  generator?: string;
  evidence: { source; confidence; origin?; generator?; signer?; detail: string }[];
}

Related MCP server: c2pa-mcp

What it checks

Source

Formats

Examples

C2PA Content Credentials

JPEG, PNG, HEIF, AVIF

ChatGPT, Adobe Firefly, Google, Samsung and Pixel cameras

IPTC digital source type (XMP)

JPEG, PNG, WebP

Google, Meta

Generator metadata

PNG

AUTOMATIC1111, Forge, ComfyUI, InvokeAI, NovelAI

EXIF Software

JPEG, PNG, WebP

tools that sign their name

Gemini's visible watermark

JPEG, PNG

Gemini, Nano Banana

OpenAI's SynthID watermark (--openai)

JPEG, PNG, WebP

ChatGPT, OpenAI API, even after screenshots

Each piece of evidence gets one of three confidence levels:

Confidence

Meaning

verified

Valid C2PA signature from a certificate that chains to the C2PA trust list, or the generator's own watermark detector.

signed

Valid C2PA signature, but the certificate is not on the trust list. Anyone can make one.

claimed

Unsigned metadata, a C2PA manifest that fails validation, or a visible watermark. Easy to fake or strip.

How the Gemini check works

Gemini blends a white sparkle into the bottom-right corner. Google has shipped several layouts (logo 36 to 96 px, margin 32 to 192 px), but the right and bottom margins are always equal, so whomade searches that diagonal at every plausible size, which also covers resized images. It correlates a high-passed corner with the sparkle and compares against the same search in the other three corners.

Measured on 43 real Gemini images and 1,080 crops of 45 other images: 31 watermarks found, 0 false positives. The misses are watermarks that are barely visible to begin with. Cleanly removed watermarks are not detected.

Limits

  • Most sites, messaging apps and screenshots strip metadata. ai: null means no evidence, not "made by a human".

  • Google's own SynthID is only checkable at synthid.com for now; --openai covers OpenAI's.

  • Detection is evidence-based, not a pixel classifier, so it never guesses.

Roadmap

  • Open invisible watermarks: Adobe TrustMark, Stable Diffusion and FLUX

  • Google's SynthID API once it opens

  • Forensic views: error level analysis, noise and frequency maps

License

MIT. The bundled trust list is © C2PA under CC BY 4.0; refresh it with npm run update-trust-list. The sparkle alpha map comes from gemini-watermark-remover (MIT). Test fixtures come from c2pa-rs (MIT OR Apache-2.0) and gemini-watermark-remover.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables reading and verifying C2PA Content Credentials from images and videos through both embedded manifests and invisible watermarks. Supports direct filesystem access, URL checking, and provides structured provenance data including creator identity, AI generation info, and content authenticity.
      2
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Verifies C2PA Content Credentials for local files or URLs and returns an LLM-ready verdict on trust, AI generation, and provenance.
      4
      24 npm
      2
      Apache 2.0
    • A
      license
      A
      quality
      D
      maintenance
      Provides MCP-compatible AI agents with a verify_image tool to check a photo's capture time and provenance using C2PA, EXIF, XMP metadata, and pixel forensics, returning a verdict and confidence score.
      1
      70 npm
      2
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to analyze images from a URL, local path, or Base64 string and determine whether they are AI-generated, including detection of signatures from Flux, Midjourney, DALL·E, and Stable Diffusion. Also inspects cryptographic C2PA provenance manifests, signing certificate authorities, and camera EXIF metadata without requiring API keys or accounts.
      2
      65 npm
      MIT