Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

NeonGeckoCom/neon-tts-plugin-mozilla_remote

Repository files navigation

NeonAI Mozilla TTS Plugin

Mycroft compatible TTS Plugin for Remote Mozilla Text-to-Speech. Note that this module requires a local or remote API server to be available.

Configuration:

using the mycroft.conf

"tts": {
    "module": "mozilla_remote",
    "mozilla_remote": {
      "api_url": "http://0.0.0.0:5002/api/tts"
    }
}

using the neon config

tts:
    module: mozilla_remote
    mozilla_remote: {"api_url": "http://0.0.0.0:5002/api/tts"}

Usage

Standalone usage

from neon_tts_plugin_mozilla_remote import MozillaRemoteTTS

engine = MozillaRemoteTTS(config={"api_url": "http://0.0.0.0:5002/api/tts"})
engine.get_tts("hello world", "test.wav")