/ aliyun.md
aliyun.md
 1  ## Prerequisites
 2  You need to have an [Alibaba Cloud](https://www.aliyun.com) account and complete real-name verification. Most services have free quotas.
 3  
 4  ## Obtaining Alibaba Cloud `access_key_id` and `access_key_secret`
 5  1. Go to the [Alibaba Cloud AccessKey management page](https://ram.console.aliyun.com/profile/access-keys).
 6  2. Click on "Create AccessKey." If needed, select the usage method as "Used in local development environment."
 7  ![Alibaba Cloud access key](/docs/images/aliyun_accesskey_1.png)
 8  3. Keep it safe; it's best to copy it to a local file for storage.
 9  
10  ## Activating Alibaba Cloud Voice Service
11  1. Go to the [Alibaba Cloud Voice Service management page](https://nls-portal.console.aliyun.com/applist). You need to activate the service on your first visit.
12  2. Click on "Create Project."
13  ![Alibaba Cloud speech](/docs/images/aliyun_speech_1.png)
14  3. Select features and activate them.
15  ![Alibaba Cloud speech](/docs/images/aliyun_speech_2.png)
16  4. The "Streaming Text-to-Speech (CosyVoice Large Model)" needs to be upgraded to the commercial version; other services can use the free trial version.
17  ![Alibaba Cloud speech](/docs/images/aliyun_speech_3.png)
18  5. Simply copy the app key.
19  ![Alibaba Cloud speech](/docs/images/aliyun_speech_4.png)
20  
21  ## Activating Alibaba Cloud OSS Service
22  1. Go to the [Alibaba Cloud Object Storage Service Console](https://oss.console.aliyun.com/overview). You need to activate the service on your first visit.
23  2. Select the Bucket list on the left, then click "Create."
24  ![Alibaba Cloud OSS](/docs/images/aliyun_oss_1.png)
25  3. Choose "Quick Create," fill in a compliant Bucket name, and select the **Shanghai** region to complete the creation (the name you enter here will be the value for the configuration item `aliyun.oss.bucket`).
26  ![Alibaba Cloud OSS](/docs/images/aliyun_oss_2.png)
27  4. After creation, enter the Bucket.
28  ![Alibaba Cloud OSS](/docs/images/aliyun_oss_3.png)
29  5. Turn off the "Block Public Access" switch and set the read and write permissions to "Public Read."
30  ![Alibaba Cloud OSS](/docs/images/aliyun_oss_4.png)
31  ![Alibaba Cloud OSS](/docs/images/aliyun_oss_5.png)