Skip to content

Commit f2721eb

Browse files
author
zhukai
committed
doc: Update
1 parent 5b228c4 commit f2721eb

File tree

3 files changed

+17
-21
lines changed

3 files changed

+17
-21
lines changed

README.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
- [x] 支持焦点移动: Pan ⬅️ ➡️ ⬆️ ⬇️
2020
- [x] 支持图片变焦: Zoom 🔍
2121
- [x] 支持局部重绘: Vary (Region) 🖌
22-
- [x] 支持几乎所有的关联按钮动作和🎛️ Remix模式,参考 [API接口说明-提交动作](./docs/api.md#3-%E6%89%A7%E8%A1%8C%E4%BB%BB%E5%8A%A1%E7%9A%84%E5%85%B3%E8%81%94%E5%8A%A8%E4%BD%9C)
22+
- [x] 支持几乎所有的关联按钮动作和🎛️ Remix模式,参考 [API接口说明-执行动作](./docs/api.md#3-%E6%89%A7%E8%A1%8C%E4%BB%BB%E5%8A%A1%E7%9A%84%E5%85%B3%E8%81%94%E5%8A%A8%E4%BD%9C)
2323
- [x] 支持获取图片的seed值
2424
- [x] 中英文翻译额外支持deepl
2525
- [x] 账号池持久化,动态维护
@@ -58,9 +58,3 @@
5858
- mj.translate-way: 中文prompt翻译成英文的方式,可选null(默认)、baidu、gpt、deepl
5959
- mj.translate-zh-way: describe、shorten等结果翻译成中文的方式,可选null(默认)、baidu、gpt、deepl
6060
- redis、翻译或更多配置查看 [配置项](./docs/config.md)
61-
62-
## 相关文档
63-
- [部署教程](./docs/start.md)
64-
- [全部配置项](./docs/config.md)
65-
- [API接口说明](./docs/api.md)
66-
- [Release版本jar包地址](https://github.com/litter-coder/midjourney-proxy-plus/releases)

docs/api.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,10 @@
9797
- 执行️Region(局部重绘)
9898
- 执行PicReader(Describe后选择生图)
9999
- 执行PromptAnalyzer(Shorten后选择生图)
100-
- 账号开启了Remix & 执行Reroll、Variation、Pan
101100

102-
这时返回的code为 21,示例:
101+
> 开启Remix模式时,执行Reroll、Variation、Pan也需要弹框确认;但账号设置了remix自动提交时,不需要确认
102+
103+
需要确认时返回的code为 21,示例:
103104
```json
104105
{
105106
"code": 21,

docs/config.md

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -48,18 +48,19 @@ mj:
4848
```
4949
账号字段说明
5050
51-
| 名称 | 非空 | 描述 |
52-
| :-----| :----: | :---- |
53-
| guild-id | 是 | discord服务器ID |
54-
| channel-id | 是 | discord频道ID |
55-
| user-token | 是 | discord用户Token |
56-
| mj-bot-channel-id | 否 | Midjourney Bot私信ID |
57-
| user-agent | 否 | 调用discord接口、连接wss时的user-agent,建议从浏览器network复制 |
58-
| enable | 否 | 是否可用,默认true |
59-
| core-size | 否 | 并发数,默认3 |
60-
| queue-size | 否 | 等待队列长度,默认10 |
61-
| timeout-minutes | 否 | 任务超时时间(分钟),默认5 |
62-
| remark | 否 | 备注说明 |
51+
| 名称 | 非空 | 描述 |
52+
|:------------------| :----: |:--------------------------------------------------------------------|
53+
| guild-id | 是 | discord服务器ID |
54+
| channel-id | 是 | discord频道ID |
55+
| user-token | 是 | discord用户Token |
56+
| mj-bot-channel-id | 否 | Midjourney Bot私信ID |
57+
| user-agent | 否 | 调用discord接口、连接wss时的user-agent,建议从浏览器network复制 |
58+
| enable | 否 | 是否可用,默认true |
59+
| remix-auto-submit | 否 | remix自动提交(默认false),共享账号无法自主控制remix模式时使用,自动提交reroll、variation、pan的弹框 |
60+
| core-size | 否 | 并发数,默认3 |
61+
| queue-size | 否 | 等待队列长度,默认10 |
62+
| timeout-minutes | 否 | 任务超时时间(分钟),默认5 |
63+
| remark | 否 | 备注说明 |
6364
6465
### spring.redis配置参考
6566
```yaml

0 commit comments

Comments
 (0)