From Bright Pattern Documentation
Jump to: navigation, search
This page contains changes which are not marked for translation.

• 5.3

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

  1. In Contact Center Administrator > Call Center Configuration > Integration Accounts, add a new Text to Speech integration account.

  2. Select Watson as the account type.

    Select the type of TTS integration account


  3. The Text to Speech integration account properties will open.

    Watson IBM Text to Speech integration account properties


  4. The URL will be filled in for you as: https://stream.watsonplatform.net/text-to-speech/api/v1/

  5. Set the API Key, which is found on IBM Cloud in your Text to Speech service credentials.

    IBM Text to Speech credentials


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

  1. In your web browser, go to https://stream.watsonplatform.net/text-to-speech/api/v1/voices

  2. Authenticate with your IBM Text to Speech credentials:
    1. Username - apikey
    2. Password - The same Text to Speech API key as set in the integration account properties

      Watson-TTS-List-Voices-54.PNG


  3. A list of known models (voices) will be shown, along with the JSON response parameters for each voice.

    Example of known models


    Example JSON response parameters of known models


  4. You may optionally click the URLs for the individual models to get more information. For example:

    Example information about a specific model


Step 3: Load Voices

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

  2. When the voices are loaded, a message will display the date they were added: “Loaded on XX/XX/XX.”

    Example of voices loaded on <date>


  3. Click Apply to save your changes.


< Previous