# 華為雲

一、到[華為雲](https://auth.huaweicloud.com/authui/login)創建帳號登入

二、點擊[此連結](https://console.huaweicloud.com/modelarts/?region=cn-southwest-2#/model-studio/homepage)，進入MaaS控制台

三、授權

<details>

<summary>授權步驟（已授權跳過）</summary>

1. 進入(二)嘅連結頁面後，根據提示進入授權頁面(點擊IAM子用戶→新增委託→普通用戶)

![](https://2742912793-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Ut5BptC3t8CtSU1UWpM%2Fuploads%2Fgit-blob-2f463409ce93f25a89902e6c8f519457d42c8baa%2Fimage%20\(49\).png?alt=media)

2. 點擊創建後重新返回(二)處連結頁面
3. 會提示訪問權限不足，點擊提示入面嘅"點擊此處"
4. 追加已有授權並確定

![](https://2742912793-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Ut5BptC3t8CtSU1UWpM%2Fuploads%2Fgit-blob-263618a154ba83ad63acc9c658561f1936227331%2Fimage%20\(50\).png?alt=media)

注意：呢個方法適合新手，唔使睇太多內容，只要跟住提示點就得，如果你可以一次性授權成功就用你自己嘅方法。

</details>

四、點擊側欄鑑權管理，創建API Key（密鑰）並複製

<figure><img src="https://2742912793-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Ut5BptC3t8CtSU1UWpM%2Fuploads%2Fgit-blob-2672340643b2a9ef33eab076fe56be201a679d34%2F%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_20250214034650.png?alt=media" alt=""><figcaption></figcaption></figure>

然後喺CherryStudio入面創建新服務商

<figure><img src="https://2742912793-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Ut5BptC3t8CtSU1UWpM%2Fuploads%2Fgit-blob-60e007eca5ef4773bf68f85b811574d46f7c6d7d%2Fimage%20(1)%20(2).png?alt=media" alt="" width="300"><figcaption></figcaption></figure>

創建完成後填入密鑰

五、點擊側欄模型部署，全部領取

<figure><img src="https://2742912793-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Ut5BptC3t8CtSU1UWpM%2Fuploads%2Fgit-blob-bafa420ba6bee9daa4a418b25a2d2a92266ad4e4%2F%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_20250214034751.png?alt=media" alt=""><figcaption></figcaption></figure>

六、點擊調用

<figure><img src="https://2742912793-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Ut5BptC3t8CtSU1UWpM%2Fuploads%2Fgit-blob-fe1438fd0db72a19558c6382f76935f7d003f445%2Fimage%20(1)%20(2)%20(1).png?alt=media" alt=""><figcaption></figcaption></figure>

把①處嘅地址複製，貼到CherryStudio嘅服務商地址入面並喺結尾加上“#”號

並喺結尾加上“#”號

並喺結尾加上“#”號

並喺結尾加上“#”號

並喺結尾加上“#”號

點解要加“#”號[睇呢度](https://docs.cherry-ai.com/cherrystudio/preview/settings/providers#api-di-zhi)

> 當然亦可以唔去睇，直接按教學操作就得；
>
> 亦可以用刪除v1/chat/completions嘅方法填寫，只要識填就按自己方法填，唔識填就務必跟住教學操作。

<figure><img src="https://2742912793-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Ut5BptC3t8CtSU1UWpM%2Fuploads%2Fgit-blob-ee6b8bc612e627a00f71613682dbfea52d8bdeda%2Fimage%20(2)%20(3).png?alt=media" alt=""><figcaption></figcaption></figure>

然後把②處模型名稱複製，去CherryStudio入面撳“+添加”掣新建模型

<figure><img src="https://2742912793-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Ut5BptC3t8CtSU1UWpM%2Fuploads%2Fgit-blob-e57b8d8948f93607f0300bdc8777ef7525b7b23d%2Fimage%20(4)%20(3).png?alt=media" alt=""><figcaption></figcaption></figure>

輸入模型名稱，唔好加料、唔好帶引號，示例點寫就點抄。

<figure><img src="https://2742912793-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Ut5BptC3t8CtSU1UWpM%2Fuploads%2Fgit-blob-e3e55cc0068d8424cf221198477826aa5621dda8%2Fimage%20(3)%20(3).png?alt=media" alt=""><figcaption></figcaption></figure>

撳添加模型掣就可以添加完成。

{% hint style="info" %}
喺華為雲入面因為每個模型嘅地址唔同，所以每個模型都需要新建一個服務商，按以上步驟重覆操作就得。
{% endhint %}
