POST
/
v2
/
image-detection

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
url
string
required

The URL of the image to scan. The image must be publicly accessible and must be a valid url. We only accept JPG/JPEG/PNG/WEBP images.

version
string

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

Response

204 - application/json
score
integer

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_probability
integer

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

ai_probability
integer

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

version
string

The model version used to generate the prediction.

mime_type
string

The mime type of the image.

c2pa
object

The Content Provenance and Authenticity (C2PA) metadata of the image. For more information about what is C2PA, please visit https://c2pa.org/

exif
object

The exif metadata of the image. We currently retrieve the XMP, EXIF, and IPTC metadata of the image to help us determine if the image was AI generated. For more information about the IPTC metadata, please visit https://iptc.org/

ai_watermark_detected
boolean

Whether an AI watermark was detected in the image.

ai_watermark_issuers
object

The list of AI watermark issuers detected in the image.

credits_used
integer

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_remaining
integer

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