1
0
Fork 0
1Panel-Appstore/apps/glm-free-api/README.md

31 lines
1.6 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

### 工具介绍
🚀 智谱清言ChatGLM-4-Plus大模型逆向API【特长超强智能体】支持高速流式输出、支持智能体对话、支持多轮对话、支持沉思模型、支持Zero思考推理模型、支持视频生成、支持AI绘图、支持联网搜索、支持长文档解读、支持代码调用、支持图像解析零配置部署多路token支持自动清理会话痕迹仅供测试如需商用请前往官方开放平台。
### 风险说明
- 逆向API是不稳定的建议前往智谱AI官方 https://open.bigmodel.cn/ 付费使用API避免封禁的风险。
- 本组织和个人不接受任何资金捐助和交易,此项目是纯粹研究交流学习性质!
- 仅限自用,禁止对外提供服务或商用,避免对官方造成服务压力,否则风险自担!
### 使用说明
从 [智谱清言](https://chatglm.cn/) 获取refresh_token
进入智谱清言随便发起一个对话然后F12打开开发者工具从Application > Cookies中找到chatglm_refresh_token的值复制这个值填写到Lobechat或者CherryStudio等工具中作为API密钥API地址是你部署应用的IP加端口例如:`https://192.168.1.105:8001/v1/chat/completions`,注意某些工具只需要填写`https://192.168.1.105:8001/`即可。
![获取chatglm_refresh_token](https://cdn.jsdelivr.net/gh/LLM-Red-Team/glm-free-api@master/doc/example-0.png)
### 多账号接入
目前同个账号同时只能有*一路*输出你可以通过提供多个账号的userToken value并使用`,`拼接提供:
```
API密钥TOKEN1,TOKEN2,TOKEN3
```
每次请求服务会从中挑选一个。