Skip to content
AI Detector

AI Image Detection Response

The Copyleaks AI Image Detection API returns a detailed response containing the analysis summary, image information, and a Run-Length Encoded (RLE) mask to identify AI-generated regions.

model string

The version of the AI detection model used for the analysis.

result object

Contains the Run-Length Encoded (RLE) mask data. This can be used to visualize the AI-detected regions of the image.

starts array<integer>

An array of starting positions for each AI-detected segment in the flattened 1D image array.

lengths array<integer>

An array of lengths for each AI-detected segment, corresponding to the starts array.

summary object

An object containing the overall proportion of human vs. AI-generated pixels.

human float

The proportion of the image determined to be human-created. The value ranges from 0.0 to 1.0.

ai float

The proportion of the image determined to be AI-generated. The value ranges from 0.0 to 1.0.

imageInfo object

An object containing metadata about the analyzed image.

shape object

The dimensions of the image.

height integer

The height of the image in pixels.

width integer

The width of the image in pixels.

metadata object

Optional metadata extracted from the image file.

issuedTime string

The timestamp (if available in EXIF data) indicating when the image was created.

issuedBy string

The AI service or tool that created the image, if this information is present in the metadata.

appOrDeviceUsed string

The application or device used to create the image, if available in the metadata.

scannedDocument object

Metadata about the scan operation itself.

scanId string

The unique identifier for this scan, provided by you in the request.

actualCredits integer

The actual number of credits consumed by the scan.

expectedCredits integer

The expected number of credits for the scan.

creationTime string

The ISO 8601 timestamp indicating when the scan was created.

{
"model": "ai-image-1-ultra-01-09-2025",
"result": {
"starts": [0, 512, 1536, 2560],
"lengths": [256, 512, 768, 1024]
},
"summary": {
"human": 0.3,
"ai": 0.7
},
"imageInfo": {
"shape": {
"height": 1024,
"width": 768
},
"metadata": {
"issuedTime": "2025-07-23T12:44:05",
"issuedBy": "OpenAI",
"appOrDeviceUsed": "OpenAI-API"
}
},
"scannedDocument": {
"scanId": "my-scan-id-1",
"actualCredits": 1,
"expectedCredits": 1,
"creationTime": "2023-01-10T10:07:58.9459512Z"
}
}