enhance audio
The enhance audio API provides a simple yet powerful interface for audio enhancing.
Endpoint
POST /audio/v1/enhance
Body
Form Data
-
audio
(file
, required): The audio file that we want to enhance it. -
typeId
(string
, required): the enhancement type idtypeId values :
-
664f30c0ba9c162a962f75b0
Conference -
664f30c0ba9c162a962f75b1
Interview -
664f30c0ba9c162a962f75b2
Lecture Room -
664f30c0ba9c162a962f75b3
Meeting -
664f30c0ba9c162a962f75b4
Mobile phone -
664f30c0ba9c162a962f75b5
Music -
664f30c0ba9c162a962f75b6
Podcast -
664f30c0ba9c162a962f75b7
Studio -
664f30c0ba9c162a962f75b8
Voice recording
Example
Request
POST /audio/v1/enhance
x-access-key: YOUR_ACCESS_KEY
##Form Data
{
"audio": "<Input file>",
"typeId": "<Input string>"
}
Response
Success
HTTP/1.1 200 OK
Content-Type: application/json
{
"success": true,
"data": url,
"message": "<process success message>"
}
Error
HTTP/1.1 400 Bad Request
Content-Type: application/json
{
"success": false,
"message": "<An error message containg the details>"
}