Skip to content

Commit d442b44

Browse files
committed
更换名称
1 parent 985c841 commit d442b44

File tree

7 files changed

+67
-56
lines changed

7 files changed

+67
-56
lines changed

.github/workflows/sync.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
id: sync
3030
uses: aormsby/Fork-Sync-With-Upstream-action@v3.4
3131
with:
32-
upstream_sync_repo: LLM-Red-Team/hailuo-free-api
32+
upstream_sync_repo: LLM-Red-Team/minimax-free-api
3333
upstream_sync_branch: master
3434
target_sync_branch: master
3535
target_repo_token: ${{ secrets.GITHUB_TOKEN }} # automatically generated, no need to set
@@ -43,6 +43,6 @@ jobs:
4343
title: '🚨 同步失败 | Sync Fail'
4444
labels: '🚨 Sync Fail'
4545
body: |
46-
Due to a change in the workflow file of the LLM-Red-Team/hailuo-free-api upstream repository, GitHub has automatically suspended the scheduled automatic update. You need to manually sync your fork. Please refer to the detailed [Tutorial][tutorial-en-US] for instructions.
46+
Due to a change in the workflow file of the LLM-Red-Team/minimax-free-api upstream repository, GitHub has automatically suspended the scheduled automatic update. You need to manually sync your fork. Please refer to the detailed [Tutorial][tutorial-en-US] for instructions.
4747
48-
由于 LLM-Red-Team/hailuo-free-api 上游仓库的 workflow 文件变更,导致 GitHub 自动暂停了本次自动更新,你需要手动 Sync Fork 一次,
48+
由于 LLM-Red-Team/minimax-free-api 上游仓库的 workflow 文件变更,导致 GitHub 自动暂停了本次自动更新,你需要手动 Sync Fork 一次,

README.md

Lines changed: 55 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
# MiniMax Hailuo AI Free 服务
22

