Skip to content

Commit 871a645

Browse files
author
zhukai
committed
doc: 文档修改
1 parent 07c67a6 commit 871a645

File tree

4 files changed

+18
-7
lines changed

4 files changed

+18
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# midjourney-proxy-plus
2-
midjourney-proxy的先行版,采用了全新架构,降低了封号的几率,解决了提示词匹配不准确的问题
2+
midjourney-proxy的先行版,采用了全新模式。支持mj所有的指令和相关操作,精准匹配所有提交的任务
33

44
## 主要功能
55

docs/api.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,17 @@
5151
}
5252
}
5353
```
54+
- code=24: prompt包含敏感词
55+
```json
56+
{
57+
"code": 24,
58+
"description": "可能包含敏感词",
59+
"properties": {
60+
"promptEn": "nude body",
61+
"bannedWord": "nude"
62+
}
63+
}
64+
```
5465
- other: 提交错误,description为错误描述
5566

5667
## 3. 执行任务的关联动作
@@ -86,8 +97,8 @@ CustomZoom的prompt需要设置`--ar` 和 `--zoom`(1到2之间),例如: `Cat -
8697
## 4. `/mj/submit/describe` 图生文
8798
```json
8899
{
89-
// 图片的base64字符串
90-
"base64": "data:image/png;base64,xxx"
100+
// 图片的base64字符串
101+
"base64": "data:image/png;base64,xxx"
91102
}
92103
```
93104

@@ -168,4 +179,4 @@ POST application/json
168179
},
169180
"buttons": []
170181
}
171-
```
182+
```

docs/config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
| mj.ng-discord.server || https://discord.com 反代地址 |
2323
| mj.ng-discord.cdn || https://cdn.discordapp.com 反代地址 |
2424
| mj.ng-discord.wss || wss://gateway.discord.gg 反代地址 |
25-
| mj.translate-way || 中文prompt翻译方式,可选null(默认)、baidu、gpt、deepl |
25+
| mj.translate-way || 中文prompt翻译成英文的方式,可选null(默认)、baidu、gpt、deepl |
2626
| mj.translate-zh-way || describe、shorten等结果转中文的方式,可选null(默认)、baidu、gpt、deepl |
2727
| mj.baidu-translate.appid || 百度翻译的appid |
2828
| mj.baidu-translate.app-secret || 百度翻译的app-secret |

docs/start.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
docker run -d --name midjourney-proxy \
88
-p 8080:8080 \
99
-v /xxx/xxx/config:/home/spring/config \
10-
novicezk/midjourney-proxy-pilot:3.0.3
10+
novicezk/midjourney-proxy-pilot:3.0.5
1111
```
1212
3. 访问 `http://ip:port/mj` 查看API文档
1313
4. 在API文档页获取机器码,联系作者获取激活码,激活服务
@@ -19,5 +19,5 @@ docker run -d --name midjourney-proxy \
1919
-e mj.discord.guild-id=xxx \
2020
-e mj.discord.channel-id=xxx \
2121
-e mj.discord.user-token=xxx \
22-
novicezk/midjourney-proxy-pilot:3.0.3
22+
novicezk/midjourney-proxy-pilot:3.0.5
2323
```

0 commit comments

Comments
 (0)