Giter Club home page Giter Club logo

text2speech's Introduction

Text-to-Speech Application

This is a Text-to-Speech (TTS) application that converts input text into an MP3 file using AWS Polly and stores it in an S3 bucket. The application provides a REST API that accepts text as input and returns a presigned URL for the generated audio file.

Architecture Overview

Architecture Diagram

The architecture consists of the following components:

  1. Mobile Application: The user initiates the text-to-speech conversion by clicking the "Convert" button in the mobile application.

  2. REST API: The mobile application communicates with a REST API, sending a JSON payload with the input text. The API triggers an AWS Lambda function to process the request.

  3. AWS Lambda Function: The Lambda function receives the text input, uses AWS Polly to convert it into an MP3 file, and then uploads the file to an S3 bucket. It generates a presigned URL for the stored MP3 file and returns it to the mobile application.

  4. Amazon Polly: AWS Polly is used for text-to-speech conversion.

  5. Amazon S3: The generated MP3 files are stored in an S3 bucket.

Project Structure

The project structure is organized as follows:

  • Text2Speech/
    • API/
      • Speech: Implementation of the REST API.
    • Lambda/
      • lambda_function.py: AWS Lambda function code for text-to-speech conversion.
    • Architecture/
      • architecture.png: Architecture diagram image.

Application View

output.mp4

text2speech's People

Contributors

ishaan453 avatar

Watchers

 avatar

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.