NeonGeckoCom / neon-tts-plugin-coqui

Coqui AI TTS plugin
https://huggingface.co/spaces/neongeckocom/neon-tts-plugin-coqui
Other
67 stars 5 forks source link
multilingual speech-synthesis text-to-speech tts

NeonAI Coqui AI TTS Plugin

Mycroft compatible TTS Plugin for Coqui AI Text-to-Speech.

Languages:

We support all European Union languages including:

English, Spanish, French, German, Italian, Polish, Ukrainian, \ Dutch, Romanian, Hungarian, Greek, Czech, Swedish, Portuguese, \ Croatian, Bulgarian, Danish, Slovak, Finnish, Lithuanian, \ Slovenian, Latvian, Estonian, Irish, Maltese

Feel free to open an issue to request support of your language.\ We implement all the languages that are wanted and needed, not just those spoken by the largest number of people.\ For example, we have already included Irish and Maltese, even though they have less than a million native speakers.

Performance:

Real-Time Factor(RTF) - the ratio of how long it takes to generate audio to how long the audio is when spoken.

Storage:

This plugin has a minimum list of dependencies, which in total fit in 900MB on amd64, and 300MB on arm64.\ Models are installed on the fly, almost instantly after the first TTS request. You don't need to download languages you don't use.\ Each model weighs about 100MB, in total you only need ~4GB to get support for 25 languages.

License:

NeonAI Coqui AI TTS Plugin is available under the BSD-3-Clause license

It is one of the most community-friendly open licenses out there. It has minimal restrictions on how it can be used by developers and end users, making it the most open package with the most supported languages on the market.

Configuration:

tts:
    module: coqui
    coqui: {
        cache: true
    }

Requirements:

sudo apt install espeak-ng

Necessary for english, greek and some other languages

Docker

A docker container using ovos-tts-server is available

You can build and run it locally

docker build . -t coquitts
docker run -p 8080:9666 coquitts

use it http://localhost:8080/synthesize/hello