agonzalezo / api-speech

A Eleven labs (text to speech) wrapper, recibe text in the body and consume eleven labs api to generate audio then return it to the client.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

api-speech

A Eleven labs (text to speech) wrapper, recibe text in the body and consume eleven labs api to generate audio then return it to the client.

Installation

  • npm i
  • You need this env vars.
    API_LOG_LEVEL='short'
    API_NAME='speech'
    NAME_SPACE='xylon'
    PORT=3000
    ELEVEN_API_KEY='XxxElevenLabskeyXxx'
    

Usage

  • npm start

Docs

Postman Docs.

About

A Eleven labs (text to speech) wrapper, recibe text in the body and consume eleven labs api to generate audio then return it to the client.


Languages

Language:JavaScript 78.7%Language:Shell 15.7%Language:Dockerfile 5.6%