
Detect if an image was AI-generated or AI-edited
Detects AI-generated images and identifies the generator (Midjourney, DALL-E, etc.)
image_urlstringRequiredURL of the image to check for AI generation
https://example.com/image.jpgAI generation detection with generator identification
ai_probabilityfloatProbability that image is AI-generated (0.0-1.0)
0.95is_ai_generatedbooleanTrue if probability exceeds 0.5
truesourcestringDetection method used
inferencetop_generatorobjectMost likely AI generator
{
"name": "midjourney",
"probability": 0.87
}namestringGenerator name
probabilityfloatConfidence (0.0-1.0)
generatorsarrayAll 24 generators ranked by probability
[
{
"name": "midjourney",
"probability": 0.87
},
{
"name": "dall_e",
"probability": 0.05
}
]c2pa_signerstringSigner if C2PA watermark was found
Adobe Photoshop{
"model": "ai-generated-image",
"image_url": "https://example.com/image.jpg"
}{
"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"
}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.Integrate AI-Generated Image Detection into your application today with our easy-to-use API.