# 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.7-multi -s 2 --input "Привет мир!" --output out.wav
```
### API
```
from vosk_tts import Model, Synth
model = Model(model_name="vosk-model-tts-ru-0.7-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.7-multi](https://alphacephei.com/vosk/models/vosk-model-tts-ru-0.7-multi.zip)
You can use speaker IDs from 0 to 4 included.
We plan to add more voices and languages in the future.
Raw data
{
"_id": null,
"home_page": "https://github.com/alphacep/vosk-tts",
"name": "vosk-tts",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": null,
"author": "Alpha Cephei Inc",
"author_email": "contact@alphacephei.com",
"download_url": null,
"platform": null,
"description": "# Vosk TTS\n\nSimple TTS based on VITS with some old ideas\n\n## Usage\n\n### Command line\n\n```\npip3 install vosk-tts\n\nvosk-tts -n vosk-model-tts-ru-0.7-multi -s 2 --input \"\u041f\u0440\u0438\u0432\u0435\u0442 \u043c\u0438\u0440!\" --output out.wav\n```\n\n### API\n\n```\nfrom vosk_tts import Model, Synth\nmodel = Model(model_name=\"vosk-model-tts-ru-0.7-multi\")\nsynth = Synth(model)\n\nsynth.synth(\"\u041f\u0440\u0438\u0432\u0435\u0442 \u043c\u0438\u0440!\", \"out.wav\", speaker_id=2)\n```\n\n## Voices\n\nFor now we support several Russian voices 3 females and 2 males. Get the model here:\n\n[vosk-model-tts-ru-0.7-multi](https://alphacephei.com/vosk/models/vosk-model-tts-ru-0.7-multi.zip)\n\nYou can use speaker IDs from 0 to 4 included.\n\nWe plan to add more voices and languages in the future.\n\n\n",
"bugtrack_url": null,
"license": null,
"summary": "Offline text to speech synthesis",
"version": "0.3.56",
"project_urls": {
"Homepage": "https://github.com/alphacep/vosk-tts"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "055900e7f2f3881c35bfeacdbe1cfb830cccf18aba077e15c601c100beaeeed9",
"md5": "78460753ddfdaf5c402ce39a417240fc",
"sha256": "23978a248cb58d726a506ced0991cc31f1511fb17f1f4a5f5424a154e3743ee4"
},
"downloads": -1,
"filename": "vosk_tts-0.3.56-py3-none-any.whl",
"has_sig": false,
"md5_digest": "78460753ddfdaf5c402ce39a417240fc",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 10897,
"upload_time": "2024-07-15T13:53:12",
"upload_time_iso_8601": "2024-07-15T13:53:12.568274Z",
"url": "https://files.pythonhosted.org/packages/05/59/00e7f2f3881c35bfeacdbe1cfb830cccf18aba077e15c601c100beaeeed9/vosk_tts-0.3.56-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-15 13:53:12",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "alphacep",
"github_project": "vosk-tts",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "vosk-tts"
}