Detector24
AI-Generated Image Detection
ImageAI Generation and Editing

AI-Generated Image Detection

Detect if an image was AI-generated or AI-edited

Accuracy
92.4%
Avg. Speed
180ms
Per Request
$0.0075
API Name
ai-generated-image

API Reference

Version
2601
Jan 3, 2026
Avg. Processing
180ms
Per Request
$0.0075
Required Plan
trial

Input Parameters

Detects AI-generated images and identifies the generator (Midjourney, DALL-E, etc.)

image_urlstringRequired

URL of the image to check for AI generation

Example:
https://example.com/image.jpg

Response Fields

AI generation detection with generator identification

ai_probabilityfloat

Probability that image is AI-generated (0.0-1.0)

Example:
0.95
is_ai_generatedboolean

True if probability exceeds 0.5

Example:
true
sourcestring

Detection method used

Example:
inference
top_generatorobject

Most likely AI generator

Example:
{ "name": "midjourney", "probability": 0.87 }
Object Properties:
namestring

Generator name

probabilityfloat

Confidence (0.0-1.0)

generatorsarray

All 24 generators ranked by probability

Example:
[ { "name": "midjourney", "probability": 0.87 }, { "name": "dall_e", "probability": 0.05 } ]
c2pa_signerstring

Signer if C2PA watermark was found

Example:
Adobe Photoshop

Complete Example

Request

{
  "model": "ai-generated-image",
  "image_url": "https://example.com/image.jpg"
}

Response

{
  "inference_id": "inf_abc123def456ghi789",
  "model_id": "ai_generated_image",
  "model_name": "AI-Generated Image Detection",
  "moderation_type": "image",
  "status": "completed",
  "result": {
    "ai_probability": 0.95,
    "is_ai_generated": true,
    "source": "inference",
    "top_generator": {
      "name": "midjourney",
      "probability": 0.87
    },
    "generators": [
      {
        "name": "flux_1",
        "probability": 0
      },
      {
        "name": "if",
        "probability": 0
      },
      {
        "name": "juggernaut_xl",
        "probability": 0
      },
      {
        "name": "kandinsky",
        "probability": 0
      },
      {
        "name": "kolors",
        "probability": 0
      }
    ],
    "c2pa_signer": null
  },
  "response_time_ms": 180,
  "created_at": "2026-02-01T10:54:16Z",
  "completed_at": "2026-02-01T10:54:16Z"
}

Additional Information

Rate Limiting
If we throttle your request, you will receive a 429 HTTP error code along with an error message. You should then retry with an exponential back-off strategy, meaning that you should retry after 4 seconds, then 8 seconds, then 16 seconds, etc.
Supported Formats
gif, jpeg, jpg, png, webp
Maximum File Size
20MB
Tags:aisyntheticgenerated

Ready to get started?

Integrate AI-Generated Image Detection into your application today with our easy-to-use API.