Skip to content

angad-singhh/Text-Translator-and-Converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Text-Translator-and-Converter API

Overview

The Language Optimizer API is a FastAPI-based application that provides functionality for multilingual text-to-speech conversion and multilingual text language translation. This project aims to enhance communication by allowing users to convert text into speech and translate text across multiple languages seamlessly.

Features

  • Text-to-Speech (TTS): Convert written text any from multiple supported languages into AI generated speach in your prefered language.
  • Language Translation: Translate text between multiple languages.
  • Multilingual Support: Handle text in various languages for both TTS and translation.

Endpoints

Text-to-Speech

Endpoint : /tts/languages
Method : GET
Response :

{
  "Status": 200,
  "Supported languages": "str" // list of all supported languages
}

Endpoint : /tts/convert
Method : POST
Request Body :

{
  "text": "str" // text you wan to convert
  "language": "str" // desired language
  "speed": "str" 
}


Text-Lnaguage-Translator

Endpoint : /languages
Method : GET
Response :

{
  "Status": 200,
  "Supported languages": "list[str]" // list of all supported languages
}

Response : Audio file in MP3 format


Endpoint : /translate
Method : POST
Request Body :

{
  "input_text": "str"
  "translation_language": "str" // language in which you want translation
  "input_language": "str" // language of input text [Optional]
}

Response : Translated text in JSON



Connect with ME:

angad-singhh

angad.singh2605@gmail.com

About

This project contains API endpoints to play with texts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages