Skip to main content
Detect face-swapped and deepfake content in images and videos.

Image Detection

curl -X POST "https://api.scam.ai/api/defence/faceswap/predict" \
  -H "x-api-key: YOUR_API_KEY" \
  -F "files=@/path/to/your/image.png"

Video Detection

curl -X POST "https://api.scam.ai/api/defence/video/detection" \
  -H "x-api-key: YOUR_API_KEY" \
  -F "video=@/path/to/your/video.mp4"

Response

{
  "task_id": "<string>",
  "timestamp": "2023-11-07T05:31:56Z",
  "detection_result": {
    "overall_status": "NOT_DETECTED",
    "overall_confidence_score": 0.67,
    "face_detections": [
      {
        "filter_prob": 123,
        "faceswap_prob": 123,
        "bounding_box": [
          30,
          60,
          150,
          180
        ]
      }
    ]
  }
}