Nutritious Pumpkin Meal

    yaspeech

    0.0.2 • Public • Published

    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.

    Install

    npm i yaspeech

    DownloadsWeekly Downloads

    1

    Version

    0.0.2

    License

    MIT

    Last publish

    Collaborators

    • bifot