AI Image Detector API

Detect AI-generated images programmatically. One endpoint, file or URL input, a verdict with an AI-probability score and confidence level in the response.

Last updated: 2026-07-14

Add AI-image detection to your product with a single HTTP call. Send an image (file upload or URL), get back whether it's AI-generated, an AI-probability score, and a confidence level.

Why use the API

  • One endpoint. POST /v1/image/detect — file or imageUrl, JSON out.
  • Same engine as the web tool. Whatever the free tool returns, the API returns.
  • Paid-plan access. API keys and /v1 requests are available only after a paid purchase; free accounts can keep using the web detector.
  • Usage-based credits. Paid plan credit allowances are shared between the web tool and the API — one balance, no separate metering.
  • Purpose-limited processing. Submitted image files are processed for the requested check and are not added to detection history.

Quick example

curl -X POST https://imagedetector.online/v1/image/detect \
  -H "Authorization: Bearer sk_your_api_key" \
  -F "image=@/path/to/photo.jpg"
{
  "verdict": "likely_ai",
  "ai_score": 0.87,
  "confidence": "high",
  "source_breakdown": []
}

Getting started

  1. Create an account and buy a paid plan or credit pack.
  2. Generate an API key under Settings → API Keys.
  3. Call POST /v1/image/detect with your key as a Bearer token.

See the full API documentation for authentication, inputs, response fields, error codes, and rate limits. Ready to scale? Check pricing.