About this endpoint
What it does
Detects whether a publicly reachable image is likely AI-generated. You send an image URL in the request body, and the response returns a verdict, AI score, confidence level, and a source breakdown array.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| imageUrl | String | Yes | Publicly reachable JPG, PNG, or WebP URL. Format: URI. |
Response
Returns a JSON object with four top-level fields: verdict as a string enum, ai_score as a number, confidence as a string enum, and source_breakdown as an array. The response uses these fields to report the image classification result and supporting breakdown data.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| verdict | ENUM | Yes | One of: likely_ai, likely_human, uncertain. |
| ai_score | Number | Yes | A numeric score between 0 and 1. |
| confidence | ENUM | Yes | One of: low, medium, high. |
| source_breakdown | Object Array | Yes | Reserved for future per-generator scores; currently empty. |