mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-17 14:26:51 +00:00
Google Cloud TTS extra languages (#9753)
* Note about not documented but supported languages * Fixed anchor links * Revert * Revert * * Note about supported but not documented languages * Fixed anchor links
This commit is contained in:
parent
de15708667
commit
3fe65c53b7
@ -16,7 +16,7 @@ The `google_cloud` platform allows you to use [Google Cloud Platform](https://cl
|
|||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
To use Google Cloud Platform, you need to provide `config` directory relative path of [`API key`](#obtaining-api-key) file you are going to use. Place it under `config` folder and set `key_file` parameter in `configuration.yaml`:
|
To use Google Cloud Platform, you need to provide `config` directory relative path of [`API key`](#obtaining-an-api-key) file you are going to use. Place it under `config` folder and set `key_file` parameter in `configuration.yaml`:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
@ -74,11 +74,11 @@ The Cloud Text-to-Speech API is priced monthly based on the amount of characters
|
|||||||
|
|
||||||
{% configuration %}
|
{% configuration %}
|
||||||
key_file:
|
key_file:
|
||||||
description: "The [`API key`](#obtaining-api-key) file to use with Google Cloud Platform. If not specified `os.environ['GOOGLE_APPLICATION_CREDENTIALS']` path will be used."
|
description: "The [`API key`](#obtaining-an-api-key) file to use with Google Cloud Platform. If not specified `os.environ['GOOGLE_APPLICATION_CREDENTIALS']` path will be used."
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
language:
|
language:
|
||||||
description: "Default language of the voice, e.g. `en-US`. Supported languages, genders and voices listed [here](https://cloud.google.com/text-to-speech/docs/voices)."
|
description: "Default language of the voice, e.g. `en-US`. Supported languages, genders and voices listed [here](https://cloud.google.com/text-to-speech/docs/voices). Also there are extra not documented but supported languages (see dropdown [here](https://cloud.google.com/text-to-speech/#streaming_demo_section))."
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
default: en-US
|
default: en-US
|
||||||
|
Loading…
x
Reference in New Issue
Block a user