Activate SDK licenses

更新时间:
复制 MD 格式

This topic describes how to enable the Standard or Premium Edition of Offline Text-to-Speech by purchasing, configuring, and activating the corresponding SDK licenses.

Background information

Offline Text-to-Speech provides a commercial SDK in two editions: Standard Edition and Premium Edition. You can choose the edition that best suits your use case and device performance. The Premium Edition offers higher-quality audio. However, if your device has lower performance, such as a CPU clock speed below 1.6 GHz, we recommend using the Standard Edition.

(Optional) Step 1: Purchase the required SDK licenses

Offline Text-to-Speech provides five free trial licenses for the Standard Edition and five for the Premium Edition. If you require more licenses for commercial use, follow this step. If you only want to use the trial licenses, you can skip this step.

  1. Log in to the Intelligent Speech Interaction console.

  2. In the left-side navigation pane, click Service Management and Activation. On the on-device solution tab, select the commercial SDK you want to purchase, and then click Purchase resource package on the right.

  3. On the purchase page, select the specification type for the commercial SDK again, and set the quantity. After confirming the cost, click Buy Now in the lower-right corner.

    You can select Standard Edition Offline Text-to-Speech SDK or Premium Edition Offline Text-to-Speech SDK as the specification type.

Important
  • When you purchase a commercial edition of the Offline Text-to-Speech SDK, the corresponding trial licenses become invalid. For example, if you purchase two Premium Edition SDK licenses, you will have two Premium Edition SDK licenses available, and the five original trial licenses become invalid. The five trial licenses for the Standard Edition will remain valid.

  • The commercial Offline Text-to-Speech SDK comes with a perpetual license.

  • You cannot use the Standard and Premium editions in the same project (AppKey) simultaneously. However, a user can purchase both editions and use them in separate projects.

  • For information about billing for the commercial SDK, see Billing.

Step 2: Create an Offline Text-to-Speech project

  1. Log in to the Intelligent Speech Interaction console.

  2. In the left-side navigation pane, click All Projects.

  3. On the My All Projects page, click Create Project in the upper-right corner.

  4. In the Create Project dialog box, enter a Project Name and set the Project Type to on-device solution. Based on the audio quality you need, select Standard Edition Offline Text-to-Speech SDK or Premium Edition Offline Text-to-Speech SDK as the SDK type. You can also provide a Project Scenario Description. Then, click OK.

Step 3: Configure the SDK

  1. On the My All Projects page, find the project you created in Step 2 and click Project Function Configuration in the Actions column.

  2. Download the SDK for testing.

  3. Modify the application quota.

    Note

    The application quota is the maximum number of licenses a user can use across projects (AppKeys). For example, a user purchases 500 licenses for the Standard Edition Offline Text-to-Speech SDK. The remaining quota is displayed as SDK Remaining Quota/Total Quota: 500/500. If this user has two projects that use the Standard Edition Offline Text-to-Speech SDK and assigns 300 licenses to Project 1, then a maximum of 200 licenses can be assigned to Project 2.

    On the project function configuration page, find the application quota field and click the Modify link to set the number of licenses for this project (for example, 1). The page also displays the SDK Type (for example, Standard Edition Offline Text-to-Speech SDK), the SDK Remaining Quota/Total Quota, and the used quota. In the Feature Experience section below, you can listen to different voices for various scenarios, such as General, Literary, Customer Service, Child, and English.

  4. In the Feature Experience section, listen to the available voices and download the corresponding voice package from the Voice Package List. For instructions on using the voice package, refer to the code examples in the SDK.

Step 4: Activate the SDK

To activate and initialize the SDK, refer to the Offline Text-to-Speech API reference.

Important

Each device consumes one SDK license. For details, see Quota consumption rules.

(Optional) Step 5: Grant RAM users device registration permissions

When you use a RAM user to call the Offline Text-to-Speech service, you must grant the RAM user additional device registration permissions. For more information, see Example 2 in Scenarios and examples of common custom policies.

For more information about RAM users, see What is Access Control.