Skip to content

Single-Shot Redaction

For cases where a fully-automated redaction is needed without using the editor, a single request can be made to both detect specified objects and render the redacted output video.

POST /api/v1/videos:process

REQUEST

{
   "inputUri": "https://example.com/path/to/video.mp4",
   "features": ["FACE_DETECTION", "LICENSE_PLATE_DETECTION", "MEDIA_RENDERING"],
   "outputUri": "s3://mybucket/folderName/redacted-video-filename.mp4",
   "notifications": [{
       "method": "HTTP_POST",
       "uri": "https://example.com/mywebhook/endpoint",
       "events": ["PROGRESS", "COMPLETION"]
   }]
}

RESPONSE

{
   "name":"projects/{project_id}/locations/{location_id}/operations/{operation_id}"
}