Documentation menu

AI image & deepfake detection

Add a review signal for AI-generated and manipulated images, with a three-state verdict and likely generator attribution.

POST/ai-detectionmultipart/form-data

Request

Send a JPEG or PNG in the image multipart form-data field. The published maximum file size is 20 MB.

Form fieldTypeRequired
imageImage fileYes

Set RAPIDAPI_KEY and RAPIDAPI_HOST to the values from this API’s listing. The following example uses a POSIX shell. Replace the local filenames with your images.

cURL
curl --request POST \
  --url "https://$RAPIDAPI_HOST/ai-detection" \
  --header "X-RapidAPI-Key: $RAPIDAPI_KEY" \
  --header "X-RapidAPI-Host: $RAPIDAPI_HOST" \
  --form 'image=@./image.jpg'

Response example

JSON
{
  "verdict": "LIKELY_AI_GENERATED",
  "aiGeneratedScore": 0.999,
  "deepfakeScore": 0.02,
  "sources": [
    {
      "name": "stablediffusionxl",
      "score": 0.991
    }
  ],
  "provider": "hive"
}
Illustrative response. This is not a live detection result.

Response fields

FieldTypeMeaning
verdictstringLIKELY_AI_GENERATED, UNCERTAIN, or LIKELY_AUTHENTIC.
aiGeneratedScorenumberAI-generation risk signal from 0 to 1.
deepfakeScorenumberDeepfake risk signal from 0 to 1.
sources[]arrayLikely generators, each with a name and score, most-confident first.
providerstringThe detection provider.
Interpreting the result

Scores are risk signals, not calibrated probabilities or proof. Screenshots, compression, and the image generator can affect results. Route uncertain cases to review.

Limits and integration notes

  • The published image upload limit is 20 MB. Resize files that exceed the limit before sending them.
  • Keep keys server-side and use the correct host for the API. See authentication.
  • Handle bad inputs and temporary failures using the error guide.
  • Vision input images are processed in-request without storage by Tigrate. See data handling.
Try AI image & deepfake detection on RapidAPI

Based on the published RapidAPI reference, checked September 2026. Consult the listing for the latest full schema, optional parameters, and plan limits.

Questions about this integration?Contact the team