Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
new-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b87113eb
authored
Jul 23, 2023
by
JustSong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs: update README
parent
91f8d223
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
22 deletions
+22
-22
README.md
+22
-22
No files found.
README.md
View file @
b87113eb
...
@@ -58,13 +58,13 @@ _✨ All in one 的 OpenAI 接口,整合各种 API 访问方式,开箱即用
...
@@ -58,13 +58,13 @@ _✨ All in one 的 OpenAI 接口,整合各种 API 访问方式,开箱即用
> **Warning**:从 `v0.3` 版本升级到 `v0.4` 版本需要手动迁移数据库,请手动执行[数据库迁移脚本](./bin/migration_v0.3-v0.4.sql)。
> **Warning**:从 `v0.3` 版本升级到 `v0.4` 版本需要手动迁移数据库,请手动执行[数据库迁移脚本](./bin/migration_v0.3-v0.4.sql)。
## 功能
## 功能
1.
支持多种 API 访问渠道:
1.
支持多种大模型:
+
[
x
]
OpenAI 官方通道(支持配置镜像)
+
[
x
]
[
OpenAI ChatGPT 系列模型
]
(https://platform.openai.com/docs/guides/gpt/chat-completions-api) &
[
OpenAI Azure API
](
https://learn.microsoft.com/en-us/azure/ai-services/openai/reference
)
+
[
x
]
**Azure OpenAI API**
+
[
x
]
[
Anthropic Claude 系列模型
]
(https://anthropic.com)
+
[
x
]
[
Anthropic Claude 系列模型
]
(https://anthropic.com)
+
[
x
]
[
Google PaLM2 系列模型
]
(https://developers.generativeai.google)
+
[
x
]
[
Google PaLM2 系列模型
]
(https://developers.generativeai.google)
+
[
x
]
[
百度文心一言系列模型
]
(https://cloud.baidu.com/doc/WENXINWORKSHOP/index.html)
+
[
x
]
[
百度文心一言系列模型
]
(https://cloud.baidu.com/doc/WENXINWORKSHOP/index.html)
+
[
x
]
[
智谱 ChatGLM 系列模型
]
(https://bigmodel.cn)
+
[
x
]
[
智谱 ChatGLM 系列模型
]
(https://bigmodel.cn)
2.
支持配置镜像以及众多第三方代理服务:
+
[
x
]
[
API Distribute
]
(https://api.gptjk.top/register?aff=QGxj)
+
[
x
]
[
API Distribute
]
(https://api.gptjk.top/register?aff=QGxj)
+
[
x
]
[
OpenAI-SB
]
(https://openai-sb.com)
+
[
x
]
[
OpenAI-SB
]
(https://openai-sb.com)
+
[
x
]
[
API2D
]
(https://api2d.com/r/197971)
+
[
x
]
[
API2D
]
(https://api2d.com/r/197971)
...
@@ -72,27 +72,27 @@ _✨ All in one 的 OpenAI 接口,整合各种 API 访问方式,开箱即用
...
@@ -72,27 +72,27 @@ _✨ All in one 的 OpenAI 接口,整合各种 API 访问方式,开箱即用
+
[
x
]
[
AI Proxy
]
(https://aiproxy.io/?i=OneAPI) (邀请码:
`OneAPI`
)
+
[
x
]
[
AI Proxy
]
(https://aiproxy.io/?i=OneAPI) (邀请码:
`OneAPI`
)
+
[
x
]
[
CloseAI
]
(https://console.closeai-asia.com/r/2412)
+
[
x
]
[
CloseAI
]
(https://console.closeai-asia.com/r/2412)
+
[
x
]
自定义渠道:例如各种未收录的第三方代理服务
+
[
x
]
自定义渠道:例如各种未收录的第三方代理服务
2
.
支持通过
**负载均衡**
的方式访问多个渠道。
3
.
支持通过
**负载均衡**
的方式访问多个渠道。
3
.
支持
**stream 模式**
,可以通过流式传输实现打字机效果。
4
.
支持
**stream 模式**
,可以通过流式传输实现打字机效果。
4
.
支持
**多机部署**
,
[
详见此处
](
#多机部署
)
。
5
.
支持
**多机部署**
,
[
详见此处
](
#多机部署
)
。
5
.
支持
**令牌管理**
,设置令牌的过期时间和额度。
6
.
支持
**令牌管理**
,设置令牌的过期时间和额度。
6
.
支持
**兑换码管理**
,支持批量生成和导出兑换码,可使用兑换码为账户进行充值。
7
.
支持
**兑换码管理**
,支持批量生成和导出兑换码,可使用兑换码为账户进行充值。
7
.
支持
**通道管理**
,批量创建通道。
8
.
支持
**通道管理**
,批量创建通道。
8
.
支持
**用户分组**
以及
**渠道分组**
,支持为不同分组设置不同的倍率。
9
.
支持
**用户分组**
以及
**渠道分组**
,支持为不同分组设置不同的倍率。
9
.
支持渠道
**设置模型列表**
。
10
.
支持渠道
**设置模型列表**
。
1
0
.
支持
**查看额度明细**
。
1
1
.
支持
**查看额度明细**
。
1
1
.
支持
**用户邀请奖励**
。
1
2
.
支持
**用户邀请奖励**
。
1
2
.
支持以美元为单位显示额度。
1
3
.
支持以美元为单位显示额度。
1
3
.
支持发布公告,设置充值链接,设置新用户初始额度。
1
4
.
支持发布公告,设置充值链接,设置新用户初始额度。
1
4
.
支持模型映射,重定向用户的请求模型。
1
5
.
支持模型映射,重定向用户的请求模型。
1
5
.
支持失败自动重试。
1
6
.
支持失败自动重试。
1
6
.
支持绘图接口。
1
7
.
支持绘图接口。
1
7
.
支持丰富的
**自定义**
设置,
1
8
.
支持丰富的
**自定义**
设置,
1.
支持自定义系统名称,logo 以及页脚。
1.
支持自定义系统名称,logo 以及页脚。
2.
支持自定义首页和关于页面,可以选择使用 HTML & Markdown 代码进行自定义,或者使用一个单独的网页通过 iframe 嵌入。
2.
支持自定义首页和关于页面,可以选择使用 HTML & Markdown 代码进行自定义,或者使用一个单独的网页通过 iframe 嵌入。
1
8
.
支持通过系统访问令牌访问管理 API。
1
9
.
支持通过系统访问令牌访问管理 API。
19
.
支持 Cloudflare Turnstile 用户校验。
20
.
支持 Cloudflare Turnstile 用户校验。
2
0
.
支持用户管理,支持
**多种用户登录注册方式**
:
2
1
.
支持用户管理,支持
**多种用户登录注册方式**
:
+
邮箱登录注册以及通过邮箱进行密码重置。
+
邮箱登录注册以及通过邮箱进行密码重置。
+
[
GitHub 开放授权
](
https://github.com/settings/applications/new
)
。
+
[
GitHub 开放授权
](
https://github.com/settings/applications/new
)
。
+
微信公众号授权(需要额外部署
[
WeChat Server
](
https://github.com/songquanpeng/wechat-server
)
)。
+
微信公众号授权(需要额外部署
[
WeChat Server
](
https://github.com/songquanpeng/wechat-server
)
)。
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment