edge-tts-server
edge-tts-server copied to clipboard
Server for edge-tts
edge-tts-server
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
LICENSE
GPL-3.0 © Herbert He