Skip to main content

Usage guide

Setup, environment variables, and Python/JavaScript/Go usage examples.

AWSPollyTTS

Text-to-speech with Amazon Polly using your AWS credentials. Good for a wide catalog of voices and languages. Authenticates with AWS_ACCESS_KEY_ID from your environment, or an explicit api_key.

Fields

str
default:"UNSET"
AWS region to call Polly in, e.g. “us-east-1”. Defaults to ‘us-east-1’.
str
default:"UNSET"
Polly voice ID, e.g. “Joanna” or “Matthew”. The voice must support the chosen engine. Defaults to ‘Joanna’.
str
default:"UNSET"
Polly engine: “standard”, “neural”, “long-form” or “generative”. Defaults to ‘neural’.
float
default:"UNSET"
Speaking rate multiplier, where 1.0 is normal speed. Defaults to 1.0.
float
default:"UNSET"
Pitch shift, where 0.0 is the voice’s natural pitch. Not supported by every engine. Defaults to 0.0.