Voice and audio
Text to speech in 24 languages, translating the speech in a recording or a video into another language, and changing the voice in a recording.
Text to speech in 24 languages
POST /v1/audio/speech turns text, up to 5,000 characters, into natural speech. Choose a voice from our library (GET /v1/models lists every voice and its language) and the language, such as English, then shape the delivery:
emotion:happy,sad,angry,fearful,disgusted,surprisedorcalm.speed: from0.5to2, where1is a normal pace.
Speech costs $0.14 per started 1,000 characters. A one-minute voice-over is usually under 1,000 characters.
Translating a recording or a video
POST /v1/audio/translate takes an audio or video file, up to 3 minutes, and a targetLanguage code such as es, de or ja (25 languages). We transcribe the speech, translate it and speak the translation in a voice of the new language, or the voice you choose, for $0.21 a minute.
The result is the translated speech as an audio file; a video is not re-dubbed. The job also returns the transcript, the translation and the sourceLanguage, ready for subtitles. Lay the new voice-over under your video and one product video reaches every market you sell in.
Changing the voice in a recording
POST /v1/audio/voice-change takes an audio recording, up to 5 minutes, and a voice from the voice changer's own list (such as Rachel, Brian or George; GET /v1/models lists them), and returns the same words, timing and feeling in the new voice. Use it for narration you recorded, or to give a character the same voice every time. It costs $0.41 per started minute.
Using generated speech in talking avatars
A speech job's output is an audio URL, so you can pass it as audio to POST /v1/avatars. Do this when you want to check or reuse the voice-over before making the video. Otherwise, send the script and voice to the avatar directly and skip a step.