Skip to main content

Quick Start

File Upload Detection

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

Base64 Detection

curl -X POST "https://api.scam.ai/detect" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"image_data": "iVBORw0KGgoAAAANSUhEUgAA..."}'

Response

{
  "likely_ai_generated": true,
  "confidence_score": 0.87,
  "processing_time_ms": 245
}

Use Cases

  • Content moderation on social platforms
  • Academic integrity for educational institutions
  • Media verification for news organizations
  • Brand protection against synthetic endorsements