Integration to use the reverse engineered TikTok speech API by Weilbyte.
As @Weilbyte work is based on the following repository, I want to attribute them here as well.
https://github.com/oscie57/tiktok-voice
Visit their page and appreciate their work as well!
This integration will set up the following platforms.
| Platform | Description |
|---|---|
tts |
Generate a audio file based on given input text to play over speakers. |
There are two methods to install this custom_integration.
As this is a HACS component, you can simply add this repository philipp-luettecke/tiktoktts as custom repository to HACS and afterwards search for the TikTokTTS Integration. Now you can install it.
- Add
https://github.com/philipp-luettecke/tiktokttsto HACS as custom repository - Install
TikTokTTScomponent - Restart Home Assistant
- Now add
tiktokttsas platform in yourconfiguration.yaml
tts:
- platform: tiktoktts- Using the tool of choice open the directory (folder) for your HA configuration (where you find
configuration.yaml). - If you do not have a
custom_componentsdirectory (folder) there, you need to create it. - In the
custom_componentsdirectory (folder) create a new folder calledtiktoktts. - Download all the files from the
custom_components/tiktoktts/directory (folder) in this repository. - Place the files you downloaded in the new directory (folder) you created.
- Restart Home Assistant
- Now add
tiktokttsas platform in yourconfiguration.yaml
tts:
- platform: tiktokttsAfter installing the integration you will be presented with a new Service tiktoktts_say.
You can now call this service and add a option voice to select one of the voices available in custom_component/tiktoktts/const.py.
I'm trying to keep the list equivalent to the voices available on the original tiktok-voice rpositories Wiki page.
service: tts.tiktoktts_say
data:
cache: false
message: Sample Text
entity_id: media_player.<entity_id>
options:
voice: en_us_001If you want to contribute to this please read the Contribution guidelines