API

Overview

The FakeImageDetector.ai API provides developers with programmatic access to our powerful image authentication technology. Integrate our advanced detection capabilities directly into your applications, platforms, or workflows with a simple REST API.

Key Features

  • High-Performance Analysis: Access the same cutting-edge detection algorithms powering our web interface
  • Batch Processing: Analyze multiple images in a single request
  • Comprehensive Results: Receive detailed analysis including manipulation probability, detected techniques, and confidence scores
  • Visual Outputs: Generate analysis visualizations including ELA maps and anomaly heatmaps
  • Cross-Platform Compatibility: Integrate with any system supporting REST API calls
  • Enterprise-Grade Security: End-to-end encryption and robust authentication

Use Cases

  • Content Management Systems: Automatically screen uploaded images for manipulations
  • News & Media Platforms: Verify image authenticity before publication
  • Social Networks: Flag potentially manipulated images to combat misinformation
  • E-commerce: Ensure product photos haven’t been deceptively altered
  • Legal & Insurance: Incorporate image verification into evidence review workflows
  • Educational Platforms: Integrate image analysis into digital literacy curriculum

API Endpoints

EndpointDescription
/api/v1/analyzeSubmit an image for comprehensive analysis
/api/v1/batchProcess multiple images in one request
/api/v1/verifyQuick verification with simplified results
/api/v1/visualizeGenerate specific visualization outputs

Response Format

Our API returns structured JSON responses including:

{
  "status": "success",
  "request_id": "req_7f2b3a91c4d",
  "analysis": {
    "manipulation_score": 78.5,
    "confidence": "high",
    "probability": "very likely",
    "processing_time": 2.47
  },
  "detections": [
    {
      "type": "clone_detection",
      "confidence": 0.92,
      "regions": [[120, 45, 280, 190], [350, 410, 510, 555]]
    },
    {
      "type": "ai_generated",
      "confidence": 0.87,
      "details": "DALL-E signature detected"
    }
  ],
  "visualizations": {
    "ela_map": "https://api.fakeimagedetector.ai/results/ela_7f2b3a91c4d.jpg",
    "heatmap": "https://api.fakeimagedetector.ai/results/heatmap_7f2b3a91c4d.jpg"
  }
}

Getting Started

1. Register for API Access

Contact Us for an API key at fakeimagedetector.ai/contact

2. Authentication

Include your API key in the request header:

Authorization: Bearer YOUR_API_KEY

3. Basic Request Example

import requests

url = "https://api.fakeimagedetector.ai/api/v1/analyze"
headers = {
    "Authorization": "Bearer YOUR_API_KEY"
}

with open("image_to_analyze.jpg", "rb") as image_file:
    files = {"image": image_file}
    response = requests.post(url, headers=headers, files=files)

results = response.json()
print(f"Manipulation Score: {results['analysis']['manipulation_score']}%")
print(f"Confidence: {results['analysis']['confidence']}")

Pricing Plans

Free Tier

  • 100 API calls per month
  • Basic analysis results
  • Standard processing priority

Developer

  • 5,000 API calls per month
  • Full analysis details
  • Enhanced response time

Business

  • 20,000 API calls per month
  • Priority processing
  • Batch processing support
  • Custom webhooks

Enterprise

  • Custom volume
  • Dedicated support
  • SLA guarantees
  • Custom integration assistance
  • White-label options
  • Contact for pricing

Documentation

Comprehensive documentation is available at fakeimagedetector.ai/api/docs, including:

  • Complete endpoint references
  • Authentication details
  • Code examples in multiple languages
  • Response field descriptions
  • Best practices for integration
  • Rate limiting information

Support

Our developer support team is available to assist with API integration:


Ready to integrate powerful image authentication into your application? contact our sales team for enterprise solutions.