Prerequisites
- A BIZ MORI API key (get one here)
- An image file to analyze (
jpeg,jpg,png,webp,bmp, ortiff)
Step 1: Create an order
Create an AI Detection order with your image file name.Step 2: Upload the file
PUT your file to the presigneduploadUrl from Step 1. This is a direct S3 upload — no Authorization header needed.
cURL
The presigned upload URL expires after 1 hour. Upload your image before it expires.
Step 3: Confirm the order
After uploading, call confirm to start detection processing:Step 4: Check the result
Poll the order or use webhooks to receive a push notification when detection completes. The detection result is included directly in the order detail — there is no separate download step.Reading the result
Theprobability field (0–1) indicates how likely the image is AI-generated. The statusCode provides a human-readable interpretation:
statusCode | Probability range | Meaning |
|---|---|---|
likely_real | < 0.25 | Highly likely human-created |
uncertain_real | 0.25 – 0.5 | Likely human-created |
uncertain_ai | 0.5 – 0.75 | Likely AI-generated |
likely_ai | ≥ 0.75 | Highly likely AI-generated |
heatmapUrl and overlayUrl are only present if you requested them via options.generateHeatmap and options.generateOverlay in Step 1.Error handling
| HTTP Status | Meaning | Action |
|---|---|---|
400 | Invalid request | Check parameters and file format |
401 | Authentication failed | Verify your API key |
429 | Rate limit exceeded | Reduce request frequency or upgrade plan |
Next steps
Anti-AI
Protect images from AI training and generation.
Watermark Embed
Embed invisible watermarks into images.
Watermark Extract
Detect and extract watermarks from images.
Webhooks
Set up webhooks to get notified when processing completes.