Skip to content

langtech-bsc/minimal-tts-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Fastapi example to make inference with tts models in onnx format.

Steps:

  1. Clone the repo. git clone https://github.com/langtech-bsc/minimal-tts-api
  2. Build and run the container.
cd minimal-tts-api
docker build -t minimal-tts-api .
docker run -p 8000:8000 -t minimal-tts-api
  1. Test with a simple request.
curl -X POST   http://0.0.0.0:8000/api/tts   -H "Content-Type: application/json"   -d '{"text":"Bon dia","voice":"quim","accent":"balear","type":"text"}'   | play -t wav -

About

Simple Fastapi to stream audio

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published