Speech synthesis
Written by
Updated at December 14, 2023
Available voices
SpeechKit Hybrid offers premium voices and Brand Voice.
Getting started
-
Install Docker Engine
and Docker Compose on your server. -
Authenticating in Yandex Container Registry.
For the recommended hardware configuration, see System requirements.
Installing and setting up speech synthesis
-
Place the
docker-compose.yaml
file you received from the SpeechKit team in a folder on your server. -
Edit
docker-compose.yaml
: replaceN
with your number of CPU threads in theCPU_THREADS_NUM: N
parameter.In Linux, you can find out the number of threads on your server using the following command:
cat /proc/cpuinfo | grep -E "processor.+:" | wc -l
-
Download all the required Docker containers:
docker-compose pull
-
Start SpeechKit:
docker-compose up -d
-
Wait until the service loads
docker logs tts-server tts-server | INFO: 2021-09-22 15:36:02.765 +0000 server_base.cpp:144 Load finished. Ready to server requests on 0.0.0.0:17001
The speech synthesis service will be available on TCP port 9080.