Core Feature
Batch-Verarbeitung
Verarbeite Hunderte von Bildern in einem Request - synchron oder asynchron mit Job-Queue und Webhook-Benachrichtigungen.
Dokumentation lesenVerarbeitungsmodi
Synchron
POST /batch/analyzeSofortige Verarbeitung für bis zu 10 Bilder - wartet auf Ergebnis
- Max. 10 images per request
- Immediate response
- Simple integration
Asynchron
POST /batch/jobsJob-Queue für große Mengen - Webhook bei Fertigstellung
- Unlimited images
- Webhook notifications
- Priority queues
Job-Prioritäten
1
Low
Background tasks
2
Normal
Default priority
3
High
Important jobs
4
Critical
Immediate processing
Webhook-Integration
Erhalte automatische Benachrichtigungen wenn Jobs fertig sind. HMAC-SHA256 signiert für Sicherheit.
-
Automatic Notifications
Receive a POST request when jobs complete
-
HMAC-SHA256 Signed
Verify webhook authenticity with signature
-
Retry on Failure
Automatic retries with exponential backoff
Webhook Payload
{
"event": "job.completed",
"job_id": "job_abc123",
"status": "completed",
"results": {
"total": 100,
"safe": 85,
"suggestive": 12,
"explicit": 3
},
"download_url": "https://...",
"timestamp": "2025-01-15T10:30:00Z"
}
// Header
X-Webhook-Signature: sha256=abc123...
API-Beispiele
POST /batch/analyze
{
"images": [
{ "url": "https://..." },
{ "base64": "..." }
]
}
// Response
{
"success": true,
"results": [
{ "index": 0, "category": "safe" },
{ "index": 1, "category": "explicit" }
]
}
POST /batch/jobs
{
"images": ["url1", "url2", "..."],
"priority": "high",
"webhook_url": "https://your-server/webhook"
}
// Response
{
"success": true,
"job_id": "job_abc123",
"status": "queued",
"estimated_time": 120
}
GET /batch/jobs/{job_id}
{
"job_id": "job_abc123",
"status": "processing",
"progress": {
"total": 100,
"completed": 45,
"percentage": 45
},
"created_at": "2025-01-15T10:00:00Z",
"updated_at": "2025-01-15T10:15:00Z"
}
Bereit loszulegen?
Kontaktiere uns für einen individuellen API-Zugang. Wir beraten dich gerne zu deinem Anwendungsfall.
Kontakt aufnehmen