Processing From S3
Audo's noise removal endpoint supports processing audio directly from S3 through the use of presigned URLs. To do this, simply pass presigned URLs to the input
and output
parameters of the /noise-removal
endpoint. The specific format of these presigned urls is as follows:
input
: A presignedGET
URLoutput
: A presignedPUT
URL with correctContentType
(ie.video/mp4
)
Note: As of writing, the aws presign
command does not support generating PUT
URLs. However, you can see the example below for how to generate them using Python.
#
Full Python ExampleFirst, make sure to have dependencies installed (make sure to upgrade audoai-noise-removal
):
Then, we can use this example script to generate the presigned URLs and remove noise: