# 常见应用配置

### ⚙️ 应用设置 <a href="#gong-ju-she-zhi" id="gong-ju-she-zhi"></a>

{% hint style="info" %}
此为 基岩AI 官方站的设置，其他站点根据下列配置参考
{% endhint %}

1. **ChatGPT Next Web**

* API Key 从下拉菜单中的 **API 设置** 中获取
* 接口地址填写 **<https://api.ai.wujiyan.cc>**

2. **OpenAI SDKs** (以Python为例)

复制

```
import openai

openai.base_url = "https://api.ai.wujiyan.cc/v1/"
openai.api_key = "<Your Api-Key>"
```

3. **One API**

* 设置 **OpenAI** 格式，代理地址为 **<https://api.ai.wujiyan.cc>**

4. **LobeChat**

* 设置中更改接入点为 **<https://api.ai.wujiyan.cc/v1>**

5. **ChatBox**

* 代理设置为 **<https://api.ai.wujiyan.cc>**

6. **GPT-Academic**

* 配置中自定义 Key 格式设置为：`CUSTOM_API_KEY_PATTERN = "sk-[a-zA-Z0-9]{64}$"`
* 配置中增加 URL 重定向：`API_URL_REDIRECT = {"https://api.openai.com/v1/chat/completions": "https://api.`ai.wujiyan.cc`/v1/chat/completions"}`
* 填写 API Key 至 `API_KEY`

7. **ChatGPT Sidebar**

* 接入点设置为 **<https://api.ai.wujiyan.cc>**

8. **EasyCode**

* 自定义服务器地址设置&#x4E3A;**<https://api.ai.wujiyan.cc/v1/chat/completions>**

9. **Fystart**

* OpenAI 接入点设置为 **wss\://api.ai.wujiyan.cc**
