kriyam.aistudioAPI reference
API reference

AI Generated Image Detection

Tell a generated or manipulated image from a real photograph.

Overview

Post an image and get back two independent judgements. classification and confidence_score are about how the whole image was produced; face_deepfake is a separate model that only looks at faces within it. They can disagree — a face-swapped photograph can fail the face check while passing the whole-image one — so read both.

  • face_deepfake.face_detected: false means the face model had nothing to say about this image, not that it passed. Render it as not-applicable rather than clean.
  • face_deepfake is absent entirely when the local model isn't available. That's a degraded report, not a failed run, and it is still charged.
  • A detected watermark's image is stored as a file and served through output_urls, not embedded in watermark_details.

Endpoints