Voice RSS Logo
Voice RSS Home Voice RSS Contacts Voice RSS Site Map Login  

Follow VoiceRSS on LinkedIn Follow VoiceRSS on Facebook Follow VoiceRSS on Twitter  

Text-to-speech JavaScript SDK

The Voice RSS Text-to-Speech JavaScript SDK wraps Voice RSS Text-to-Speech API.

The Voice RSS Text-to-Speech JavaScript SDKs will help to make integration with our Text-to-Speech API faster and easer.

If you have any questions or suggestions please feel free to contact us via e-mail.


To integrate an application with the Voice RSS Text-to-Speech JavaScript SDK it needs to add reference to the file voicerss-tts.min.js.

Convert text-to-speech

The following example demonstraits asynchronous converting text-to-speech and plays it in an internet browser:

<!DOCTYPE html>
    <meta charset='utf-8' />
    <script src='voicerss-tts.min.js'></script>
            key: '<API key>',
            src: 'Hello, world!',
            hl: 'en-us',
            r: 0, 
            c: 'mp3',
            f: '44khz_16bit_stereo',
            ssml: false