Skip to content

Ivona Cloud (via Amazon services) client library for Node

Notifications You must be signed in to change notification settings

pablosbrain/ivona-node

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node IVONA

Node client library for IVONA Speech Cloud API. Yes, this is up-to-date and uses the most recent AWS Signature 4 scheme (thanks to aws4). All you need is your Ivona access and secret (the one only given to you once upon creating it) keys.

Supported API Calls

  • CreateSpeech
  • ListVoices

Installation

npm install ivona-node

Documentation

No current documentation, as the entire extent of the API can be viewed below.

Example usage

    var ivona = new Ivona({
        accessKey: 'IVONA_ACCESS_KEY',
        secretKey: 'IVONA_SECRET_KEY'
    });

    ivona.listVoices()
        .on('complete', function(voices) {
            console.log(voices);
        });

    //  ivona.createVoice(text, config)
    //  [string] text - the text to be spoken
    //  [object] config (optional) - override Ivona request via 'body' value
    ivona.createVoice('This is the text that will be spoken.', {
        body: {
            voice: {
                name: 'Salli',
                language: 'en-US',
                gender: 'Female'
            }
        }
    }).pipe(fs.createWriteStream('text.mp3'));

With Proxy Support (via @kuzzmi)

    var ivona = new Ivona({
        accessKey: 'IVONA_ACCESS_KEY',
        secretKey: 'IVONA_SECRET_KEY',
        proxy: {
            host: '0.0.0.0',
            port: 12345
        }
    });

Contributors

  • @kuzzmi

About

Ivona Cloud (via Amazon services) client library for Node

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%