# 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.9-multi -s 2 --input "Привет мир!" --output out.wav
```
### API
```
from vosk_tts import Model, Synth
model = Model(model_name="vosk-model-tts-ru-0.9-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.9-multi](https://alphacephei.com/vosk/models/vosk-model-tts-ru-0.9-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.9-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.9-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.9-multi](https://alphacephei.com/vosk/models/vosk-model-tts-ru-0.9-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",
"bugtrack_url": null,
"license": null,
"summary": "Offline text to speech synthesis",
"version": "0.3.61",
"project_urls": {
"Homepage": "https://github.com/alphacep/vosk-tts"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b3631bbf380da363422c14f6b613dc1ab0d50eae867785fde23c23c805d8606b",
"md5": "afa4ab4a3808e5dee50b982abd1835ff",
"sha256": "7dfb17d933b9de65e0a87a215c70793892157cc35acbee9b67cc4e78f3bc40b5"
},
"downloads": -1,
"filename": "vosk_tts-0.3.61-py3-none-any.whl",
"has_sig": false,
"md5_digest": "afa4ab4a3808e5dee50b982abd1835ff",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 12306,
"upload_time": "2025-08-08T00:25:50",
"upload_time_iso_8601": "2025-08-08T00:25:50.282163Z",
"url": "https://files.pythonhosted.org/packages/b3/63/1bbf380da363422c14f6b613dc1ab0d50eae867785fde23c23c805d8606b/vosk_tts-0.3.61-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-08 00:25:50",
"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"
}