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

Image Forgery Detection

Finds edited or tampered regions in a real photo.

SlugIDStatusTaggedModel version
image-forgery-detection5ActiveYesv2

What it detects

DetectsDoes not detect
Regions of a real image that were edited, such as splicing, copy-move or inpaintingImages that were AI-generated from scratch with no edited regions. Use ai-image-detection for those

Request

SlotAccepted contentType
originalimage/jpeg, image/png
{
  "taskTypeId": "5",
  "inputs": [
    { "slotName": "original", "fileName": "receipt.png", "contentType": "image/png", "sizeBytes": 832512 }
  ]
}

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.
  • Very large images may be analyzed at reduced resolution.

Result

Uses the standard result fields. Here "fake" means tampered: fakeConfidencePercent is the model's estimate that part of the image was edited.

{
  "isFake": true,
  "confidencePercent": 98.68,
  "fakeConfidencePercent": 98.68,
  "realConfidencePercent": 1.32,
  "tag": "fake",
  "tagBoundaries": { "real": 30, "likelyReal": 50, "likelyFake": 75 },
  "modelVersion": "v2"
}

Output artifacts

kindFileDescription
resultresult.jsonFull result with the raw tamper score
heatmaptampered-image-mask.pngPixel mask at the image's original resolution: white is untouched, black is tampered

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.