Get a video check
Returns a video check's status, and once it succeeds, its verdict, score, lanes and the reading of each of its 8 frames.
GET
https://realpng.com/api/v1/audit/{id}X-API-Key<token>
In: header
Path Parameters
id*string
The id POST /audit answered a video with
Format
uuidQuery Parameters
detail?"full"
full adds the raw engine report as detail. Its shape may change.
Value in
- "full"
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl "https://realpng.com/api/v1/audit/b8f2d6a4-3c1e-4f7a-9d5b-2e6c8a0f4b13" \ -H "X-API-Key: $REALPNG_API_KEY"{ "id": "b8f2d6a4-3c1e-4f7a-9d5b-2e6c8a0f4b13", "status": "succeeded", "verdict": "ai", "score": 88, "decided_by": "pixels", "lanes": { "pixels": { "verdict": "ai", "score": 88 }, "watermark": { "verdict": "none", "score": 4 }, "provenance": { "verdict": "nothing", "issuer": null } }, "media": "video", "video": { "seconds": 12, "fps": 30, "frames": 360, "width": 1280, "height": 720, "audio": "copied", "readings": [ { "t": 0.75, "verdict": "ai", "score": 84 }, { "t": 2.25, "verdict": "ai", "score": 86 }, { "t": 3.75, "verdict": "ai", "score": 88 }, { "t": 5.25, "verdict": "ai", "score": 91 }, { "t": 6.75, "verdict": "ai", "score": 87 }, { "t": 8.25, "verdict": "ai", "score": 90 }, { "t": 9.75, "verdict": "ai", "score": 89 }, { "t": 11.25, "verdict": "ai", "score": 85 } ] }}Check an image or a video POST
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.
Start an optimization POST
Starts an optimization job, of an image or a video, and answers at once with its id. Poll GET /optimize/{id} or pass callback_url for a signed webhook.