1
0

complete readme

This commit is contained in:
root 2023-05-27 15:44:23 +08:00
parent adb26f3829
commit 1d6d7a3ce3
2 changed files with 26 additions and 0 deletions

View File

@ -23,6 +23,19 @@ Auto renew access tokens after 20 days
Caution! please use unblocked ip for authentication, first login to `https://chat.openai.com/` to check ip availability if you can.
### API Authentication (Optional)
Custom API keys for this fake API, just like OpenAI api
`api_keys.txt` - A list of API keys separated by new line
Format:
```
sk-123456
88888888
...
```
## Getting set up
```
git clone https://github.com/xqdoo00o/ChatGPT-to-API

View File

@ -24,6 +24,19 @@
注意! 请使用未封锁的ip登录账号请先打开浏览器登录`https://chat.openai.com/`以检查ip是否可用
### API 密钥(可选)
如OpenAI的官方API一样可给模拟的API添加API密钥认证
`api_keys.txt` - 存放API密钥的文件
格式:
```
sk-123456
88888888
...
```
## 开始
```
git clone https://github.com/xqdoo00o/ChatGPT-to-API