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 | 英文提示词 |
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
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
0 commit comments