Speech Synthesis
Send Voice notes, audio files, real-time audio and get transcription, translation or voice response.
1. Speech to Speech
POST
/speech
Headers
Content-Type
application/Json
apikey
string
secret
string
Body
Name
Type
Description
speech
{filedatabase64} or {file url}
must be .ogg, .mp3, .wav
inlanguage
string
outlanguage
string
responsetype
string
Can be voice, image, video or text. If you need voice and text use voice,text.
stream
boolean
2. Speech to Text
Name
Value
Content-Type
application/json
apiKey
string
secret
string
Body
Name
Type
Description
speech
{filedatabase64} or {file url}
must be .ogg, .mp3, .wav
inlanguage
string
outputlanguage
string
responsetype
string
Can be voice, image, video or text. If you need voice and text use voice,text.
stream
boolean
Last updated
Was this helpful?