v1

latestOpenAPI 3.0.1MIT2026-07-2661255.8 KB

Our image detection feature enables AI-generated image detection by verifying image metadata and using a machine learning system trained to differentiate between human and AI-generated images.

post/v2/image-detection

Request body

urlstring required

Specifies the URL of the image to scan. The URL must be valid, publicly accessible, and point to an image in one of the following formats: JPG, JPEG, PNG, or WEBP. The image must have a minimum resolution of 256x256 pixels.

versionstring

The model version to use. Our latest and most accurate version is "5". Using "latest" will make sure you are always using the latest version. Options: 5, 4, 3, 2, 1, latest. Default: 5

Response

Image detection Response

scoreinteger

The human score that the image is likely to be generated by a human. A low score means our system believes that the image is generated by AI, and a higher score means that the system believes that the image is generated by a Human. The score is between 0 and 100. 0 for AI and 100 for Human.

human_probabilityinteger

The human probability that the image is likely to be generated by a human. The probability is between 0 and 1.

ai_probabilityinteger

The AI probability that the image is likely to be generated by an AI. The probability is between 0 and 1.

versionstring

The model version used to generate the prediction.

mime_typestring

The mime type of the image.

ai_watermark_detectedboolean

Whether an AI watermark was detected in the image.

ai_watermark_issuersobject

The list of AI watermark issuers detected in the image.

credits_usedinteger

The credits_used field represents the number of credits consumed for processing your request. Each image that is processed by the API consumes 300 credits.

credits_remaininginteger

The credits_remaining field shows how many credits you have left in your account after your request has been processed.