Text to Speech - TTS

FREEMIUM
By VIOMATIC.com
Updated 5 months ago
Media
-/10
Popularity Score
-
Latency
-
Success Rate

Text to Speech - TTS API Overview

Turns text into an mp3 file. Simple+Fast. Male+Female Voice. Many Languages. Try it!

Contact API Provider
star-blueRate

Text to Speech API

Converts a text to a mp3 file using modern speech synthesis

If you have any feature request, feel free to ask our support.

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://viomatic-com-text-to-speech-tts-v1.p.rapidapi.com/getmp3?sex=female&text=hello&language=en")
.header("X-RapidAPI-Host", "viomatic-com-text-to-speech-tts-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication