first commit

This commit is contained in:
helloyangy
2026-04-01 00:03:53 +08:00
commit e40fb4d849
19 changed files with 254 additions and 0 deletions

127
README.md Normal file
View File

@@ -0,0 +1,127 @@
## AIClient2API 反代无限使用大模型Api
![7b902d26b8f52a355be2df0300ca7f1a.png](./_resources/7b902d26b8f52a355be2df0300ca7f1a.png)
支持反代Gemini、Antigravity、Qwen Code、Kiro、Qwen、claude
![3abce4200486390b4cfe5415b8994744.png](./_resources/3abce4200486390b4cfe5415b8994744.png)
有docker上手容易推荐服务器部署实现24小时不间断调用大模型Api
服务器部署不要选择国内地区选择linux版本
腾讯云新加坡硅谷东京地区价格是199元一年2核4G30M带宽60GBSSD盘 1.5T月流量↓↓↓
购买地址https://curl.qcloud.com/oyWDLkRJ
![901e6a6b9d578895522b0f72d15243ec.png](./_resources/901e6a6b9d578895522b0f72d15243ec.png)
**教程**
第一步Ubuntu24更新系统并安装依赖
```
sudo apt update
sudo apt install -y ca-certificates curl
```
![4f81130b20569a8d424c745c56f41be5.png](./_resources/4f81130b20569a8d424c745c56f41be5.png)
第二步:添加 Docker 官方 GPG 密钥
```
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
```
![00946e2f13128f8e544e52167261fed8.png](./_resources/00946e2f13128f8e544e52167261fed8.png)
第三步:添加 Docker 官方软件源
```
sudo tee /etc/apt/sources.list.d/docker.sources <<EOF
Types: deb
URIs: https://download.docker.com/linux/ubuntu
Suites: $(. /etc/os-release && echo "${UBUNTU_CODENAME:-$VERSION_CODENAME}")
Components: stable
Architectures: $(dpkg --print-architecture)
Signed-By: /etc/apt/keyrings/docker.asc
EOF
sudo apt update
```
![4f5b3d48f66825a2030ae2b0d83bd4ec.png](./_resources/4f5b3d48f66825a2030ae2b0d83bd4ec.png)
第四步:安装 Docker Engine
```
sudo apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
```
![71c083982656ebf989fa9ea3d8e47aad.png](./_resources/71c083982656ebf989fa9ea3d8e47aad.png)
第五步:启动并设置开机自启
```
sudo systemctl enable docker
sudo systemctl start docker
```
![93b0c54cb1da7868bbae3215aa93e5b8.png](./_resources/93b0c54cb1da7868bbae3215aa93e5b8.png)
第六步docker安装AIClient-2-API
```
docker run -d \
-p 3000:3000 \
-p 8085-8086:8085-8086 \
-p 1455:1455 \
-p 19876-19880:19876-19880 \
--restart=always \
-v /root/aiclient2api/configs:/app/configs \
--name aiclient2api \
justlikemaki/aiclient-2-api:latest
```
![5148c263039c100b3718c47f136e77ed.png](./_resources/5148c263039c100b3718c47f136e77ed.png)
第七步:浏览器访问
ip+3000端口
默认密码: admin123
![dae5922b0bbbb879f0d8bf314d5735aa.png](./_resources/dae5922b0bbbb879f0d8bf314d5735aa.png)
第八步:成功
![c22b71370f7ab31b2d5ca969c14c3b42.png](./_resources/c22b71370f7ab31b2d5ca969c14c3b42.png)
第九步点击提供商池管理以OpenAI Codex OAuth为例点击生成授权
![40d92ae4bf727d54eeff36e2ad013f0b.png](./_resources/40d92ae4bf727d54eeff36e2ad013f0b.png)
第十步OAuth 授权,获取到链接浏览器打开
![1fc0f00e56fa958ff3cb7d3ea1530093.png](./_resources/1fc0f00e56fa958ff3cb7d3ea1530093.png)
第十一步:登录成功复制回调链接
![d15549a9d66055790923965afd30f18c.png](./_resources/d15549a9d66055790923965afd30f18c.png)
第十二步:成功
![61b6c3b5bde341e482c3491e7bdc77e4.png](./_resources/61b6c3b5bde341e482c3491e7bdc77e4.png)
第十三步:点击配置管理这里面就是密钥,模型提供商推荐全选
![a475e5ca84be45da1dfbcf28d514aec6.png](./_resources/a475e5ca84be45da1dfbcf28d514aec6.png)
第十四:仪表盘有完整的调用地址
![0bfe2a741fe232e9f40256741534b835.png](./_resources/0bfe2a741fe232e9f40256741534b835.png)
接口http://154.9.228.159:3000/openai-codex-oauth/v1/chat/completions
模型gpt-5.4

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 316 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 271 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 175 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

