Overview
AWSPollyTTSService
provides high-quality text-to-speech synthesis through Amazon Polly with support for standard, neural, and generative engines. The service offers extensive language support, SSML features, and voice customization options including prosody controls for pitch, rate, and volume.
AWS Polly API Reference
Pipecat’s API methods for AWS Polly integration
Example Implementation
Complete example with generative engine
AWS Polly Documentation
Official AWS Polly documentation and features
Voice Samples
Browse available voices and languages
Installation
To use AWS Polly services, install the required dependencies:Prerequisites
AWS Account Setup
Before using AWS Polly TTS services, you need:- AWS Account: Sign up at AWS Console
- IAM User: Create an IAM user with Polly permissions
- Access Keys: Generate access key ID and secret access key
- Voice Selection: Choose from available voices in the voice list
Required Environment Variables
AWS_ACCESS_KEY_ID
: Your AWS access key IDAWS_SECRET_ACCESS_KEY
: Your AWS secret access keyAWS_SESSION_TOKEN
: Session token (if using temporary credentials)AWS_REGION
: AWS region (defaults to “us-east-1”)