simple FastAPI server to host TTS plugins as a service
Project description
OpenVoiceOS TTS Server
Turn any OVOS TTS plugin into a micro service!
Install
pip install ovos-tts-server
Companion plugin
Use in your voice assistant with OpenVoiceOS companion plugin
Configuration
the plugin is configured just like if it was running in the assistant, under mycroft.conf
eg
"tts": {
"module": "ovos-tts-plugin-piper",
"ovos-tts-plugin-piper": {
"model": "alan-low"
}
}
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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ovos-tts-server-0.1.3.tar.gz.
File metadata
- Download URL: ovos-tts-server-0.1.3.tar.gz
- Upload date:
- Size: 12.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
efaad30cc4c9f7da2e14145c93a1b02e9033137192bb02e3a57656dfbe64acb4
|
|
| MD5 |
1d8119baf5902d7ad8141ac67a74ba5e
|
|
| BLAKE2b-256 |
c601ca8b826bc9965d4be655e1affc535ae94ae42b16c6d28a7a252dda587f47
|
File details
Details for the file ovos_tts_server-0.1.3-py3-none-any.whl.
File metadata
- Download URL: ovos_tts_server-0.1.3-py3-none-any.whl
- Upload date:
- Size: 13.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11c379a7d6252886ef98219e2c898aef503b514a0b60e4647a762794312597cd
|
|
| MD5 |
a4f86f76756721e19421c1e79259abea
|
|
| BLAKE2b-256 |
2fa09c041f4bd8f48aa788a478e65f85b1ad960ca9cc2985b9a05256091ecabc
|