Speech

get TTS from provider

post/Accounts/{AccountSid}/TtsCache/Synthesize

Request

Request body

speech_credential_sidstring required

Speech credential Sid

textstring required

the text to convert to audio

languagestring required

language is used in text

voicestring required

voice ID

encodingMp3boolean

convert audio to mp3.

Example request

{
  "speech_credential_sid": "553b4b6b-8918-4394-a46d-1e3c5a3c717b",
  "text": "Hello How are you",
  "language": "en-US",
  "voice": "en-US-Standard-C",
  "encodingMp3": true
}

Response

Audio is created

Changes

No recorded changes to this operation across all 28 revisions of this API.