Skip to content

Commit b96655b

Browse files
lupin-de-midpvizeli
authored andcommitted
Added yandex tts doc (home-assistant#1775)
1 parent e02aa42 commit b96655b

File tree

2 files changed

+46
-0
lines changed

2 files changed

+46
-0
lines changed
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
layout: page
3+
title: "Yandex TTS"
4+
description: "Instructions how to setup Yandex SpeechKit TTS with Home Assistant."
5+
date: 2017-01-05 03:04
6+
sidebar: true
7+
comments: false
8+
sharing: true
9+
footer: true
10+
logo: yandex.png
11+
ha_category: Text-to-speech
12+
ha_release: 0.36
13+
---
14+
15+
The `yandextts` text-to-speech platform uses [Yandex SpeechKit](https://tech.yandex.com/speechkit/) Text-to-Speech engine to read a text with natural sounding voices.
16+
17+
To enable text-to-speech with Yandex SpeechKit, add the following lines to your `configuration.yaml`:
18+
19+
```yaml
20+
# Example configuration.yaml entry
21+
tts:
22+
- platform: yandextts
23+
api_key: 'XXXXXXXX'
24+
```
25+
26+
Configuration variables:
27+
28+
- **api_key** (*Requered*): API Key for use this service.
29+
- **language** (*Optional*): The language to use. Defaults to `en-us`. Supported en-EN, ru-RU, uk-UK, tr-TR
30+
- **codec** (*Optional*): Audo codec. Default is 'mp3'. Supported us mp3, wav, opus.
31+
- **voice** (*Optional*): Speaker voice. Default is 'zahar'. Supported female voices are jane, oksana, alyss, omazh and male voices are zahar and ermil
32+
33+
34+
See on api [documentation](https://tech.yandex.com/speechkit/cloud/doc/dg/concepts/speechkit-dg-tts-docpage/) for details. N.B. english version of documentation is outdated. So you could receive api key [here](https://developer.tech.yandex.ru/)
35+
36+
A full configuration sample:
37+
38+
```yaml
39+
# Example configuration.yaml entry
40+
tts:
41+
- platform: yandextts
42+
api_key: 'XXXXX'
43+
language: 'ru-RU'
44+
codec: mp3
45+
voice: oksana
46+
```
5.43 KB
Loading

0 commit comments

Comments
 (0)