Metadata-Version: 2.1
Name: vosk-tts
Version: 0.3.59
Summary: Offline text to speech synthesis
Home-page: https://github.com/alphacep/vosk-tts
Author: Alpha Cephei Inc
Author-email: contact@alphacephei.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: onnxruntime (>=1.14)
Requires-Dist: requests
Requires-Dist: tokenizers
Requires-Dist: tqdm

# Vosk TTS

Simple TTS based on VITS with some old ideas

## Usage

### Command line

```
pip3 install vosk-tts

vosk-tts -n vosk-model-tts-ru-0.8-multi -s 2 --input "Привет мир!" --output out.wav
```

### API

```
from vosk_tts import Model, Synth
model = Model(model_name="vosk-model-tts-ru-0.8-multi")
synth = Synth(model)

synth.synth("Привет мир!", "out.wav", speaker_id=2)
```

## Voices

For now we support several Russian voices 3 females and 2 males. Get the model here:

[vosk-model-tts-ru-0.8-multi](https://alphacephei.com/vosk/models/vosk-model-tts-ru-0.8-multi.zip)

You can use speaker IDs from 0 to 4 included.

We plan to add more voices and languages in the future.
