How IsThisImageAI scores an image
Updated November 2026
Detection runs on our own server, on CPU. The image is not sent to a third-party AI service. Two open-source classifiers each return a probability that the image is AI-generated. The verdict uses their average, with one exception when they strongly disagree.
The two models
- SwinV2 (haywoodsloan/ai-image-detector-deploy, Apache-2.0). The whole frame is resized to 256×256 with bicubic sampling. Index 0 of the two-class softmax is the artificial probability.
- Frontier ViT-S (Thermostatic/community-forensics-frontier-detector-2026-08, MIT, a fine-tune of the Community Forensics ViT). The short side is scaled to 440 pixels and a 384×384 center crop is scored. Pixels outside that crop do not change this model's score.
The ensemble score is the mean of those two probabilities. The models look at pixel patterns. They do not look up the file name, and they do not identify which product generated the image.
Verdict cutoffs
These are operating points in the code, not a published accuracy.
- Mean at or above 50%, and the two scores differ by less than 60%: Likely AI-generated. Confidence is the mean itself.
- Mean below 35%, and the gap is under 60%: Likely real. Confidence is one minus the mean.
- Mean from 35% up to, but not including, 50%: Uncertain. Confidence is the larger of the mean and one minus the mean.
- If the two scores differ by 60% or more, the verdict is Uncertain whatever the average is. Confidence is capped at 65%, so a conflict is not shown as more sure than an ordinary uncertain result.
- A gap of 40% or more is mentioned in the detailed reasons and does not change the verdict, because both scores can still sit on the same side of 50%.
An Uncertain result still reserves one check, then adds 5 checks to that period's allowance, up to 20 extra checks per UTC calendar month. After that cap, the reserved check is given back.
The 4×4 heatmap
Neither model exports an attention map. On Pro, Max, and the API, the image is covered by a 4×4 grid of overlapping squares. Each square is 55% of the short side, and each one is scored by the frontier model alone. That is region-level scoring, not proof the image was edited. The overlay paints those 16 numbers. The JSON heatmap is that grid.
The verdict stays the ensemble mean of the two full-frame scores. It is not the mean of the grid. Free and anonymous checks skip the 16 tile passes, so the heatmap is locked. The verdict and the full-frame reasons are the same either way.
File facts are reasons, not the verdict
Alongside the scores, the checker reads the file. These observations can appear as reasons. They are not inputs to the cutoff:
- Format, width, and height.
- An estimated JPEG quality from the luminance quantization table. PNG has no such table. This build does not estimate WebP quality.
- Camera make and model, when present. If they are missing, the reason says missing EXIF is not evidence that the image is AI-generated.
- The Software metadata field, quoted only when it exists.
- A C2PA or JUMBF content-credential marker, found by walking JPEG, PNG, and WebP metadata. It is not found by scanning compressed pixels. Many real photos and many generated images have none.
Missing EXIF/camera metadata does not prove an image is AI-generated; many apps and social platforms strip it. A camera tag that is present does not make a generated image real either.
What the server accepts
- JPG, PNG, and WebP, up to 20 MB.
- HEIC is converted to JPEG in the browser when the browser can decode it. The server rejects HEIC bytes, including from a pasted URL. If the browser cannot open the photo, save it as a JPEG first.
- If the long side is over 2048 pixels, or the file is over 20 MB, the browser shrinks it and re-saves a JPEG before upload. Smaller JPG, PNG, and WebP files are sent unchanged.
- A pasted URL must be public http or https. Private and local addresses are rejected.
- Batch checks accept up to 20 images and are included with Pro (150 images per billing period) and Max (1,000).
- Video, animated GIFs, audio, PDFs, and AVIF are not supported.
Known limits
- Compression. Low JPEG quality and messaging apps such as WhatsApp remove the fine detail the models use. A score on a recompressed file is weaker than a score on the original. The examples include one real photo saved smaller at JPEG quality 35.
- Screenshots. A screenshot is a new image of a screen, often resized and compressed. It can hide generator traces or add its own patterns.
- Edits. Heavy retouching, beauty filters, generative fill, and background replacement can move a real photo toward an AI score. Part of the file may be generated and the rest may not.
- Upscaling. An AI upscaler redraws detail, so a small real photo that was upscaled can look generated.
- New generators. The models only know patterns from the generators in their training. A brand-new generator can score lower until the detectors are updated.
- Off-center content. The frontier model scores a center crop, so content at the edges of a wide image counts less in that model. The heatmap still covers the frame.
These figures are read from the benchmark file. Uncertain is not counted as correct.
Real originals called AI: 4/100. AI originals called real: 5/124. Full benchmark
An independent public-split test of this detector is in the WasItAIGenerated section of the benchmark. It uses their October 2026 public split. Their published comparison figures are on the hidden split, so the two are not the same test.
What happens to the file
The inference service writes the upload to a temporary file, scores it, and deletes that file before the response returns. For up to 1 hour we store the verdict text, the reasons, and the heatmap numbers, with no image bytes, so a Max subscriber can download a PDF. That row is then deleted.
Back to the AI image checker. About the product. Check an image.