Skip to main content
POST
Analyze Image (Forensics)

Authorizations

Authorization
string
header
required

Note! Prefix your with apiKey. Note the space after "apiKey ".

Query Parameters

client_id
integer

The client ID for the request. It's required if you have access to multiple clients with your API key. Otherwise, it's optional.

session-id
string

Optional session identifier of the user.

Body

application/json
image
string
required

The image to analyze: a publicly reachable URL or a base64-encoded image string.

Minimum string length: 1

Response

OK - Returns the forensics verdicts for the image. All fields are null when the analysis could not be produced.

is_ai_generated
boolean | null

Whether the image was judged AI-generated.

is_digitally_manipulated
boolean | null

Whether the image was judged digitally manipulated.

ai_generated_confidence
number | null

Confidence (0-1) of the AI-generated verdict.

manipulation_confidence
number | null

Confidence (0-1) of the manipulation verdict.

confidence
number | null

The higher of the two confidences, for consumers that expect one overall score.

analysis
string | null

Free-text explanation of the verdicts.

detect_edits
object | null

Present only when the image is manipulated and the edit-detection call succeeded. regions may be empty when the manipulation is not localized. Box coordinates are normalized to [0, 1].