How X Detects AI-Generated Images (It's Not SynthID)
A deep dive into SynthID, C2PA content credentials, and how platforms actually detect AI-generated images
I was posting an AI-generated image on X when I noticed it — before I even hit Post, a blue banner appeared at the bottom: “AI generated content detected.” And right below the image, a small label: “Made with AI.”

My first assumption was that X must be reading the SynthID watermark — Google DeepMind’s invisible watermarking system that’s baked into every ChatGPT and Gemini image. It seemed like the obvious answer.
I was wrong. So I dug into it.
What Is SynthID?
Before we get to how X actually does it, I want to explain SynthID — because it’s the technology everyone assumes is behind these labels, and understanding why it can’t be X’s mechanism is the key to understanding what’s really going on.
SynthID embeds a pseudorandom pattern directly into image pixels at generation time. The perturbation is tiny — at most ±4 intensity units per channel out of 0–255 — completely invisible to the human eye. Google DeepMind introduced SynthID initially for images, and later extended it to text — the text version is open-sourced on Hugging Face. The image version remains proprietary.
Detection works by computing a statistical correlation between the image and the expected pattern for a known secret key. The core logic is surprisingly simple:
def detect(img, key):
# Regenerate the expected pattern from the secret key
pattern = np.random.RandomState(key).choice([-1.0, 1.0], size=img.shape)
# Pearson-style correlation: high score = watermark present
img_f = img.astype(float)
score = np.mean((img_f - img_f.mean()) * pattern) / (img_f.std() + 1e-8)
return score > 0.03 # threshold
I built a demo to test this against three scenarios:
| Image | Score | Result |
|---|---|---|
| An image I watermarked myself (correct key) | +0.09260 | WATERMARK DETECTED |
| A real photo with no watermark | -0.00186 | No watermark |
| A ChatGPT / Gemini image (SynthID present, wrong key for us) | +0.00077 | No watermark |
That last row is the key insight: the ChatGPT image scores near zero — not because it has no watermark, but because I don’t have OpenAI’s secret key. The watermark is sitting there in the pixels. I just can’t see it.
The Misconception I Had (And You Probably Have Too)
SynthID does not detect AI images in general. It can only answer one very specific question:
“Was this image generated by OUR model using key K?"
It can’t tell you whether an image from Midjourney, Stable Diffusion, or any other model is AI-generated — those models don’t have the key, so there’s nothing to detect. SynthID can only find watermarks it (or a licensed partner) embedded.
The analogy that clicked for me: it’s like a wax seal on a letter. You can verify your own seal. But you can’t verify someone else’s, and the absence of your seal doesn’t mean no seal was ever there.
Enter C2PA: The Other Provenance System
This is where it gets interesting. Alongside SynthID, there’s a completely different approach: C2PA Content Credentials — an open standard backed by Adobe, Google, Microsoft, and OpenAI. Here’s how the two compare:
| SynthID | C2PA | |
|---|---|---|
| Where it lives | Pixel values | File metadata (caBX chunk) |
| Readable by anyone | No - needs the secret key | Yes - open standard |
| Survives re-encoding | Yes | No - stripped on re-save |
| Who can verify | Only the model provider | Anyone with a C2PA parser |
Think of C2PA as a tamper-evident receipt attached to the file: it records who created the image, which tool was used, and what actions were taken — all cryptographically signed. The catch is it lives in the file’s metadata, not the pixels. Re-save the image and the receipt is gone.
You can read a C2PA manifest from any image with the c2pa Python library:
import c2pa
import json
reader = c2pa.Reader("image.png")
manifest = json.loads(reader.json())
active = manifest["manifests"][manifest["active_manifest"]]
issuer = active["signature_info"]["issuer"]
actions = [a["action"] for a in active.get("assertions", [])
if a.get("label") == "c2pa.actions"]
source_type = next(
(a["data"].get("digitalSourceType") for a in active.get("assertions", [])
if a.get("label") == "stds.schema-org.CreativeWork"),
None
)
print(f"Issuer: {issuer}")
print(f"Actions: {actions}")
print(f"Source type: {source_type}")
What I Found Inside a ChatGPT Image
I ran both detectors on real images from ChatGPT and Gemini. Here’s the ChatGPT one:

SynthID score: +0.00048 — no match, as expected. I don’t have OpenAI’s key.
But the C2PA reader found a 29KB signed provenance record embedded in the caBX PNG chunk:
| Field | Value |
|---|---|
| Issuer | OpenAI OpCo, LLC |
| Actions | c2pa.created -> c2pa.converted -> c2pa.watermarked.unbound |
| Source type | trainedAlgorithmicMedia |
That c2pa.watermarked.unbound action is OpenAI essentially leaving a signed note in the file saying “yes, we applied SynthID to this image.” They log it explicitly.
ChatGPT vs Gemini: Two Different Approaches
Gemini tells a different story.

The newer Gemini endpoint also includes a C2PA manifest, but compare what’s inside:
| OpenAI (ChatGPT) | Google (Gemini, new) | |
|---|---|---|
| C2PA manifest | Yes | Yes |
| SynthID logged | Yes (watermarked.unbound) | No |
| Source type | trainedAlgorithmicMedia | composite |
Google silently embeds SynthID without recording it in the manifest. And the composite source type is a weaker provenance signal for automated labeling systems than OpenAI’s trainedAlgorithmicMedia.
Older Gemini images have no C2PA manifest at all:

Score: -0.00028. The SynthID watermark is almost certainly in those pixels, but without Google’s key it’s indistinguishable from noise. There’s no metadata either. It looks, to the outside world, like any other image.
So How Does X Actually Label AI Images?
Here’s what surprised me most when I figured this out.
X does not have access to OpenAI’s or Google’s SynthID keys. It cannot verify the pixel watermark at all. What it actually does:
View diagram: How X labels AI-generated images
1. At upload: X reads the caBX chunk, parses the C2PA manifest, and checks the digitalSourceType field. If it sees trainedAlgorithmicMedia — OpenAI’s tag — it adds the “AI-generated” label right then.
2. After storage: X re-encodes every uploaded image (JPEG compression, resize). This destroys the caBX chunk entirely. If you download an image from X, the C2PA manifest is gone.
3. Fallback: For images with no C2PA metadata — older Gemini outputs, images from Midjourney or Stable Diffusion, anything where the metadata was stripped — X falls back to an internal ML classifier. Less reliable, no cryptographic backing.
So the label you see is powered by metadata that X immediately strips after reading it. The pixel-level watermark — the one that actually survives — is reserved for the model provider’s own verification tools.
What SynthID Is Actually For
SynthID isn’t built for platforms like X. It’s built for the model provider to verify their own outputs — for legal attribution, abuse investigations, or compliance audits. It’s the layer that lets OpenAI or Google say “this image came from us” in a court or an internal review, not the layer that lets a social platform label content in real time.
The verification tools they expose:
- OpenAI: openai.com/research/verify/
- Google: SynthID portal / Vertex AI API
The secret key never leaves the provider. That’s by design — if it leaked, anyone could forge watermarks on arbitrary images.
The Bigger Picture
After going through all of this, I came away with a clearer picture of how fragile AI image provenance actually is right now. We have two complementary systems:
SynthID — cryptographically strong, invisible, survives re-encoding. But only the model provider can verify it. Third parties are completely blind to it.
C2PA — human-readable, verifiable by anyone, open standard. But trivially strippable. Re-save the image once and the receipt is gone.
Neither is foolproof alone. SynthID is unverifiable by third parties; C2PA disappears on re-save. The “Made with AI” label you see on X came from metadata that X read once and then destroyed. The watermark that would survive — SynthID — is the one X can’t read.
Try It Yourself
I put together a self-contained demo — no image files needed to run it:
pip install numpy pillow
python synthid_demo.py demo
You can also watermark and detect on real images:
python synthid_demo.py embed input.jpg watermarked.png
python synthid_demo.py detect watermarked.png
Full source: synthid_demo.py
If you want to explore the text watermarking side, Google open-sourced the SynthID text detector — you can run it directly via the Hugging Face pipeline.