RapidAPI logo

Sign Up

Log In

IBMWatsonTTS

FREE
By sapirlasry1
Updated 2 months ago
Communication
-/10
Popularity Score
-
Latency
-
Success Rate

IBMWatsonTTS API Documentation

Convert text to natural-sounding speech.

View API Details

Supercharge your App

Discover and connect to thousands of APIs in the world's largest API Hub
POSTaddSingleWordToVoiceModel
POSTaddWordsToVoiceModel
POSTcreateVoiceModel
POSTdeleteVoiceModel
POSTdeleteVoiceModelSingleWord
POSTgetPronunciation
POSTgetSingleVoice
POSTgetSingleVoiceModel
POSTgetVoiceModelSingleWord
POSTgetVoiceModelWords
POSTgetVoiceModels
POSTgetVoices
POSTsynthesizesTextToAudio
POSTupdateVoiceModel
POSTaddSingleWordToVoiceModel

Adds a single word and its translation to the specified custom voice model. Adding a new translation for a word that already exists in a custom model overwrites the word's existing translation.

Sign up to test this endpoint
Log in
Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
wordSTRING
REQUIREDThe word that is to be added to the custom voice model.
passwordCREDENTIALS
REQUIREDpassword obtained from IBM Bluemix.
usernameCREDENTIALS
REQUIREDusername obtained from IBM Bluemix.
customizationIdSTRING
REQUIREDThe GUID of the custom voice model that is to be updated. You must make the request with the service credentials of the model's owner.
translationSTRING
REQUIREDThe phonetic or sounds-like translation for the word. A phonetic translation is based on the SSML format for representing the phonetic string of a word either as an IPA or IBM SPR translation. A sounds-like translation consists of one or more words that, when combined, sound like the word.
Request Snippet
unirest.post("https://IBMWatsonTTSsapirlasry1V1.p.rapidapi.com/addSingleWordToVoiceModel")
.header("X-RapidAPI-Host", "undefined")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response

loading...

Log inSign up

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://IBMWatsonTTSsapirlasry1V1.p.rapidapi.com/addSingleWordToVoiceModel")
.header("X-RapidAPI-Host", "undefined")
.header("X-RapidAPI-Key", "undefined")
.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