yaspeech
v0.0.2
Published
Module for Yandex Speech API.
Downloads
6
Readme
Ya Speech
Module for Yandex Speech API.
Install
$ npm i yaspeech --save
Usage
const Speech = require('yaspeech')
const api = new Speech(process.env.speech_token)
api.speech({
filename: 'example',
text: 'Hello, world!',
format: 'mp3',
lang: 'en-US',
speaker: 'oksana',
speed: 0.7,
emotion: 'evil'
}).then(file => {
console.log(file) // => 'example.mp3'
})
License
MIT.