AWS Polly
Written in 2019. Tools, APIs and prices may have changed since.
Lab note What I wrote down while learning this by building with it. Short by design; the code is in pfeilbr/aws-polly-playground.
learn aws polly text-to-speech (TTS)
Running
update js code in polly.html with the following
AWS.config.region = '<YOUR_REGION>';
AWS.config.credentials = new AWS.CognitoIdentityCredentials({ IdentityPoolId: '<YOUR_IDENTITY_POOL_ID>' });
open polly.html