一、阿里云百炼创建免费api秘钥
地址:阿里云登录 - 欢迎登录阿里云,安全稳定的云计算服务平台
![](https://i-blog.csdnimg.cn/direct/3b0d60677338447e806b89f33606aee5.png)
![](https://i-blog.csdnimg.cn/direct/67c70a02586d4e1294b06a8160c1ed96.png)
![](https://i-blog.csdnimg.cn/direct/af2934c3751a4d30810dd694fb2c613f.png)
![](https://i-blog.csdnimg.cn/direct/c34d5b71fd5443f0b1e07fc9523e8dd5.png)
二、Chatbox自定义模型提供方
1、设置
![](https://i-blog.csdnimg.cn/direct/f489a3a56c724f609bbb7a35c56a9931.png)
2、添加
![](https://i-blog.csdnimg.cn/direct/4ba41cd61daf40ecb0060503b41ad1cd.png)
3、配置
![](https://i-blog.csdnimg.cn/direct/4368058b46c54c9381e629d2802f5c0f.png)
API模式:
OpenAI API兼容(默认不需要修改)
名称:
阿里云(自定义)
API域名 :
bash
https://dashscope.aliyuncs.com/compatible-mode/v1
API路径:
/chat/completions(默认不需要修改)
API秘钥:
复制粘贴
![](https://i-blog.csdnimg.cn/direct/c7f726f07171428791e58632ed314798.png)
模型:
复制粘贴
bash
deepseek-r1-distill-qwen-7b
![](https://i-blog.csdnimg.cn/direct/7f402bf1e8eb4bf0bd1322f42dc060db.png)
点击保存
![](https://i-blog.csdnimg.cn/direct/8075cfe479184be58a343c57b84e822e.png)
三、新建对话
![](https://i-blog.csdnimg.cn/direct/482713adcecf4b03b1232391c0207de2.png)
![](https://i-blog.csdnimg.cn/direct/d83c14e94ec547669abe6e0a7af29a04.png)
![](https://i-blog.csdnimg.cn/direct/ae6ddaed34e34f7ba9754a49a50440a2.png)
四、对话演示
![](https://i-blog.csdnimg.cn/direct/cb2fde0e31014c56956bce3618c90db8.png)