Text to spech
Text to spech feature uses AWS Transcribe. It requires the following env variables and IAM permissions.
AWS_REGION
AWS_REGION=[region]
AWS_ACCESS_KEY
AWS_ACCESS_KEY=[AWS ACCESS KEY ID]
AWS_SECRET_ACCESS_KEY
AWS_SECRET_ACCESS_KEY=[AWS SECRET KEY]
IAM permission
IAM user of the above keys should have the following permission
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"polly:*"
],
"Resource": [
"*"
]
}
]
}