The goal of this API is to read a text. The API will return the link of the audio which is a .wav
- PHP 7.1
- Composer
-
Clone repository and use public folder as webroot
-
Install dependencies
composer install
-
Drop your IBM credentials in resources/credentials/surirobotTTS.json or use the suri-downloader:
cp .env.example .env
nano .env
-
Fill the login & password fields.
-
tools/get-credentials.sh
-
Make storage/ and public/storage/ writeable by your web server.
This project uses Watson-TextToSpeech from IBM.
This service uses the Lumen framework The Lumen framework is open-sourced software licensed under the MIT license