As we speak, we’re asserting the overall availability of the generative engine of Amazon Polly with three voices: Ruth and Matthew in American English and Amy in British English. The brand new generative engine was skilled with publicly accessible and proprietary information and a wide range of voices, languages, and kinds. It performs with the very best precision to render context-dependent prosody, pausing, spelling, dialectal properties, international phrase pronunciation, and extra.
Amazon Polly is a machine studying (ML) service that converts textual content to lifelike speech, referred to as text-to-speech (TTS) expertise. Now, Amazon Polly consists of high-quality, natural-sounding humanlike voices in dozens of languages, so you possibly can choose the best voice and distribute your speech-enabled functions in lots of locales or international locations.
With Amazon Polly, you possibly can choose numerous voice choices, together with neural, long-form, and generative voices, which ship ground-breaking enhancements in speech high quality and produce human-like, extremely expressive, and emotionally adept voices. You’ll be able to retailer speech output in normal codecs like MP3 or OGG, modify the speech fee, pitch, or quantity with Speech Synthesis Markup Language (SSML) tags, and rapidly ship lifelike voices and conversational person experiences with persistently quick response occasions.
What’s the brand new generative engine?
Amazon Polly now helps 4 voice engines: normal, neural, long-form, and generative voices.
Commonplace TTS voices, launched in 2016 use conventional concatenative synthesis. This technique strings collectively the phonemes of recorded speech, producing very natural-sounding synthesized speech. Nevertheless, the inevitable variations in speech and the methods used to phase the waveforms restrict the standard of speech.
Neural TTS (NTTS) voices, launched in 2019, use a sequence-to-sequence neural community that converts a sequence of phonemes into spectrograms and a neural vocoder that converts the spectrograms right into a steady audio sign. The NTTS produces even larger high quality humanlike voices than its normal voices.
Lengthy-form voices, launched in 2023, are developed with cutting-edge deep studying TTS expertise and designed to captivate listeners’ consideration for longer content material, comparable to information articles, coaching supplies, or advertising and marketing movies.
In February 2024, Amazon scientists launched a brand new analysis TTS mannequin referred to as Massive Adaptive Streamable TTS with Emergent talents (BASE). With this expertise, the Amazon Polly generative engine is ready to create humanlike synthetically generated voices. You should utilize these voices as a educated buyer assistant, a digital coach, or an skilled marketer.
Listed below are the brand new generative voices:
Title | Locale | Gender | Language | Pattern immediate | NTTS voices |
Generative voices |
Ruth | en_US | Feminine | English (US) | Selma was mendacity on the bottom midway down the steps. 'Selma! Selma!' we shouted in panic. |
||
Matthew | en_US | Male | English (US) | The guards have been standing outdoors with a few of our neighbours, listening to a transistor radio. 'Any excellent news?' I requested. 'No, we're listening to the names of people that have been killed yesterday,' Bruno replied. |
||
Amy | en_GB | Feminine | English (British) | What are you ?' he stated as he stood over me. They bought off the bus and began looking the bags compartment. The stress on the bus was like a darkish, menacing cloud that hovered above us. |
You’ll be able to select from these voice choices to fit your software and use case. To study extra concerning the generative engine, go to Generative voices within the AWS documentation.
Get began with utilizing generative voices
You’ll be able to entry the brand new voices utilizing the AWS Administration Console, AWS Command Line Interface (AWS CLI), or the AWS SDKs.
To get began, go to the Amazon Polly console within the US (N. Virginia) Area and select the Textual content-to-Speech menu within the left pane. If you choose the voice of Ruth or Matthew within the language of English, US or Amy in English, UK, you possibly can select the Generative engine. Enter your textual content and take heed to or obtain the generated voice output.
Utilizing the CLI, you possibly can listing the voices that use the brand new generative engine:
$ aws polly describe-voices --output json --region us-east-1
| jq -r '.Voices[] | choose(.SupportedEngines | index("generative")) | .Title'
Matthew
Amy
Ruth
Now, run the synthesize-speech CLI command to synthesize pattern textual content to an audio file (howdy.mp3) with the parameters of generative engine and a supported voice ID.
$ aws polly synthesize-speech --output-format mp3 --region us-east-1
--text "Hey. That is my first generative voices!"
--voice-id Matthew --engine generative howdy.mp3
To study extra code examples utilizing AWS SDKs, go to Code and software examples within the AWS documentation. You should utilize Java and Python code examples, software examples comparable to internet functions utilizing Java or Python, or iOS and Android functions.
Now accessible
The brand new generative voices of Amazon Polly are actually accessible at the moment within the US East (N. Virginia) Area. You solely pay for what you utilize primarily based on the variety of characters of textual content that you just convert to speech. To study extra, go to our Amazon Polly Pricing web page.
Give new generative voices a attempt within the Amazon Polly console at the moment and ship suggestions to AWS re:Put up for Amazon Polly or via your standard AWS Help contacts.
— Channy