Skip to content

nearkyh/AWS-Polly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

How to use Amazon Polly

1. Join AWS

To create an AWS account

  1. Open https://aws.amazon.com and select [Create an AWS Account].
  2. Follow the online instructions.

2. Create IAM user

To create an administrator user and log in to the console

  1. Create an admin user named adminuser in your AWS account. For instructions, See Creating Users and Administrators Groups for the First Time.
  2. Users can log in to the AWS Management console using specific URLs. For more information, See How to log in to your account in the User Guide.

3. Getting Started with the AWS CLI

AWS Command Line Interface Configuration

  • virtualenv env --python=python3.5
  • source env/bin/activate
  • pip install awscli

Configuring the AWS Command Line Interface

  • aws configure
AWS Access Key ID [None]: YOUR-AWS-ACCESS-KEY-ID
AWS Secret Access Key [None]: YOUR-AWS-SECRET-ACCESS-KEY
Default region name [None]: 
Default output format [None]: 

4. Testing aws-polly

Install Dependencies

  • pip install boto3

Run

  • python example.py
msg >> 'Enter text'
return output_aws_polly.mp3 file

5. Available Voices

If you want to change the language, change the name_id variable in example.py.

About

How to use Amazon Polly TTS(Text To Speech)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages