realpng
Docs

Check an image or a video

Checks one image for AI generation and answers with its verdict, score and lanes. A video or voice clip is a job: this answers 202 with its id, and GET /audit/{id} returns the verdict once it succeeds.

POSThttps://realpng.com/api/v1/audit

Authorization

X-API-Key<token>

In: header

Query Parameters

detail?"full"

full adds the raw engine report as detail. Its shape may change.

Value in

  • "full"

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Exactly one image, video or audio source. Pass seconds for video or audio if you know its length.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://realpng.com/api/v1/audit" \  -H "X-API-Key: $REALPNG_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "image_url": "https://realpng.com/run-portrait.jpg"  }'

{  "verdict": "ai",  "score": 96,  "decided_by": "pixels",  "lanes": {    "pixels": {      "verdict": "ai",      "score": 96    },    "watermark": {      "verdict": "none",      "score": 2    },    "provenance": {      "verdict": "nothing",      "issuer": null    }  },  "media": "image"}