Coder Social home page Coder Social logo

text-to-speech's Introduction

This Code Is Demonstrate Amazon Polly Text To Speech Using Node.js and Python

Requirements

  • Node.js
  • Python 3.6
  • Amazon Web Services Account (AWS)

Installation

  • Clone the repository
  • Create a Bucket in AWS S3 give with public access
  • Create a iam Role With These Policies
    1. Select For lambda Then add a following role
    2. Add a lambda basic execution role
    3. Amazon Polly Full Access
    4. Amazon Api Gateway Invoke Full Access

Usage

  • 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
    1. Create a Rest Api give a name
    2. Create a POST method and selet lambda function above created
    3. Then go to action a enable CORS
    4. Then Deploy API
  • Then go to the node.js folder and updated a code with your API Gateway URL

Run

Demo of Running Code

Screenshots and Audio

ScreenShot

Audio

  • In Joanna Voice

Audio

  • In Matthew Voice

Contributing

  • 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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.