View File

@@ -0,0 +1,127 @@
## AIClient2API 反代无限使用大模型Api
![7b902d26b8f52a355be2df0300ca7f1a.png](../_resources/7b902d26b8f52a355be2df0300ca7f1a.png)
支持反代Gemini、Antigravity、Qwen Code、Kiro、Qwen、claude
![3abce4200486390b4cfe5415b8994744.png](../_resources/3abce4200486390b4cfe5415b8994744.png)
有docker上手容易推荐服务器部署实现24小时不间断调用大模型Api
服务器部署不要选择国内地区选择linux版本
腾讯云新加坡硅谷东京地区价格是199元一年2核4G30M带宽60GBSSD盘 1.5T月流量↓↓↓
购买地址https://curl.qcloud.com/oyWDLkRJ
![901e6a6b9d578895522b0f72d15243ec.png](../_resources/901e6a6b9d578895522b0f72d15243ec.png)
**教程**
**第一步Ubuntu24更新系统并安装依赖**
```
sudo apt update
sudo apt install -y ca-certificates curl
```
![4f81130b20569a8d424c745c56f41be5.png](../_resources/4f81130b20569a8d424c745c56f41be5.png)
第二步:添加 Docker 官方 GPG 密钥
```
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
```
![00946e2f13128f8e544e52167261fed8.png](../_resources/00946e2f13128f8e544e52167261fed8.png)
第三步:添加 Docker 官方软件源
```
sudo tee /etc/apt/sources.list.d/docker.sources <<EOF
Types: deb
URIs: https://download.docker.com/linux/ubuntu
Suites: $(. /etc/os-release && echo "${UBUNTU_CODENAME:-$VERSION_CODENAME}")
Components: stable
Architectures: $(dpkg --print-architecture)
Signed-By: /etc/apt/keyrings/docker.asc
EOF
sudo apt update
```
![4f5b3d48f66825a2030ae2b0d83bd4ec.png](../_resources/4f5b3d48f66825a2030ae2b0d83bd4ec.png)
第四步:安装 Docker Engine
```
sudo apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
```
![71c083982656ebf989fa9ea3d8e47aad.png](../_resources/71c083982656ebf989fa9ea3d8e47aad.png)
第五步:启动并设置开机自启
```
sudo systemctl enable docker
sudo systemctl start docker
```
![93b0c54cb1da7868bbae3215aa93e5b8.png](../_resources/93b0c54cb1da7868bbae3215aa93e5b8.png)
第六步docker安装AIClient-2-API
```
docker run -d \
-p 3000:3000 \
-p 8085-8086:8085-8086 \
-p 1455:1455 \
-p 19876-19880:19876-19880 \
--restart=always \
-v /root/aiclient2api/configs:/app/configs \
--name aiclient2api \
justlikemaki/aiclient-2-api:latest
```
![5148c263039c100b3718c47f136e77ed.png](../_resources/5148c263039c100b3718c47f136e77ed.png)
第七步:浏览器访问
ip+3000端口
默认密码: admin123
![dae5922b0bbbb879f0d8bf314d5735aa.png](../_resources/dae5922b0bbbb879f0d8bf314d5735aa.png)
第八步:成功
![c22b71370f7ab31b2d5ca969c14c3b42.png](../_resources/c22b71370f7ab31b2d5ca969c14c3b42.png)
第九步点击提供商池管理以OpenAI Codex OAuth为例点击生成授权
![40d92ae4bf727d54eeff36e2ad013f0b.png](../_resources/40d92ae4bf727d54eeff36e2ad013f0b.png)
第十步OAuth 授权,获取到链接浏览器打开
![1fc0f00e56fa958ff3cb7d3ea1530093.png](../_resources/1fc0f00e56fa958ff3cb7d3ea1530093.png)
第十一步:登录成功复制回调链接
![d15549a9d66055790923965afd30f18c.png](../_resources/d15549a9d66055790923965afd30f18c.png)
第十二步:成功
![61b6c3b5bde341e482c3491e7bdc77e4.png](../_resources/61b6c3b5bde341e482c3491e7bdc77e4.png)
第十三步:点击配置管理这里面就是密钥,模型提供商推荐全选
![a475e5ca84be45da1dfbcf28d514aec6.png](../_resources/a475e5ca84be45da1dfbcf28d514aec6.png)
第十四:仪表盘有完整的调用地址
![0bfe2a741fe232e9f40256741534b835.png](../_resources/0bfe2a741fe232e9f40256741534b835.png)
接口http://154.9.228.159:3000/openai-codex-oauth/v1/chat/completions
模型gpt-5.4