Response structure and field definitions for the Copyleaks AI Image Detection API, including summary scores and detection mask data.
The Copyleaks AI Image Detection API returns a detailed response containing the analysis summary, image information, and a detection mask, run-length encoded (RLE), that identifies AI-generated regions.
Contains the detection mask, run-length encoded (RLE). This can be used to visualize the AI-detected regions of the image. On the synchronous endpoint this object is omitted entirely when the request set maskType: "none".
Present only when the request included maskType: "heatmap". One confidence band per segment, aligned with starts and lengths: an integer indicating which confidence threshold that region reached. Higher bands mean higher confidence. Use it to render a gradient overlay instead of a binary mask. Omitted for the default binary mask.
Present only when the request included objectDetection. One entry per object located in the image. Objects that were requested but not found are absent, so the array is not aligned by position with the request - look entries up by object.