infobot-sber-tts
Node.JS library for Sber SmartSpeech service.
Library can synchronously synthesize speech from text.
To work with this library you need to obtain from Sber SmartSpeech:
Please check this page for information about credentials.
Audio file synthesize example:
var SberTTS = require('infobot-sber-tts');
var fs = require('fs');
var clientID = '*';
var clientSecret = '*';
var tts = new SberTTS(clientID, clientSecret);
tts.generateAudio('Привет, мир!', {
format: 'opus',
voice: 'Nec_24000'
}).then(res => {
fs.writeFileSync('test.opus', res);
}).catch(err => console.log(err));
Provided by INFOBOT LLC. under Apache 2.0 license.