It’s easy to use the script directly from code.responsivevoice.org for non-commercial licenses (https://responsivevoice.org/license/). If you want to use ResponsiveVoice for a commercial project please see the pricing page (https://responsivevoice.com/pricing/).
To get started with the Developer API follow these instructions.
Add this code to your webpage:
<script src="https://code.responsivevoice.org/responsivevoice.js"></script>
Then use it on the page
<input onclick="responsiveVoice.speak('Hello World');" type="button" value="Play" />
Feel free to link to the files at code.responsivevoice.org. We maintain a fair usage policy on bandwidth, please contact us if you believe your usage may be high.
LATEST STABLE
The latest stable version of ResponsiveVoice is served from the root of code.responsivevoice.org:
https://code.responsivevoice.org/responsivevoice.js (minified)
https://code.responsivevoice.org/responsivevoice.src.js (readable src)
SPECIFIC VERSION
You’ll find a specific ResponsiveVoice version by appending the version number to the root level:
https://code.responsivevoice.org/1.3.3/responsivevoice.js (minified)
TRUNCATED VERSIONS
By truncating the version number you can load the latest stable release within the major version number. For example, 1.3 points to the latest stable 1.3.x, but when 1.4 or 2.0 are released, you will still load the latest release of 1.3.
https://code.responsivevoice.org/1.3/responsivevoice.js (minified)
API DOCUMENTATION
https://responsivevoice.org/api/
SDK
Text to Speech Play Button: https://responsivevoice.org/text-to-speech-sdk/text-to-speech-play-button/
Text to Speech Menus and Links: https://responsivevoice.org/text-to-speech-sdk/text-to-speech-menus/
Text to Speech Highlighted Selected Text: https://responsivevoice.org/text-to-speech-sdk/text-to-speech-highlighted-selected-text/
Automatically Speak Text when Webpage Displays: https://responsivevoice.org/text-to-speech-sdk/automatically-speak-text-when-webpage-displays/
Text to Speech Widget: https://responsivevoice.org/text-to-speech-sdk/text-to-speech-widget/
Text to Speech Background Audio: https://responsivevoice.org/text-to-speech-sdk/text-to-speech-background-audio/
Text to Speech Automatically Detect Language: https://responsivevoice.org/text-to-speech-sdk/text-to-speech-automatically-detect-language/
Text to Speech Exit Intent Message: https://responsivevoice.org/text-to-speech-sdk/text-to-speech-exit-intent-message/
Using Callbacks: https://responsivevoice.org/text-to-speech-sdk/using-callbacks/