3-
[![](https://img.shields.io/github/license/llm-red-team/hailuo-free-api.svg)](LICENSE)
4-
![](https://img.shields.io/github/stars/llm-red-team/hailuo-free-api.svg)
5-
![](https://img.shields.io/github/forks/llm-red-team/hailuo-free-api.svg)
6-
![](https://img.shields.io/docker/pulls/vinlic/hailuo-free-api.svg)
3+
[![](https://img.shields.io/github/license/llm-red-team/minimax-free-api.svg)](LICENSE)
4+
![](https://img.shields.io/github/stars/llm-red-team/minimax-free-api.svg)
5+
![](https://img.shields.io/github/forks/llm-red-team/minimax-free-api.svg)
6+
![](https://img.shields.io/docker/pulls/vinlic/minimax-free-api.svg)
77

88
支持最新MiniMax-Text-01、MiniMax-VL-01模型,支持高速流式输出、支持多轮对话、支持语音合成、语音识别、支持联网搜索、支持长文档解读、支持图像解析,零配置部署,多路token支持,自动清理会话痕迹。
99

10+
**注意,Docker镜像 vinlic/hailuo-free-api 已更名为 vinlic/minimax-free-api,旧镜像将不再继续维护!**
11+
1012
与ChatGPT接口完全兼容。
1113

1214
还有以下十个free-api欢迎关注:
@@ -33,30 +35,39 @@ ZhipuAI (智谱清言) 接口转API [glm-free-api](https://github.com/LLM-Red-Te
3335

3436
## 目录
3537

36-
* [免责声明](#免责声明)
37-
* [效果示例](#效果示例)
38-
* [接入准备](#接入准备)
39-
* [多账号接入](#多账号接入)
40-
* [Docker部署](#Docker部署)
41-
* [Docker-compose部署](#Docker-compose部署)
42-
* [Render部署](#Render部署)
43-
* [Vercel部署](#Vercel部署)
44-
* [原生部署](#原生部署)
45-
* [推荐使用客户端](#推荐使用客户端)
46-
* [接口列表](#接口列表)
47-
* [对话补全](#对话补全)
48-
* [创建语音](#创建语音)
49-
* [官方发音人](#官方发音人)
50-
* [克隆发音人](#克隆发音人)
51-
* [自定义发音人映射](#自定义发音人映射)
52-
* [创建转录](#创建转录)
53-
* [文档解读](#文档解读)
54-
* [图像解析](#图像解析)
55-
* [_token存活检测](#_token存活检测)
56-
* [注意事项](#注意事项)
57-
* [Nginx反代优化](#Nginx反代优化)
58-
* [Token统计](#Token统计)
59-
* [Star History](#star-history)
38+
- [MiniMax Hailuo AI Free 服务](#minimax-hailuo-ai-free-服务)
39+
- [目录](#目录)
40+
- [免责声明](#免责声明)
41+
- [效果示例](#效果示例)
42+
- [验明正身Demo](#验明正身demo)
43+
- [语音合成Demo](#语音合成demo)
44+
- [语音识别Demo](#语音识别demo)
45+
- [多轮对话Demo](#多轮对话demo)
46+
- [联网搜索Demo](#联网搜索demo)
47+
- [长文档解读Demo](#长文档解读demo)
48+
- [图像解析Demo](#图像解析demo)
49+
- [接入准备](#接入准备)
50+
- [多账号接入](#多账号接入)
51+
- [Docker部署](#docker部署)
52+
- [Docker-compose部署](#docker-compose部署)
53+
- [Render部署](#render部署)
54+
- [Vercel部署](#vercel部署)
55+
- [原生部署](#原生部署)
56+
- [推荐使用客户端](#推荐使用客户端)
57+
- [接口列表](#接口列表)
58+
- [对话补全](#对话补全)
59+
- [创建语音](#创建语音)
60+
- [官方发音人](#官方发音人)
61+
- [克隆发音人](#克隆发音人)
62+
- [自定义发音人映射](#自定义发音人映射)
63+
- [创建转录](#创建转录)
64+
- [文档解读](#文档解读)
65+
- [图像解析](#图像解析)
66+
- [\_token存活检测](#_token存活检测)
67+
- [注意事项](#注意事项)
68+
- [Nginx反代优化](#nginx反代优化)
69+
- [Token统计](#token统计)
70+
- [Star History](#star-history)
6071

6172
## 免责声明
6273

@@ -127,25 +138,25 @@ ZhipuAI (智谱清言) 接口转API [glm-free-api](https://github.com/LLM-Red-Te
127138
拉取镜像并启动服务
128139

129140
```shell
130-
docker run -it -d --init --name hailuo-free-api -p 8000:8000 -e TZ=Asia/Shanghai vinlic/hailuo-free-api:latest
141+
docker run -it -d --init --name minimax-free-api -p 8000:8000 -e TZ=Asia/Shanghai vinlic/minimax-free-api:latest
131142
```
132143

133144
查看服务实时日志
134145

135146
```shell
136-
docker logs -f hailuo-free-api
147+
docker logs -f minimax-free-api
137148
```
138149

139150
重启服务
140151

141152
```shell
142-
docker restart hailuo-free-api
153+
docker restart minimax-free-api
143154
```
144155

145156
停止服务
146157

147158
```shell
148-
docker stop hailuo-free-api
159+
docker stop minimax-free-api
149160
```
150161

151162
### Docker-compose部署
@@ -154,9 +165,9 @@ docker stop hailuo-free-api
154165
version: '3'
155166

156167
services:
157-
hailuo-free-api:
158-
container_name: hailuo-free-api
159-
image: vinlic/hailuo-free-api:latest
168+
minimax-free-api:
169+
container_name: minimax-free-api
170+
image: vinlic/minimax-free-api:latest
160171
restart: always
161172
ports:
162173
- "8000:8000"
@@ -186,8 +197,8 @@ services:
186197
```shell
187198
npm i -g vercel --registry http://registry.npmmirror.com
188199
vercel login
189-
git clone https://github.com/LLM-Red-Team/hailuo-free-api
190-
cd hailuo-free-api
200+
git clone https://github.com/LLM-Red-Team/minimax-free-api
201+
cd minimax-free-api
191202
vercel --prod
192203
```
193204

@@ -218,25 +229,25 @@ npm run build
218229
启动服务
219230

220231
```shell
221-
pm2 start dist/index.js --name "hailuo-free-api"
232+
pm2 start dist/index.js --name "minimax-free-api"
222233
```
223234

224235
查看服务实时日志
225236

226237
```shell
227-
pm2 logs hailuo-free-api
238+
pm2 logs minimax-free-api
228239
```
229240

230241
重启服务
231242

232243
```shell
233-
pm2 reload hailuo-free-api
244+
pm2 reload minimax-free-api
234245
```
235246

236247
停止服务
237248

238249
```shell
239-
pm2 stop hailuo-free-api
250+
pm2 stop minimax-free-api
240251
```
241252

242253
## 推荐使用客户端
@@ -572,7 +583,7 @@ Authorization: Bearer [_token]
572583

573584
### Nginx反代优化
574585

575-
如果您正在使用Nginx反向代理hailuo-free-api,请添加以下配置项优化流的输出效果,优化体验感。
586+
如果您正在使用Nginx反向代理minimax-free-api,请添加以下配置项优化流的输出效果,优化体验感。
576587

577588
```nginx
578589
# 关闭代理缓冲。当设置为off时,Nginx会立即将客户端请求发送到后端服务器,并立即将从后端服务器接收到的响应发送回客户端。
@@ -589,8 +600,8 @@ keepalive_timeout 120;
589600

590601
### Token统计
591602

592-
由于推理侧不在hailuo-free-api,因此token不可统计,将以固定数字返回。
603+
由于推理侧不在minimax-free-api,因此token不可统计,将以固定数字返回。
593604

594605
## Star History
595606

596-
[![Star History Chart](https://api.star-history.com/svg?repos=LLM-Red-Team/hailuo-free-api&type=Date)](https://star-history.com/#LLM-Red-Team/hailuo-free-api&Date)
607+
[![Star History Chart](https://api.star-history.com/svg?repos=LLM-Red-Team/minimax-free-api&type=Date)](https://star-history.com/#LLM-Red-Team/minimax-free-api&Date)

configs/dev/service.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# 服务名称
2-
name: hailuo-free-api
2+
name: minimax-free-api
33
# 服务绑定主机地址
44
host: '0.0.0.0'
55
# 服务绑定端口

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "hailuo-free-api",
2+
"name": "minimax-free-api",
33
"version": "0.0.18",
44
"description": "HailuoAI Free API Server",
55
"type": "module",

public/welcome.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
<title>🚀 服务已启动</title>
66
</head>
77
<body>
8-
<p>hailuo-free-api已启动!<br>请通过LobeChat / NextChat / Dify等客户端或OpenAI SDK接入!</p>
8+
<p>minimax-free-api已启动!<br>请通过LobeChat / NextChat / Dify等客户端或OpenAI SDK接入!</p>
99
</body>
1010
</html>

src/api/routes/models.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,27 +11,27 @@ export default {
1111
{
1212
"id": "abab6-chat",
1313
"object": "model",
14-
"owned_by": "hailuo-free-api"
14+
"owned_by": "minimax-free-api"
1515
},
1616
{
1717
"id": "abab5.5s-chat",
1818
"object": "model",
19-
"owned_by": "hailuo-free-api"
19+
"owned_by": "minimax-free-api"
2020
},
2121
{
2222
"id": "abab5.5-chat",
2323
"object": "model",
24-
"owned_by": "hailuo-free-api"
24+
"owned_by": "minimax-free-api"
2525
},
2626
{
2727
"id": "abab-v1",
2828
"object": "model",
29-
"owned_by": "hailuo-free-api"
29+
"owned_by": "minimax-free-api"
3030
},
3131
{
3232
"id": "abab-v1-vision",
3333
"object": "model",
34-
"owned_by": "hailuo-free-api"
34+
"owned_by": "minimax-free-api"
3535
}
3636
]
3737
};

src/lib/configs/service-config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export class ServiceConfig {
2727

2828
constructor(options?: any) {
2929
const { name, host, port, urlPrefix, bindAddress } = options || {};
30-
this.name = _.defaultTo(name, 'hailuo-free-api');
30+
this.name = _.defaultTo(name, 'minimax-free-api');
3131
this.host = _.defaultTo(host, '0.0.0.0');
3232
this.port = _.defaultTo(port, 5566);
3333
this.urlPrefix = _.defaultTo(urlPrefix, '');

0 commit comments

Comments
 (0)