$ git clone --recursive https://github.com/TinkoffCreditSystems/voicekit-examples.git
$ cd voicekit-examples
Set VOICEKIT_API_KEY
and VOICEKIT_SECRET_KEY
environment variables to your API key and secret key to authenticate
your requests to VoiceKit:
export VOICEKIT_API_KEY="Your API key"
export VOICEKIT_SECRET_KEY="Your secret key"
You may get scope tinkoff.cloud.tts
is not supported error if your API key does not
support speech synthesis. Write us a letter at https://voicekit.tinkoff.ru to enable
speech synthesis for you API key.
Follow language specific instructions in the related folder in repository root. E.g. for Python scripts, open
python/README.md
. Here is a list of links to instructions for supported languages:
If you can't find your favorite language here, don't worry: consult gRPC docs for a list of its supported languages and when you are ready dive into Protobuf definitions inside apis/
folder.
Use stt.tinkoff.ru:443
for speech recognition and tts.tinkoff.ru:443
for speech synthesis. Unencrypted endpoints (with port 80
) are not available.