Because the API provided by Ivona is huuuge and in most cases only small pat of it is utilized. Also, node-ivona makes creating apps like these extremely simple.
What I wanted to get is a simple service returning urls to audio files with answers generated by Sulik.
- go to
https://myapp.dev/tts/<uri encoded text goes here>
- response will be a 302 redirect to MP3 file with generated speech.
- Use ES6 Harmony compatible version of NodeJS
- Set up SSL certificates (find out how to create a self-signed certificate here)
IVONA_API_KEY=" ... "
IVONA_LOGIN_EMAIL=" ... "
SSL_KEY=" ... "
SSL_CERT=" ... "
# optional
PORT=3003
- npm install
- npm start
[ ] Add JSON POST API w. very simple configuration settings (voice, returned format)