cURL
AI Detection
Create AI Detection order
Creates an AI Detection order and issues a presigned S3 upload URL for the image.
Flow
- Call this endpoint to receive a presigned upload URL
- Upload the image directly to S3 using the presigned URL
- Call
POST /api/v2/orders/ai-detection/confirmto start async detection - Use webhooks or poll the order detail endpoint for the result
Order Status
| Status | Description |
|---|---|
pending | Waiting for file upload |
inProgress | Detection is in progress |
complete | Detection complete, result available |
failed | Detection failed |
Supported Formats
jpg, jpeg, png, webp, bmp, tiff
POST
cURL
Documentation Index
Fetch the complete documentation index at: https://docs.bizmori.com/llms.txt
Use this file to discover all available pages before exploring further.
How to upload the image
After receiving theuploadUrl from the response, upload your image directly to S3 using a PUT request:
The presigned upload URL expires after 10 minutes. Upload your image before it expires, then call the Confirm order endpoint.
Getting the detection result
Once you confirm the upload, the order status changes toinProgress. When detection completes, the result is available via:
- Webhook — Subscribe to
order.aiDetection.completedororder.aiDetection.failedevents - Polling — Call the Get order endpoint until status is
completeorfailed
aiDetection:
Status Codes
statusCode | Meaning |
|---|---|
1 | Highly likely AI-generated |
2 | Likely AI-generated |
3 | Likely human-created |
4 | Highly likely human-created |
Authorizations
API Key for external client access
Body
application/json
Idempotency key to prevent duplicate requests
Example:
"key-ai-detection-001"
Image file name with extension. Supported: jpg, jpeg, png, webp, bmp, tiff
Example:
"photo.jpg"
Order name (optional, auto-generated if not provided)
Maximum string length:
64Example:
"my-detection-order"
Output options (optional). Generated files are included in the order detail response.
Response
Order created successfully