Skip to content
This repository has been archived by the owner on May 7, 2018. It is now read-only.

suricats/surirobot-api-text-to-speech

Repository files navigation

Text To speech API

Build Status

The goal of this API is to read a text. The API will return the link of the audio which is a .wav

Code Example

Requirements

  • PHP 7.1
  • Composer

Installation

  • 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.

API Reference

This project uses Watson-TextToSpeech from IBM.

License

This service uses the Lumen framework The Lumen framework is open-sourced software licensed under the MIT license