Skip to main content
POST
/
audio-to-text
Speech to Text
curl --request POST \
  --url http://{api_base_url}/audio-to-text \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'user=<string>' \
  --form file='@example-file'
{
  "text": "<string>"
}

Authorizations

Authorization
string
header
required

API Key authentication.

Body

multipart/form-data
file
file
required

Audio file. Formats: mp3, mp4, mpeg, mpga, m4a, wav, webm. Limit: 15MB.

user
string
required

Response

200 - application/json

Successfully converted audio to text.

text
string