Batch Processing
Batch processing endpoints for multiple files
Batch image inference - Process multiple images in a single request for improved efficiency.
Maximum 50 images per request. Optimized for throughput and resource utilization.
mTLS (optional): If your client requires mTLS, include X-Client-Cert header.
For mTLS clients only: Base64-encoded client certificate.
Multiple image files (JPEG, PNG, WebP)
Batch image inference results
Bad request - Invalid input data
Unauthorized - Invalid or missing authentication
Forbidden - Permission denied or missing mTLS certificate
POST /batch_image HTTP/1.1
Host: enterprise.bitmind.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: multipart/form-data
Accept: */*
Content-Length: 21
{
"images": [
"binary"
]
}{
"batch_results": [
{
"isAI": true,
"confidence": 0.8234,
"processingTime": 0.043,
"batch_position": 0
},
{
"isAI": false,
"confidence": 0.2891,
"processingTime": 0.041,
"batch_position": 1
}
],
"batch_count": 2,
"total_time": 0.156,
"request_id": "batch_img_1234567890"
}Batch video inference - Process multiple videos in a single request.
Maximum 20 videos per request. Optimized for processing multiple videos with improved throughput.
mTLS (optional): If your client requires mTLS, include X-Client-Cert header.
For mTLS clients only: Base64-encoded client certificate.
Multiple video files (MP4, AVI, MOV)
Batch video inference results
Bad request - Invalid input data
Unauthorized - Invalid or missing authentication
Forbidden - Permission denied or missing mTLS certificate
POST /batch_video HTTP/1.1
Host: enterprise.bitmind.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: multipart/form-data
Accept: */*
Content-Length: 21
{
"videos": [
"binary"
]
}{
"batch_results": [
{
"isAI": false,
"confidence": 0.1234,
"processingTime": 1.416,
"batch_position": 0
}
],
"batch_count": 1,
"total_time": 1.416,
"request_id": "batch_vid_1234567890"
}Last updated