Process a file
Last updated
Last updated
Add a blurit task in task queue.
Detect and blur route's body. At least one of output_media or output_json is needed.
true
true
POST /api/blur_it HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 305
{
"input_media": {
"protocol": "file",
"path": "image.jpg",
"expires_at": "2042-01-01 00:00:00+02:00",
"auto_delete": "True"
},
"output_media": {
"protocol": "file",
"path": "image_blured.jpg",
"lifespan": 3600
},
"output_json": {
"protocol": "file",
"path": "detections.json",
"lifespan": 3600
},
"blur_plates": true,
"blur_heads": true
}
{
"task_id": "686dfef9-0bb8-48a5-8f8b-452b2c5d57cc"
}