cURL
curl -X POST https://api.bizmori.com/api/v2/orders/anti-ai \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"idempotencyKey": "key-001",
"files": [
{"fileName": "image1.jpg"},
{"fileName": "image2.png"}
],
"options": {"strength": "high"}
}'const response = await fetch('https://api.bizmori.com/api/v2/orders/anti-ai', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Content-Type': 'application/json'
},
body: JSON.stringify({
idempotencyKey: 'key-001',
files: [
{ fileName: 'image1.jpg' },
{ fileName: 'image2.png' }
],
options: { strength: 'high' }
})
});
const data = await response.json();import requests
response = requests.post(
'https://api.bizmori.com/api/v2/orders/anti-ai',
headers={'Authorization': 'Bearer YOUR_API_TOKEN'},
json={
'idempotencyKey': 'key-001',
'files': [
{'fileName': 'image1.jpg'},
{'fileName': 'image2.png'}
],
'options': {'strength': 'high'}
}
)
data = response.json()<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.bizmori.com/api/v2/orders/anti-ai",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'idempotencyKey' => 'key-upload-001',
'files' => [
[
'fileName' => 'image1.jpg'
],
[
'fileName' => 'image2.png'
]
],
'options' => [
'strength' => 'high'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.bizmori.com/api/v2/orders/anti-ai"
payload := strings.NewReader("{\n \"idempotencyKey\": \"key-upload-001\",\n \"files\": [\n {\n \"fileName\": \"image1.jpg\"\n },\n {\n \"fileName\": \"image2.png\"\n }\n ],\n \"options\": {\n \"strength\": \"high\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.bizmori.com/api/v2/orders/anti-ai")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"idempotencyKey\": \"key-upload-001\",\n \"files\": [\n {\n \"fileName\": \"image1.jpg\"\n },\n {\n \"fileName\": \"image2.png\"\n }\n ],\n \"options\": {\n \"strength\": \"high\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bizmori.com/api/v2/orders/anti-ai")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"idempotencyKey\": \"key-upload-001\",\n \"files\": [\n {\n \"fileName\": \"image1.jpg\"\n },\n {\n \"fileName\": \"image2.png\"\n }\n ],\n \"options\": {\n \"strength\": \"high\"\n }\n}"
response = http.request(request)
puts response.read_body{
"data": {
"orderName": "anti_ai_2026-02-09",
"orderId": "123456789",
"status": "pending",
"files": [
{
"fileId": 1,
"fileName": "image1.jpg",
"uploadUrl": "https://s3.amazonaws.com/...",
"fileKey": "temp/123456789/0/image1.jpg"
}
]
}
}Anti-AI
Create Anti-AI order
Create an order for AI detection protection processing.
Input Modes (Upload / URL / Mixed)
The input mode is determined by the presence of originalFileUrl in each file object:
- Upload mode (no
originalFileUrl): Presigned URL issued → Client uploads to S3 → Call/confirm - URL mode (
originalFileUrlprovided): Image downloaded from the URL and processed immediately - Mixed mode: Some files in Upload mode, others in URL mode simultaneously
Behavior
| Condition | Order Status | Confirm Required |
|---|---|---|
All files have originalFileUrl | inProgress | No (immediate processing) |
Any file without originalFileUrl | pending | Yes (upload then confirm) |
Zero Copy Mode
When mode.zeroCopy: true, processed results are uploaded directly to customer-provided presigned URLs.
In this case, outputTargets array is required and must match the length of files array.
POST
/
api
/
v2
/
orders
/
anti-ai
cURL
curl -X POST https://api.bizmori.com/api/v2/orders/anti-ai \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"idempotencyKey": "key-001",
"files": [
{"fileName": "image1.jpg"},
{"fileName": "image2.png"}
],
"options": {"strength": "high"}
}'const response = await fetch('https://api.bizmori.com/api/v2/orders/anti-ai', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Content-Type': 'application/json'
},
body: JSON.stringify({
idempotencyKey: 'key-001',
files: [
{ fileName: 'image1.jpg' },
{ fileName: 'image2.png' }
],
options: { strength: 'high' }
})
});
const data = await response.json();import requests
response = requests.post(
'https://api.bizmori.com/api/v2/orders/anti-ai',
headers={'Authorization': 'Bearer YOUR_API_TOKEN'},
json={
'idempotencyKey': 'key-001',
'files': [
{'fileName': 'image1.jpg'},
{'fileName': 'image2.png'}
],
'options': {'strength': 'high'}
}
)
data = response.json()<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.bizmori.com/api/v2/orders/anti-ai",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'idempotencyKey' => 'key-upload-001',
'files' => [
[
'fileName' => 'image1.jpg'
],
[
'fileName' => 'image2.png'
]
],
'options' => [
'strength' => 'high'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.bizmori.com/api/v2/orders/anti-ai"
payload := strings.NewReader("{\n \"idempotencyKey\": \"key-upload-001\",\n \"files\": [\n {\n \"fileName\": \"image1.jpg\"\n },\n {\n \"fileName\": \"image2.png\"\n }\n ],\n \"options\": {\n \"strength\": \"high\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.bizmori.com/api/v2/orders/anti-ai")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"idempotencyKey\": \"key-upload-001\",\n \"files\": [\n {\n \"fileName\": \"image1.jpg\"\n },\n {\n \"fileName\": \"image2.png\"\n }\n ],\n \"options\": {\n \"strength\": \"high\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bizmori.com/api/v2/orders/anti-ai")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"idempotencyKey\": \"key-upload-001\",\n \"files\": [\n {\n \"fileName\": \"image1.jpg\"\n },\n {\n \"fileName\": \"image2.png\"\n }\n ],\n \"options\": {\n \"strength\": \"high\"\n }\n}"
response = http.request(request)
puts response.read_body{
"data": {
"orderName": "anti_ai_2026-02-09",
"orderId": "123456789",
"status": "pending",
"files": [
{
"fileId": 1,
"fileName": "image1.jpg",
"uploadUrl": "https://s3.amazonaws.com/...",
"fileKey": "temp/123456789/0/image1.jpg"
}
]
}
}Download order results
Once your order reachescomplete status, use the Get download URL endpoint to retrieve a presigned download URL:
curl -X GET https://api.bizmori.com/api/v2/orders/{orderId}/download \
-H "Authorization: Bearer YOUR_API_TOKEN"
Order files are available for download for up to 7 days after order creation. After 7 days, the order transitions to
expired status and files can no longer be downloaded.Authorizations
API Key for external client access
Body
application/json
Idempotency key to prevent duplicate requests
Required array length:
1 - 100 elementsHide child attributes
Hide child attributes
File name (with extension)
Example:
"image.jpg"
Original image URL (optional)
- Provided: URL mode (no presigned URL issued, immediate processing)
- Not provided: Upload mode (presigned URL issued, confirm required)
Example:
"https://example.com/image.jpg"
Order name (optional, auto-generated if not provided)
Maximum string length:
64Output upload targets for Zero Copy mode (required when mode.zeroCopy is true)
Response
Order created successfully
Hide child attributes
Hide child attributes
Order status
pending: Contains upload files (confirm required)inProgress: All files in URL mode (immediate processing)
Available options:
pending, inProgress Hide child attributes
Hide child attributes
⌘I