Library for working with a range of technologies for speech recognition and synthesis from Yandex (SpeechKit).
pip install pyspeechkit
Yandex SpeechKit requires an API developer key, you can get it here to use this library.
from pyspeechkit import TTS
oauth_token = 'your-oauth-token'
folder_id = 'folder-id'
tts = TTS(oauth_token, folder_id)
tts.synthesize(
text='Hello World. How are you?'
)
tts.save_voice('path/voice.ogg')