Skip to content

Commit 0c0e668

Browse files
author
zhukai
committed
doc: 相关文档调整
1 parent 86f6e8c commit 0c0e668

File tree

4 files changed

+13
-10
lines changed

4 files changed

+13
-10
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ midjourney-proxy的先行版,采用了全新架构,降低了封号的几率
3535
加入我们即可获得
3636

3737
- midjourney-proxy的最新版本
38-
- 微信机器人最新版本
38+
- [微信机器人最新版本](https://github.com/litter-coder/wechat-ai)
3939
- 及时维护,出问题优先修复
4040
- 您的意见和建议会被我们重点采纳

docs/api.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
| 字段 | 类型 | 示例 | 描述 |
99
|:-----:|:----:|:----|:----|
1010
| id | string | 1689231405853400 | 任务ID |
11-
| action | string | IMAGINE | 任务类型: IMAGINE(绘图)、UPSCALE(选中放大)、VARIATION(选中变换)、REROLL(重新生成)、ZOOM(图片变焦)、PAN(焦点移动)、DESCRIBE(图生文)、BLEAND(图片混合)、SHORTEN(prompt分析) |
11+
| action | string | IMAGINE | 任务类型: IMAGINE(绘图)、UPSCALE(选中放大)、VARIATION(选中变换)、ZOOM(图片变焦)、PAN(焦点移动)、DESCRIBE(图生文)、BLEAND(图片混合)、SHORTEN(prompt分析) |
1212
| status | string | SUCCESS | 任务状态: NOT_START(未启动)、SUBMITTED(已提交处理)、MODAL(窗口等待)、IN_PROGRESS(执行中)、FAILURE(失败)、SUCCESS(成功) |
1313
| prompt | string | 猫猫 | 提示词 |
1414
| promptEn | string | Cat | 英文提示词 |
@@ -67,8 +67,10 @@
6767
}
6868
```
6969
⚠️ 注意: 某些场景需要modal确认,提交后任务状态会变为MODAL,需调用`/mj/submit/modal`进行二次提交
70-
- 账号开启了Remix & 配置remix为true & 执行Reroll、Variation
71-
- 执行CustomZoom(自定义变焦)或PicReader(Describe后选择生图)
70+
- 执行CustomZoom(自定义变焦)
71+
- 执行PicReader(Describe后选择生图)
72+
- 执行PromptAnalyzer(Shorten后选择生图)
73+
- 账号开启了Remix & 配置remix为true & 执行Reroll、Variation、Pan
7274

7375
调用 `/mj/submit/modal`
7476
```json
@@ -79,13 +81,13 @@
7981
"prompt": "Cat"
8082
}
8183
```
82-
CustomZoom的prompt需要设置--ar 和 --zoom(1到2之间),例如: `Cat --ar 1:1 --zoom 1.5`
84+
CustomZoom的prompt需要设置`--ar``--zoom`(1到2之间),例如: `Cat --ar 1:1 --zoom 1.5`
8385

8486
## 4. `/mj/submit/describe` 图生文
8587
```json
8688
{
87-
// 图片的base64字符串
88-
"base64": "data:image/png;base64,xxx"
89+
// 图片的base64字符串
90+
"base64": "data:image/png;base64,xxx"
8991
}
9092
```
9193

@@ -108,7 +110,7 @@ CustomZoom的prompt需要设置--ar 和 --zoom(1到2之间),例如: `Cat --ar
108110
## 5. `/mj/submit/shorten` prompt分析
109111
```json
110112
{
111-
"prompt": "️appdash appdash, in the style of expert draftsmanship, commission for, ethereal, dreamlike quality, dadaistic, toonami"
113+
"prompt": "️appdash appdash, in the style of expert draftsmanship, commission for, ethereal, dreamlike quality, dadaistic, toonami"
112114
}
113115
```
114116

docs/docker-start.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ docker run -d --name midjourney-proxy \
77
-p 8080:8080 \
88
-v /xxx/xxx/config:/home/spring/config \
99
--restart=always \
10-
novicezk/midjourney-proxy-pilot:3.0.1
10+
novicezk/midjourney-proxy-pilot:3.0.3
1111
```
1212
3. 访问 `http://ip:port/mj` 查看API文档
1313

@@ -19,5 +19,5 @@ docker run -d --name midjourney-proxy \
1919
-e mj.discord.channel-id=xxx \
2020
-e mj.discord.user-token=xxx \
2121
--restart=always \
22-
novicezk/midjourney-proxy-pilot:3.0.1
22+
novicezk/midjourney-proxy-pilot:3.0.3
2323
```

resources/application.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ mj:
1010
type: in_memory
1111
timeout: 30d
1212
translate-way: null
13+
translate-zh-way: null
1314
queue:
1415
timeout-minutes: 5
1516
core-size: 3

0 commit comments

Comments
 (0)