Test the Detector, Not the Score
You can find out in ten minutes whether an AI image detector is worth anything on your files, and you can do it without a lab, a subscription, or a single line of code. You need twenty images: ten photographs you took yourself with the original file intact, and ten images you generated yourself in a tool you have an account on. Run all twenty through the tool in one sitting, write down every verdict, and you will know something the vendor's marketing page cannot tell you — whether this model separates your files at all.
What you will not get is an accuracy rate. That part is arithmetic, and it is the reason most people misread their own test.
With zero errors in ten trials, the one-sided 95% upper bound on the true error rate is 25.9%. Your twenty-file set is two ten-trial tests — one on real files, one on AI files — and each of them is compatible with a tool that is wrong one time in four.
That single number should reframe the whole exercise. A ten-minute test is a filter, not a measurement. It reliably catches a detector that is badly mismatched to your kind of image. It cannot confirm a detector that looks good, because "looks good on twenty files" and "98% accurate" are statements of completely different strength. This page is the protocol, the arithmetic behind that limit, and the record you should keep so the result is usable later — in a dispute, a vendor conversation, or a decision about which tool to trust with a submission queue.
What ten minutes can prove, and what it cannot
Start with the arithmetic, because it sets the only honest expectation for the rest of the protocol.
If a test produces zero errors in n independent trials, the one-sided 95% upper bound on the error rate is 1 − 0.05^(1/n). Computed exactly:
| Files tested, zero errors | Upper bound on error rate |
|---|---|
| 10 | 25.9% |
| 20 | 13.9% |
| 29 | 10.0% |
| 59 | 5.0% |
| 299 | 1.0% |
So a clean run on your twenty files tells you the error rate is probably under 14%, and nothing more precise than that. To make a 5% claim from perfect results you need 59 files; to make a 1% claim you need 299. This is the exact binomial bound, the same construction published by Clopper and Pearson (1934, Biometrika 26:404–413), and it is not a quirk of image detection — it is what any finite sample can support.
The interval is just as wide when errors appear. Nine correct out of ten looks like "90%" and carries a 95% interval of 55.5% to 99.7% (Clopper and Pearson, 1934). An eight-out-of-ten result spans 44.4% to 97.5%. A ten-file test, in other words, cannot distinguish a competent detector from a coin with a slight lean.
None of that makes the test useless. It changes what you are testing for. A small control set is very good at detecting a large effect — say, a tool that calls four of your ten camera originals AI-generated. It is very bad at measuring a small one. Run it expecting the first kind of answer.
Build the control set: label by provenance, never by appearance
The test is only as good as its labels, and this is where most home-made tests collapse. A label is valid when you can state how the file was made. "It's obviously AI" is not a label; it is the same judgement you are trying to check, made by a worse instrument.
The ten "real" files. Photographs you took, kept as the camera or phone wrote them. Original file from the device or the cloud backup of it — not a copy that came back through a messaging app, not a screenshot of the photo, not something resized by a social platform. Keep the EXIF intact if you can; the capture timestamp and device model are what turn "I took this" into a record. Vary the conditions, because a detector's error rate depends on them: one indoor shot in low light, one outdoors in daylight, one with flash at night, one close-up of a face, one flat wall or sky. A set of ten sunny landscapes tests almost nothing.
The ten "AI" files. Generate them yourself, so you know the model and the date. Three different generators rather than ten images from one, because a detector may have been trained on one family and never seen another — that asymmetry is exactly the failure covered on the blind spot page. Keep the prompt and, where the tool exposes one, the seed. Same content variety as the real set: at least one face, one interior, one object on a plain background.
Exclusions, applied without mercy. Anything forwarded through a chat app, anything a platform has re-encoded, anything you are not certain about. A single mislabelled file in a set of twenty is a 5-point error in your own ground truth, which is larger than the effect you are trying to detect. The screenshot and compression page explains what a forwarding chain does to the signal; the short version is that a forwarded copy is not the file you think it is.
Hash every file before you upload. On macOS or Linux, run shasum -a 256 on the file; on Windows, certutil -hashfile with the SHA256 algorithm. Record the first eight characters next to the label. This costs two minutes and does one useful thing: it fixes the exact bytes you tested, so that a result can be reproduced later even after the original folder has been reorganised. Detectors change; your test record should not.
Hold the variables fixed
A score is a function of the file and the model version. Move either one and the comparison stops meaning anything. Four constants, held for the whole session:
- Same sitting. All twenty files, one after another, within the ten minutes.
- Same session and account. Some tools behave differently for anonymous and logged-in users, and free tiers meter requests.
- Same format. Do not mix a PNG export with a JPEG straight from the camera. Convert nothing; test what you have.
- Same version, recorded. Write down the tool's name, the URL, and the date. Many of these services swap models without changing the page, so the date is the only version tag you will ever get.
If a tool will not tell you which model version produced a score, treat the score as having no version at all — which is to say, treat it as unreproducible.
The five passes, in ten minutes
One baseline plus four probes. The baseline tells you whether the tool works on your files; the probes tell you how it fails, which is the more useful information.
Minutes 0–4: baseline. All twenty files, one at a time. Log the verdict and the number exactly as displayed. Do not interpret anything yet.
Minutes 4–5: re-submit one file twice. Take one file and submit it, then submit the identical bytes again immediately. If the number moves, every score you have collected is a sample rather than a measurement, and the correct response is to stop treating small differences between tools as meaningful. If it is stable, that stability is itself worth recording — a detector that returns the same number for the same bytes is at least deterministic.
Minutes 5–6: crop one file by 10%. Take a known-real photo, crop a border off, and resubmit. This probes how much the verdict depends on framing. Classifiers of this type take a fixed square input, so a non-square photograph is cropped or squashed before it is ever scored. A verdict that flips because you trimmed a margin is measuring composition, not synthesis.
Minutes 6–7: re-encode one file as JPEG at quality 80. Same photo, same pixels, one lossy pass. If the score collapses toward "real", the tool was reading high-frequency detail that re-encoding removed, and it will be unreliable on anything that has travelled. This is the single most common environment effect in real use.
Minutes 7–9: add one image from a generator newer than the tool. Generate one image today, in a model released after the tool's last plausible update, and submit it alongside the original ten. If it reads "real" while your older AI files read "AI", you have measured the tool's horizon. That is not a bug you can report; it is a property of every detector in this category, and knowing where the horizon sits is more valuable than any headline accuracy figure.
Minutes 9–10: write the sheet. Do it before you close the tab, from memory if you must, but write it.
Reading the result: four cells, in plain words
Every outcome lands in one of four cells. Naming them correctly is most of the analysis.
| What happened | Name | What it actually tells you |
|---|---|---|
| AI file called AI | True positive | The tool recognises at least this generator |
| Real file called AI | False positive | The dangerous error: it accuses your own camera |
| AI file called real | False negative | The tool has a horizon; this generator is past it |
| Real file called real | True negative | Baseline agreement, and nothing more |
The asymmetry matters. A false positive costs you credibility the moment you repeat it to a person — you have accused someone's photograph of being synthetic. A false negative costs you a detection. They are not equally bad, and a tool that trades one for the other should be chosen deliberately, not by whichever has the nicer accuracy number. The percentage page covers why the displayed figure is a confidence, not an error rate; keep the two apart while you fill in the cells.
Then apply the arithmetic that dominates all of this: prevalence.
Suppose a tool catches 90% of AI images and misflags 5% of real ones — respectable numbers for this category. Now apply them to 10,000 files in a real queue where 5% are AI-generated:
- 500 AI files, 450 correctly flagged.
- 9,500 real files, 475 wrongly flagged.
- Total flags: 925. Of those, 450 are right.
Precision is 48.6%. Slightly more than half of that tool's accusations are wrong, on numbers that sound good in a brochure. Drop the AI share to 1% and precision falls to 15.4% — of 585 flags, 90 correct. Raise the AI share to 50% and the same tool reaches 94.7%.
That last row is the whole problem with benchmark numbers. A balanced test set — half real, half synthetic — flatters any detector, and the standard benchmarks are close to balanced by construction. GenImage, the million-scale benchmark most published detectors are trained or evaluated on, contains 1,331,167 real images and 1,350,000 fake ones (Zhu et al., 2023, arXiv:2306.08571), which is 49.7% real. Your submission queue is not 49.7% real, so a number measured there does not transfer to it. All the arithmetic above follows from the two rates and the prevalence; no further source is needed because it is just multiplication.
The record sheet
Log these columns for every file and every pass. It fits on one screen and it is the difference between a test and an anecdote.
| Column | Why it is there |
|---|---|
| File ID and SHA-256 prefix | Fixes the exact bytes tested |
| Provenance | Device model and date, or generator name and date |
| Label | real / AI, and how you know |
| Tool, URL, date | The only version tag you will get |
| Pass | baseline / retest / crop / re-encode / new-generator |
| Verdict and score as displayed | Exactly as shown, no rounding, no interpretation |
| Notes | Anything odd: upload error, resize warning, second attempt |
Two rows per probe is enough. The point is not bookkeeping for its own sake; it is that in three weeks, in an argument, "the tool said 97%" is worth nothing, while "this tool, on this date, returned 97% for a file with this hash, and 41% for the same file after a JPEG pass" is worth quite a lot.
Five questions for the vendor, once your ten minutes are up
Your own test tells you about your files. These questions tell you whether the vendor knows anything about anyone else's.
- Which test set produced the accuracy figure, how many images, and what was the real-to-fake ratio? A number without a set is a slogan. The ratio matters more than the size, for the reason in the previous section.
- What threshold sits behind the displayed score, and what is the false positive rate at that threshold? A detector can always trade one error for the other; the operating point is the actual product decision.
- Which model version produced this score, and when was it last updated? If nobody can answer, the score cannot be tied to anything.
- Does the same file return the same score twice? You already know the answer for one file. Ask anyway; the reply tells you whether they have looked.
- What does the tool do with illustrations, screenshots, and retouched portraits? These are the three input classes where the answer is most often "nothing good". The digital art page covers why the second and third are structurally hard for a photo-trained model.
Refusals are informative. A vendor that cannot name a test set is telling you the number is decorative; one that cannot name a version is telling you the score is not an artefact you can cite.
Three ways people misread their own results
"Twenty out of twenty — so it's accurate." Zero errors in twenty trials bounds the pooled error rate at 13.9%, and that is from a set you chose yourself. Twenty correct results on files you picked is a statement about fit, not about accuracy, and the two diverge exactly when the tool meets a file you did not pick.
"It missed two of my AI images — it's broken." Check provenance first. Two misses out of ten is interesting; two misses where the files came back through a messaging app is a test of the forwarding chain, not of the detector. Confirm the bytes with the hash before drawing a conclusion.
Quoting a rate from an unbalanced set. If eight of your twenty files were AI, your error estimate applies to a world that is 40% synthetic. Report the raw counts — "flagged 2 of 10 camera originals" — rather than a percentage, because the count is true regardless of how the set was built and the percentage implies a population you did not sample.
When your test disagrees with the marketing page
It usually will, and neither side is lying. Vendors publish figures from their own undisclosed sets. One widely ranked tool displays "98.7% ACCURACY" beside "500+ MODELS" and "FILES ANALYZED" on its landing page without stating what the accuracy was measured on (isthisai.com, accessed 27 October 2026). Another advertises 99%+ accuracy (third-party reports, truthscan.com, accessed October 2026). Both numbers can be true of the sets they came from and false of your queue, because accuracy is a property of a distribution, not of a product.
So the honest sentence after your ten minutes is not "this tool is inaccurate". It is: "On ten camera originals and ten generated images of the kind I actually handle, this tool produced these counts on this date." That sentence survives being checked, and it is the one that gets a human reviewer to look at the file instead of the score. If the flag has already landed on someone, the false positive walkthrough has the escalation order; if you are choosing between tools rather than testing one, the comparison page is organised around the questions above rather than around headline numbers.
FAQ
Can I do this with fewer than twenty files? Yes, and the arithmetic will be correspondingly worse: ten files with zero errors still allows a 25.9% error rate. Do not go below ten total, because below that you cannot fill both classes with enough variety to notice a systematic failure.
Do I need my own AI generator? It is the cheapest way to get labels you can defend. Ten images from three generators, with the model name and date written down, beat a folder of images downloaded from the internet whose provenance you cannot state.
What if the tool gives a percentage and no label? Convert it yourself and record the threshold you used. Below 50% treat as real, above as AI, and write the rule in the sheet. This is not the vendor's operating point, which is precisely why you record it — it makes your test reproducible rather than dependent on an unstated cut-off.
Does testing the same tool twice on different days tell me anything? Yes: it tells you whether the model changed. Re-run the baseline monthly on the same hashed files. A verdict that flips between months on identical bytes is a version change, and it is the fastest way to notice one without a changelog.
Is a free tool good enough for this test? For the baseline, usually yes. For the probes, watch the quota: a twenty-file test plus five probes plus a monthly re-run will hit free-tier limits quickly, and a test spread over five days has five variables in it instead of one.
What about video, or images with text in them? Out of scope for this protocol. Both change the input statistics in ways a twenty-file photo test will not characterise, and a result from a photo set says nothing about either.
Sources
- Clopper and Pearson, "The use of confidence or fiducial limits illustrated in the case of the binomial", Biometrika 26(4):404–413, 1934 — the exact binomial interval used for every bound on this page
- Zhu et al., "GenImage: A Million-Scale Benchmark for Detecting AI-Generated Image", 2023: arxiv.org/abs/2306.08571
- Ojha et al., "Towards Universal Fake Image Detectors that Generalize Across Generative Models", 2023: arxiv.org/abs/2302.10174
- isthisai.com, landing page figures as displayed, accessed 27 October 2026
- truthscan.com, AI image detector page, accuracy claim as displayed, accessed October 2026 (third-party reports)