From Bright Pattern Documentation
Jump to: navigation, search
Other languages:
English • ‎日本語
• 5.19 • 5.3 • 5.8

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. Set the URL of your IBM Text to Speech service instance URL. You can find the URL in your Text to Speech service credentials. For example: https://api.us-south.text-to-speech.watson.cloud.ibm.com/instances/0123a4c0-5d67-8cec-9c10-a0cdbb1234b5

  5. Set the API Key, which is found on IBM Cloud in your Text to Speech service 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://<your-ibm-tts-instance-url>/v1/voices. For example: https://api.us-south.text-to-speech.watson.cloud.ibm.com/instances/0123a4c0-5d67-8cec-9c10-a0cdbb1234b5/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

      TTS-Watson-Load-Voices-5312.PNG


  3. A list of known models (voices) will be shown in JSON.

  4. You may optionally select the URLs for the individual models and open them in your browser to get more information.

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 | Next >