Detect Deepfake

HTTP Request

POST https://app.0xIQ.ai/api/v2/detect

Request

Parameter
Type
Description

url

Required

The URL of the media file to be analyzed for deepfake detection. The media file should be a valid format (wav, mp3, ogg, m4a, flac, mp4, mov, avi, wmv, jpg, jpeg, png, gif, webp). Provide a valid HTTPS URL pointing to the media file.

callback_url

Optional

A URL to sent the results to when analysis is completed.

Optional Parameters

Parameter
Type
Description

frame_length

Optional

The length of the frames in seconds used for analysis. The default value is 2 seconds. You can adjust this value based on the characteristics of your audio data and the desired analysis granularity. The minimum value is 1 and the maximum value is 4.

Callback URL

If you've provided a callback_url when submitted a media file, you will receive a POST request to the callback_url with the following payload after it has been analyzed:

{
  "success": true,
  "item": {
    "uuid": <string>,
    "metrics": {
      "label": "fake",
      "score": ["0.9"]
    }
  }
}

HTTP Response

{
    "success": true,
    "item": {
        "uuid": <string>,
        "metrics": null
    }
}

Last updated