工作流 /
图像 /
MAI Image 2.6:图像编辑

MAI Image 2.6:图像编辑
MAI Image 2.6: Image Edit
使用 MAI Image 2.6 编辑图像,这是微软旗舰级图像编辑模型,可将两张参考图像合并为一张精修输出。非常适合多参考合成、产品视觉重塑以及图内文字设计工作。
图像
5 个节点 2 个输入 13 次使用 ComfyUI ≥ 0.35.1 ComfyUI 7 KB
节点构成
LoadImage
× 2
SaveImageAdvanced
× 1
OpenRouterImageNode
× 1
MarkdownNote
× 1
官方标注的模型
Mai Image 2.6
工作流 JSON
和上面「下载工作流 JSON」是同一份文件。
1{
2 "id": "21fd1a0b-5ad9-4bad-ae7a-e61950b8a15b",
3 "revision": 0,
4 "last_node_id": 14,
5 "last_link_id": 13,
6 "nodes": [
7 {
8 "id": 4,
9 "type": "SaveImageAdvanced",
10 "pos": [
11 40,
12 6200
13 ],
14 "size": [
15 520,
16 145.90625
17 ],
18 "flags": [],
19 "order": 4,
20 "mode": 0,
21 "inputs": [
22 {
23 "name": "images",
24 "type": "IMAGE",
25 "link": 2
26 }
27 ],
28 "outputs": [
29 {
30 "name": "images",
31 "type": "IMAGE",
32 "links": null
33 }
34 ],
35 "properties": {
36 "cnr_id": "comfy-core",
37 "ver": "0.35.0"
38 },
39 "widgets_values": [
40 "Mai_image_2.6",
41 "png",
42 "8-bit",
43 "sRGB"
44 ],
45 "widgets_values_named": {
46 "filename_prefix": "Mai_image_2.6",
47 "format": "png",
48 "format.bit_depth": "8-bit",
49 "format.input_color_space": "sRGB"
50 }
51 },
52 {
53 "id": 5,
54 "type": "OpenRouterImageNode",
55 "pos": [
56 -410,
57 6200
58 ],
59 "size": [
60 400,
61 280
62 ],
63 "flags": [],
64 "order": 3,
65 "mode": 0,
66 "inputs": [
67 {
68 "name": "model.images.image_1",
69 "shape": 7,
70 "type": "IMAGE",
71 "link": 12
72 },
73 {
74 "name": "model.images.image_2",
75 "shape": 7,
76 "type": "IMAGE",
77 "link": 13
78 },
79 {
80 "name": "model.images.image_3",
81 "shape": 7,
82 "type": "IMAGE",
83 "link": null
84 }
85 ],
86 "outputs": [
87 {
88 "name": "IMAGE",
89 "type": "IMAGE",
90 "links": [
91 2
92 ]
93 }
94 ],
95 "properties": {
96 "Node name for S&R": "OpenRouterImageNode",
97 "cnr_id": "comfy-core",
98 "ver": "0.35.0"
99 },
100 "widgets_values": [
101 "microsoft/mai-image-2.6",
102 "Refer to the lighting and scene of the product in Figure 2, and adjust the product in Figure 1 to the same shooting angle and shooting scene.",
103 "auto",
104 "1K",
105 2020960893,
106 "randomize",
107 "randomize"
108 ],
109 "widgets_values_named": {
110 "model": "microsoft/mai-image-2.6",
111 "model.prompt": "Refer to the lighting and scene of the product in Figure 2, and adjust the product in Figure 1 to the same shooting angle and shooting scene.",
112 "model.aspect_ratio": "auto",
113 "model.resolution": "1K",
114 "model.seed": 2020960893,
115 "control_after_generate": "randomize"
116 },
117 "color": "#432",
118 "bgcolor": "#653"
119 },
120 {
121 "id": 6,
122 "type": "LoadImage",
123 "pos": [
124 -760,
125 6200
126 ],
127 "size": [
128 290,
129 373.859375
130 ],
131 "flags": [],
132 "order": 0,
133 "mode": 0,
134 "inputs": [],
135 "outputs": [
136 {
137 "name": "IMAGE",
138 "type": "IMAGE",
139 "links": [
140 12
141 ]
142 },
143 {
144 "name": "MASK",
145 "type": "MASK",
146 "links": null
147 }
148 ],
149 "properties": {
150 "Node name for S&R": "LoadImage",
151 "cnr_id": "comfy-core",
152 "ver": "0.35.0"
153 },
154 "widgets_values": [
155 "product_bottle_black.png",
156 "image"
157 ],
158 "widgets_values_named": {
159 "image": "product_bottle_black.png",
160 "upload": "image"
161 }
162 },
163 {
164 "id": 12,
165 "type": "MarkdownNote",
166 "pos": [
167 -1120,
168 6200
169 ],
170 "size": [
171 310,
172 370
173 ],
174 "flags": [],
175 "order": 1,
176 "mode": 0,
177 "inputs": [],
178 "outputs": [],
179 "properties": [],
180 "widgets_values": [
181 "## Input Assets\n\n- [product_bottle_black.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/product_bottle_black.png)\n- [ref_product_earbuds_blue.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/ref_product_earbuds_blue.png)\n\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
182 ],
183 "widgets_values_named": {
184 "text": "## Input Assets\n\n- [product_bottle_black.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/product_bottle_black.png)\n- [ref_product_earbuds_blue.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/ref_product_earbuds_blue.png)\n\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
185 },
186 "color": "#222",
187 "bgcolor": "#000"
188 },
189 {
190 "id": 14,
191 "type": "LoadImage",
192 "pos": [
193 -750,
194 6650
195 ],
196 "size": [
197 290,
198 373.859375
199 ],
200 "flags": [],
201 "order": 2,
202 "mode": 0,
203 "inputs": [],
204 "outputs": [
205 {
206 "name": "IMAGE",
207 "type": "IMAGE",
208 "links": [
209 13
210 ]
211 },
212 {
213 "name": "MASK",
214 "type": "MASK",
215 "links": null
216 }
217 ],
218 "properties": {
219 "Node name for S&R": "LoadImage",
220 "cnr_id": "comfy-core",
221 "ver": "0.35.0"
222 },
223 "widgets_values": [
224 "ref_product_earbuds_blue.png",
225 "image"
226 ],
227 "widgets_values_named": {
228 "image": "ref_product_earbuds_blue.png",
229 "upload": "image"
230 }
231 }
232 ],
233 "links": [
234 [
235 2,
236 5,
237 0,
238 4,
239 0,
240 "IMAGE"
241 ],
242 [
243 12,
244 6,
245 0,
246 5,
247 0,
248 "IMAGE"
249 ],
250 [
251 13,
252 14,
253 0,
254 5,
255 1,
256 "IMAGE"
257 ]
258 ],
259 "groups": [],
260 "config": [],
261 "extra": {
262 "ds": {
263 "scale": 0.5616590923350407,
264 "offset": [
265 2134.1939224923763,
266 -5358.252351035875
267 ]
268 },
269 "frontendVersion": "1.51.10"
270 },
271 "version": 0.4
272}