Last updated 4 months ago
Add a blurit task in task queue.
/api/blur_it
Input File structure.
Output Media file structure.
Output JSON file structure.
curl -L \ --request POST \ --url '/api/blur_it' \ --header 'Content-Type: application/json' \ --data '{ "input_media": { "protocol": "file", "path": "image.jpg", "expires_at": "2042-01-01 00:00:00+02:00", "auto_delete": "True" }, "blur_plates": true, "blur_heads": true, "output_media": { "protocol": "file", "path": "image_blured.jpg", "lifespan": 3600 }, "output_json": { "protocol": "file", "path": "detections.json", "lifespan": 3600 } }'
{ "task_id": "686dfef9-0bb8-48a5-8f8b-452b2c5d57cc" }