Baidu
The baidu
text-to-speech platform uses Baidu TTS engine
Configuration
To get started, add the following lines to your configuration.yaml
The configuration.yaml file is the main configuration file for Home Assistant. It lists the integrations to be loaded and their specific configurations. In some cases, the configuration needs to be edited manually directly in the configuration.yaml file. Most integrations can be configured in the UI. [Learn more] file.
After changing the configuration.yaml
The configuration.yaml file is the main configuration file for Home Assistant. It lists the integrations to be loaded and their specific configurations. In some cases, the configuration needs to be edited manually directly in the configuration.yaml file. Most integrations can be configured in the UI. [Learn more] file, restart Home Assistant to apply the changes. The integration is now shown on the integrations page under Settings > Devices & services. Its entities are listed on the integration card itself and on the Entities tab.
#Example configuration.yaml entry
tts:
- platform: baidu
app_id: YOUR_APPID
api_key: YOUR_APIKEY
secret_key: YOUR_SECRETKEY
At the moment, zh
is the only supported language and therefore the default value.