simple FastAPI server to host TTS plugins as a service
Project description
OpenVoiceOS TTS Server
Turn any OVOS TTS plugin into a micro service!
Use with OpenVoiceOS companion plugin
Install
pip install ovos-tts-server
Usage
ovos-tts-server --help
usage: ovos-tts-server [-h] [--engine ENGINE] [--port PORT] [--host HOST] [--cache]
options:
-h, --help show this help message and exit
--engine ENGINE tts plugin to be used
--port PORT port number
--host HOST host
--cache save every synth to disk
eg, to use the GladosTTS plugin ovos-tts-server --engine neon-tts-plugin-glados --cache
then do a get request http://192.168.1.112:9666/synthesize/hello
Companion plugin
coming soon - companion plugin to point to a ovos-tts-server instance
Docker
you can create easily crete a docker file to serve any plugin
FROM python:3.7
RUN pip3 install ovos-utils==0.0.15
RUN pip3 install ovos-plugin-manager==0.0.4
RUN pip3 install ovos-tts-server==0.0.1
RUN pip3 install {PLUGIN_HERE}
ENTRYPOINT ovos-tts-server --engine {PLUGIN_HERE} --cache
build it
docker build . -t my_ovos_tts_plugin
run it
docker run -p 8080:9666 my_ovos_tts_plugin
use it http://localhost:8080/synthesize/hello
Each plugin can provide its own Dockerfile in its repository using ovos-tts-server
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ovos-tts-server-0.0.3a5.tar.gz
(12.0 kB
view hashes)
Built Distribution
Close
Hashes for ovos_tts_server-0.0.3a5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5b7d4f3f0e70b42f7687381695e45401145e4cb5f0568e5b97bb1bd139787e5 |
|
MD5 | 6ccccba61a10d51077bd31bc55c2b0db |
|
BLAKE2b-256 | acfa92c91eaed931a345cf1c8c5656484e2822fa487455c24446ab0c878a2a65 |