/ovos-tts-server-plugin

Primary LanguagePythonApache License 2.0Apache-2.0

Description

OpenVoiceOS companion plugin for OpenVoiceOS TTS Server

Install

pip install ovos-tts-plugin-server

Configuration

  "tts": {
    "module": "ovos-tts-plugin-server",
    "ovos-tts-plugin-server": {"host": "https://0.0.0.0:9666"},
    "host": "https://tts.smartgic.io/piper",
    "v2": true,
    "verify_ssl": true,
    "tts_timeout": 5,
 }
  • host: the url of the tts server. /synthesize will be appended to it in the code
  • v2: use the v2 api, if available
  • verify_ssl: verify the ssl certificate of the server. If you use a self-signed certificate, you can set this to false, but it is not recommended
  • tts_timeout: timeout for the request to the server. Defaults to 5 seconds.

As of ovos-tts-server 0.0.3a10

If using a TTS plugin with v2, you can use the /v2 config option to take advantage of newer features. There is no need to change the host, however. It would always look something like: https://tts.smartgic.io/piper regardless of the v2 value.

Security warning

Please note that while you can set verify_ssl to false to disable SSL verification, this is not recommended and should only be used for testing purposes. Consider using a private CA or certificates signed using Let's Encrypt instead.