From Bright Pattern Documentation
(Created page with "<translate> = How to Load Voices from IBM Cloud Text to Speech API = An IBM Cloud Text to Speech integration account uses your IBM Cloud Text to Speech service credentials to...") |
(No difference)
|
Revision as of 16:56, 8 October 2019
How to Load Voices from IBM Cloud Text to Speech API
An IBM Cloud Text to Speech integration account uses your IBM Cloud Text to Speech service credentials to connect Bright Pattern Contact Center to IBM's TTS engine. Once configured, integration lets you create voice prompts in numerous supported languages to automate bot responses.
Configuring a such an integration account requires that you get a list of available voices from IBM using the list voices API method.
This article describes how to do just that and load voices to your Watson Text to Speech integration account.
Procedure
Step 1: Go to Integration Account Properties in Contact Center Administrator
- In Contact Center Administrator > Call Center Configuration > Integration Accounts, add a new Text to Speech integration account.
- Select Watson as the account type.
- The Text to Speech integration account properties will open.
- The URL will be filled in for you as: https://stream.watsonplatform.net/text-to-speech/api/v1/
- Set the API Key, which is found on IBM Cloud in your Text to Speech service credentials.
- The Load Voices property is grayed out and you cannot click it until you proceed with Step 2.
Step 2: List Voices in IBM Cloud
This step uses IBM Cloud's List Voices and Get Voices API methods.
- In your web browser, go to https://stream.watsonplatform.net/text-to-speech/api/v1/voices
- Authenticate with your IBM Text to Speech credentials:
- Username - apikey
- Password - The same Text to Speech API key as set in the integration account properties
- A list of known models (voices) will be shown, along with the JSON response parameters for each voice.
- You may optionally click the URLs for the individual models to get more information. For example:
Step 3: Load Voices
- Go back to the Contact Center Administrator application, to the Watson TTS integration account properties, and click Load Voices. This may take a few minutes. If the voices field still says "empty" after clicking Load Voices, wait a few more minutes and try again.
- When the voices are loaded, a message will display the date they were added: “Loaded on XX/XX/XX.”
- Click Apply to save your changes.