Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 828 Bytes

File metadata and controls

35 lines (26 loc) · 828 Bytes

pyspeechkit

Library for working with a range of technologies for speech recognition and synthesis from Yandex (SpeechKit).

PyPI Downloads GitHub

Installation

pip install pyspeechkit

Usage example

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')