- Node.js
- Python 3.6
- Amazon Web Services Account (AWS)
- Clone the repository
- Create a Bucket in AWS S3 give with public access
- Create a iam Role With These Policies
- Select For lambda Then add a following role
- Add a lambda basic execution role
- Amazon Polly Full Access
- Amazon Api Gateway Invoke Full Access
- Create a lambda function in AWS
- Then go to Lambda folder in a repository And copy a code from lambda_function.py and paste it in lambda function
- Then Create a API Gateway in AWS with a POST method
- Create a Rest Api give a name
- Create a POST method and selet lambda function above created
- Then go to action a enable CORS
- Then Deploy API
- Then go to the node.js folder and updated a code with your API Gateway URL
- Copy url from API Gateway and paste to the browser and add a query string with text and voice
- Example: https://xxxxxxxxxx.execute-api.us-east-1.amazonaws.com
- Add a text in text query string
- Then play a audio in browser
- In Joanna Voice
- In Matthew Voice
- Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
- Please make sure to update tests as appropriate.
- Please don't forget to give a star
- Thank You
- Happy Coding