Skip to content

HerbertHe/edge-tts-server

Repository files navigation

edge-tts-server

Docker Build Docker Version Docker Image Docker Pulls Docker Stars

Deploy edge-tts with docker.

Getting Started

Docker

You can directly use docker image:

docker run -p 8088:8088 herberthe0229/edge-tts-server

Nodejs

First, you need to setup python environment.

Then, run the following commands:

  • install dependencies: yarn install
  • build scripts: yarn build
  • create python venv: python3 -m venv .venv
  • activate venv: source .venv/bin/activate
  • install edge-tts: pip3 install edge-tts
  • run server: yarn serve

API

Method Path Query Description
GET /voices search(optional) Get all supported voices
GET /tts text, voice(required) Convert text to speech
GET /clean secret(required) Clean the exised mp3 files

Star History

Star History Chart

LICENSE

GPL-3.0 © Herbert He