You can use this endpoint to detect if an image has been artificially generated.
Once an image has been submitted, our machine learning model will predict the likelihood of the provided image being artificially generated by other models such as Stable Diffusion or Midjourney.
In our testing, each model performed at >80% accuracy in detecting whether an image was a deepfake within their category. The following models are available for use:
Model Name
Accuracy
Description
Personr_DF_5M
0.923
Trained on a size of 5M parameters (Stable Diffusion v1.4, v1.5, v2.1), and designed to detect Stable Diffusion-generated images.
Personr_DF_200M
0.950
Trained on a size of 200M parameters (Stable Diffusion v1.4, v1.5, v2.1), and designed to detect Stable Diffusion-generated images.
Personr_MJ_5M
0.849
Trained on a size of 5M parameters (Midjourney v4, v5.1, v5.2), and designed to detect Midjourney-generated images.
Personr_MJ_200M
0.902
Trained on a size of 200M parameters (Midjourney v4, v5.1, v5.2), and designed to detect Midjourney-generated images.
Personr_Deepfake_v5
0.959
Our most accurate model, trained on 200M parameters using a combination of Stable Diffusion and Midjourney-generated images.
Extremely bright or vibrant images may affect accuracy during prediction. Additionally, predictions are indications and shouldn't be considered a definitive answer.
Predicting a synthesised image
POST/api-deepfake-detection
Detect whether an image has been artificially generated.
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer YOUR_TOKEN
Body
Name
Type
Description
imageUrl
string
The URL of the image, including file extension (required)
modelName
string
The name of the model you want to use for prediction, shown above (required)
token
string
The token provided to you during onboarding. This is separate from your Bearer token and exclusive to this endpoint (required)