Skip to content
/ ortts Public

๐–ฃ˜๐Ÿ”Š Simple and Easy-to-use local TTS inference server, Powered by ONNX Runtime

License

Notifications You must be signed in to change notification settings

moeru-ai/ortts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

68 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

ORTTS

ortts is an OpenAI-compatible server offering text-to-speech services.

Backends

Getting Started

You can always access the integrated Scalar OpenAPI documentation at http://127.0.0.1:12775.

Running

From Source

git clone https://github.com/moeru-ai/ortts.git
cd ortts
cargo run serve --release

Using Docker

docker run -d --restart always \
  -p 12775:12775 \
  ghcr.io/moeru-ai/ortts:latest

Or if you have existing cache directory with models downloaded or would love to reuse cache across restarts:

docker run -d --restart always \
  -p 12775:12775 \
  -v  ~/.cache/huggingface/hub:/root/.cache/huggingface/hub \
  ghcr.io/moeru-ai/ortts:latest

Example Request

curl -X POST \
   -H 'Content-Type: application/json' \
   -d '{ "voice": "/path/to/reference/voice/audio/file", "input": "This is a test", "model": "chatterbox-multilingual" }' \
   --output test.wav \
  "http://127.0.0.1:12775/v1/audio/speech"

License

MIT

About

๐–ฃ˜๐Ÿ”Š Simple and Easy-to-use local TTS inference server, Powered by ONNX Runtime

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •