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.
Response Properties
The version of the AI detection model used for the analysis.
Contains the Run-Length Encoded (RLE) mask data. This can be used to visualize the AI-detected regions of the image. An array of starting positions for each AI-detected segment in the flattened 1D image array.
An array of lengths for each AI-detected segment, corresponding to the starts array.
An object containing the overall proportion of human vs. AI-generated pixels. The proportion of the image determined to be human-created. The value ranges from 0.0 to 1.0.
The proportion of the image determined to be AI-generated. The value ranges from 0.0 to 1.0.
Indicates whether the image was determined to be AI-generated.
An object containing metadata about the analyzed image. The dimensions of the image. The height of the image in pixels.
The width of the image in pixels.
Optional metadata extracted from the image file. The timestamp (if available in EXIF data) indicating when the image was created.
The AI service or tool that created the image, if this information is present in the metadata.
The application or device used to create the image, if available in the metadata.
A summary of how the image was generated., if available in the metadata.
Metadata about the scan operation itself. The unique identifier for this scan, provided by you in the request.
The actual number of credits consumed by the scan.
The expected number of credits for the scan.
The ISO 8601 timestamp indicating when the scan was created.
Example Response
Next Steps
AI Image Detection Guide Learn how to submit an image for AI detection and interpret the results.
AI Image Detection API Reference Explore the complete API reference for the AI Image Detection endpoint.