Amazon Polly is a fully managed text-to-speech (TTS) service launched by Amazon Web Services (AWS) that can convert any text into an audio stream on demand. It uses deep learning technology to process text content such as articles, web pages, and PDF documents, and provides dozens of lifelike voices covering multiple languages, helping developers build voice-activated applications and meet language, accessibility, and learning needs across different regions and markets.
Main capabilities include:
- Multilingual speech synthesis: Supports dozens of languages, with most languages offering one or more male and female voices. Voices are recorded by native speakers, and there are differences within the same language, making it easy to choose a voice suitable for the scenario.
- Speech engines: Speech is synthesized in the backend using powerful neural networks and generative speech engines. The generative engine uses a billion-parameter-scale transformer to generate speech incrementally and in a streamable manner, with a more confident, emotional, and conversational style.
- Customizable output: Supports custom lexicons to modify the pronunciation of abbreviations, company names, internal terminology, and more; supports the W3C-standard SSML markup language to adjust emphasis, intonation, phrases, and style, and can also automatically adjust speech duration to assist multilingual dubbing.
- Voice cloning: With the speaker's consent, create a custom cloned voice using a few minutes of audio and use it in the generative engine through the standard Polly API. This feature is currently available only to some customers; new customers need to contact their account manager.
- Security and storage: Output can be saved as standard audio files (such as MP3 and OGG) for redistribution, analysis, or archiving at no additional charge, and can also be cached to speed up retrieval. Polly does not retain the text content submitted by users; the voice cloning feature does not retain a copy of the recording after voice creation and does not use it to train models. It retains only the voice data required for synthesis and encrypts it using AWS KMS keys or AWS-owned keys until DeleteVoice is called.
Usage: Developers can quickly gain speech capabilities by integrating the Amazon Polly API into existing applications. When requesting output, select the voice and language, and optionally combine SSML or a custom lexicon to control pronunciation and intonation. Output audio can be stored, cached, or streamed directly for playback.
Applicable scenarios: Add speech to RSS feeds, websites, or videos for a global audience; enable voice capabilities in mobile and IoT applications; store and replay voice prompts in interactive or automated voice response systems; generate dubbing directly from scripts for media such as animations and games; assist with accessible reading and learning.
Limitations and notes: Amazon Polly is a closed-source, fully managed cloud service. Its source code cannot be downloaded or deployed; it can only be accessed throughAPI calls. The voice cloning feature has access restrictions. In terms of pricing, Polly participates in the AWS Free Tier. New AWS customers can receive up to $200 in free credits. The free plan is valid for 6 months after account creation, and all free credits must be used within 12 months after account creation; for specific charges, refer to the official pricing page. Details such as the number of voices are not explicitly given as specific figures in official materials and are not provided for now.