Peak's API Quick Start Guide

CSAM and Pornographic Deepfake/Undressing Detection Models

1. Account setup

Please contact Peak for your unique ID and Key to access the API.

2. Request format

Send a PUT to https://api.peak.tools/sentry. Replace placeholders with your credentials, model selections, and media.

Model
Upload
bash

      

3. API response

Output
The body is JSON with a url field and a results array. Each entry has a model (csam, df, or both when you requested both) and a prediction string with a decimal probability. Example: 0.99 ≈ 99% estimated chance for that model.
Thresholds
The user can set the threshold at their discretion. Your threshold will not affect the accuracy of the classifier. Example: at 75%, any file with a probability above 0.75 is flagged for review.

Example Response Body
json

      

Supported formats