post https://api.techspecsray.com/v1/audio/process
Endpoint Overview
The Audio Upload Endpoint allows developers to upload audio files (specifically MP3) for processing. This can include audio from TV shows, movies, music, in-flight announcements, or any other audio files requiring subtitle generation or translation.
Endpoint
POST /v1/audio/process
Required Request Parameters
Form Data
Parameter | Type | Description |
---|---|---|
email | string | Email address of the user submitting the request. |
key | string | API key associated with the user's account for authentication. |
file | file | The audio file to be uploaded. Only .mp3 format is supported. |
Response
Success Response
Status Code: 200 OK
{
"message": "File uploaded successfully in 123.45 ms and processing started",
"email": "[email protected]",
"upload_time_ms": 123.45
}
Error Responses
Status Code | Error Message |
---|---|
400 | Invalid or missing parameters, file format errors, or usage limits exceeded. |
403 | Invalid or inactive API key. |
500 | Internal server errors during processing. |