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
ef6b301b
authored
Mar 03, 2024
by
1808837298@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: update README.md
parent
b524e0a3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
19 deletions
+30
-19
README.md
+30
-19
No files found.
README.md
View file @
ef6b301b
...
...
@@ -14,30 +14,41 @@
> 最新版Docker镜像 calciumion/new-api:latest
> 更新指令 docker run --rm -v /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower -cR
## 此分叉版本的主要变更
## 主要变更
此分叉版本的主要变更如下:
1.
全新的UI界面(部分界面还待更新)
2.
添加
[
Midjourney-Proxy
](
https://github.com/novicezk/midjourney-proxy
)
接口的支持
:
+
[
x
]
/mj/submit/imagine
+
[
x
]
/mj/submit/change
+
[
x
]
/mj/submit/blend
+
[
x
]
/mj/submit/describe
+
[
x
]
/mj/image/{id} (通过此接口获取图片,
**请必须在系统设置中填写服务器地址!!**
)
+
[
x
]
/mj/task/{id}/fetch (此接口返回的图片地址为经过One API转发的地址)
+
[
x
]
/task/list-by-condition
2.
添加
[
Midjourney-Proxy
](
https://github.com/novicezk/midjourney-proxy
)
接口的支持
+
[
x
]
/mj/submit/imagine
+
[
x
]
/mj/submit/change
+
[
x
]
/mj/submit/blend
+
[
x
]
/mj/submit/describe
+
[
x
]
/mj/image/{id} (通过此接口获取图片,
**请必须在系统设置中填写服务器地址!!**
)
+
[
x
]
/mj/task/{id}/fetch (此接口返回的图片地址为经过One API转发的地址)
+
[
x
]
/task/list-by-condition
3.
支持在线充值功能,可在系统设置中设置,当前支持的支付接口:
+
[
x
]
易支付
+
[
x
]
易支付
4.
支持用key查询使用额度:
+
配合项目
[
neko-api-key-tool
](
https://github.com/Calcium-Ion/neko-api-key-tool
)
可实现用key查询使用情况,方便二次分销
+
配合项目
[
neko-api-key-tool
](
https://github.com/Calcium-Ion/neko-api-key-tool
)
可实现用key查询使用
5.
渠道显示已使用额度,支持指定组织访问
6.
分页支持选择每页显示数量
7.
支持 gpt-4-1106-vision-preview,dall-e-3,tts-1
8.
支持第三方模型
**gps**
(gpt-4-gizmo-
*),在渠道中添加自定义模型gpt-4-gizmo-*
即可
9.
兼容原版One API的数据库,可直接使用原版数据库(one-api.db)
10.
支持模型按次数收费,可在 系统设置-运营设置 中设置
11.
支持gemini-pro,gemini-pro-vision模型
12.
支持渠道
**加权随机**
13.
数据看板
14.
可设置令牌能调用的模型
7.
兼容原版One API的数据库,可直接使用原版数据库(one-api.db)
8.
支持模型按次数收费,可在 系统设置-运营设置 中设置
9.
支持渠道
**加权随机**
10.
数据看板
11.
可设置令牌能调用的模型
## 模型支持
此版本支持以下模型:
1.
OpenAI基础模型(gpt-3.5, gpt-4, gpt-4-turbo系列)
2.
dall-e-3
3.
tts-1
4.
第三方模型
**gps**
(gpt-4-gizmo-
*
)
5.
gemini-pro, gemini-pro-vision
6.
智谱glm-4, glm-4v识图
您可以在渠道中添加自定义模型gpt-4-gizmo-
*
,此模型并非OpenAI官方模型,而是第三方模型,使用官方key无法调用。
## 部署
### 基于 Docker 进行部署
...
...
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