Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

AI Image Detector

Checks whether an image was created by an AI image generator.

SlugIDStatusTaggedModel version
ai-image-detection1ActiveYesv2.1.0

What it detects

DetectsDoes not detect
Fully AI-generated images, using patch-level pattern analysisTraditional edits to a real photo, such as cropping, color adjustment or manual retouching. Use image-forgery-detection for those

Request

SlotAccepted contentType
originalimage/jpeg, image/png
{
  "taskTypeId": "1",
  "inputs": [
    { "slotName": "original", "fileName": "photo.jpg", "contentType": "image/jpeg", "sizeBytes": 414241 }
  ]
}

See Running a job for the full create, upload and finalize flow.

Limits

  • File size: up to the account upload limit, 10 MB by default.

Result

Uses the standard result fields.

{
  "isFake": false,
  "confidencePercent": 75.55,
  "fakeConfidencePercent": 24.45,
  "realConfidencePercent": 75.55,
  "tag": "real",
  "tagBoundaries": { "real": 30, "likelyReal": 50, "likelyFake": 70 },
  "modelVersion": "v2.1.0"
}

Output artifacts

kindFileDescription
resultresult.jsonFull result, with the image's file metadata and SHA3-256 / MD5 hashes
heatmapheatmap.pngPer-patch overlay on the image: blue leans real, red leans AI-generated
heatmappower_spectrum.pngFrequency spectrum of the image (metadata.type is power_spectrum)

Download them from artifacts on GET /jobs/{id}.

Cost and availability

  • Fixed price per job, set by your plan. The exact amount is returned as cost when you create the job. See Quotas & Credits.
  • Available on the cloud API; your plan decides which task types you can use.