Skip to main content
POST
Generates an speech to text transcription (not streamed).

Authorizations

Authorization
string
header
required

Pass the API key in the Authorization header, You need to put Token keyword before the API key. e.g. 'Authorization: Token '

Body

application/json
audioBase64
string
required

The audio base64 string that contains the audio data. Audio data should be of type WAV.

Example:

"GkXfo59ChoEBQveBAULygQRC84EIQoKEd2VibUKHgQRChYECGFOAZwH ..."

language
enum<string>
default:ar
Available options:
ar,
en
isEosEnabled
boolean
default:false

Whether to enable End of Speech detection or not.

eosThreshold
number
default:0.3

The threshold value for End of Speech detection.

model
enum<string>
default:s2

The STT model to use for transcription.

Available options:
s2,
s3
Example:

"s2"

Response

Successful response

text
string

The generated text of the speech audio list.