complete readme
This commit is contained in:
parent
adb26f3829
commit
1d6d7a3ce3
13
README.md
13
README.md
@ -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
|
||||
|
13
README_ZH.md
13
README_ZH.md
@ -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
|
||||
|
Reference in New Issue
Block a user