All Products
Search
Document Center

Intelligent Speech Interaction:Quick start

Last Updated:Sep 07, 2026

Set up an account, services, a project, and credentials to use Intelligent Speech Interaction for speech recognition and speech synthesis through SDKs or APIs.

Procedure

The setup has six steps: prepare an account, create an AccessKey pair, activate services, manage projects, obtain a token, and integrate the service. Skip the corresponding creation steps if the account, services, or credentials are already available.

Step 1: Prepare an account

Prepare an Alibaba Cloud account. For account setup and service activation instructions, see Activate Intelligent Speech Interaction.

For collaboration, use Resource Access Management (RAM) users to assign permissions instead of sharing an Alibaba Cloud account password or AccessKey pair. For instructions, see Create a RAM user.

Grant the required permissions before a RAM user calls the service. The AliyunNLSFullAccess system policy provides full access to Intelligent Speech Interaction. Grant permissions based on actual needs. For instructions, see Grant permissions to a RAM user.

Step 2: Create an AccessKey pair

An AccessKey pair authenticates calls to Alibaba Cloud APIs. It consists of an AccessKey ID, which identifies the user, and an AccessKey secret, which verifies the identity. An existing, valid AccessKey pair can be reused.

Important

The AccessKey secret is displayed only when the pair is created. Store it securely. Do not include it in public code, logs, or client-side code.

Step 3: Activate services

Activate the required services with an Alibaba Cloud account. For instructions, see Activate Intelligent Speech Interaction.

Service edition

Description

Free trial

Some services offer a three-month free trial with two concurrent calls or two hours of recording file recognition per day. Quotas vary by service.

Commercial edition

Charges are based on actual usage after activation. Use this edition for production workloads or services that do not offer a free trial.

For trial quotas and pricing, see Billing. To continue using a service after its trial expires, see Upgrade to the commercial edition.

Step 4: Manage projects

Create a project and obtain its Appkey. The Appkey identifies the project used in service calls. For instructions, see Manage projects.

Step 5: Obtain a token

An access token authenticates calls to Intelligent Speech Interaction services. Its expiration time is specified by the ExpireTime value returned by the API. Reuse the token while it is valid. The application must obtain a new token before the current one expires; do not rely on automatic SDK refresh.

Method

When to use

Obtain a token with an SDK

Use an AccessKey pair to obtain a token through the SDK. Manage token renewal in the application.

Obtain a token through OpenAPI

No SDK is available for the programming language, or dependencies need to be managed directly.

Step 6: Integrate the service

Configure the sample with the project's Appkey and a valid token, then call an activated service. The AccessKey pair used to obtain the token must have permission to access resources under the account that owns the project.

For examples of calling services with an SDK, see Run an SDK.