Skip to content

Quick example showing how to convert text to audo using AWS Polly and then save the result to S3 for use.

License

Notifications You must be signed in to change notification settings

DavidPackman/aws-polly-s3-nodejs-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AWS Polly Example Using Node.js, SSML and S3

Example Noda.js script thats uses AWS Polly to convert a string to audo and saves the result to an S3 bucket for play back later.

Requirements

Requires AWS SDK for JavaScript.

Basic Configuration

You will need to modify the awscreds.json file to include your AWS security credentials. The IAM user must have access to Polly.

The following lines will need modification.

{
 "accessKeyId": "Your Access Key",
 "secretAccessKey": "Your Secret Key"
}

You will also need to modify the main js file adding your chosen bucket and file names.

Bucket: "<Your Bucket>", 
Key: "<Your File Name>",

Running the example

From the command line run the following:

node aws-polly-example.js   

About

Quick example showing how to convert text to audo using AWS Polly and then save the result to S3 for use.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published