ComfyPilotComfyPilot
工作流 / 图像 / MAI 图像 2.6 Flash:图像编辑
MAI 图像 2.6 Flash:图像编辑

MAI 图像 2.6 Flash:图像编辑

MAI Image 2.6 Flash: Image Edit

使用 MAI Image 2.6 Flash 编辑图像,这是 Microsoft 的快速图生图模型,可将单张输入图像转换为精细的输出。非常适合快速修饰、风格调整和快速概念迭代。

图像 4 个节点 1 个输入 10 次使用 ComfyUI ≥ 0.35.1 ComfyUI 5 KB

下载工作流 JSON 查看官方来源

下载后把文件拖进 ComfyUI 窗口即可打开。

节点构成

SaveImageAdvanced × 1
OpenRouterImageNode × 1
LoadImage × 1
MarkdownNote × 1

官方标注的模型

Mai Image 2.6

工作流 JSON

和上面「下载工作流 JSON」是同一份文件。

1{
2 "id": "21fd1a0b-5ad9-4bad-ae7a-e61950b8a15b",
3 "revision": 0,
4 "last_node_id": 13,
5 "last_link_id": 10,
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": 3,
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 260
62 ],
63 "flags": [],
64 "order": 2,
65 "mode": 0,
66 "inputs": [
67 {
68 "name": "model.images.image_1",
69 "shape": 7,
70 "type": "IMAGE",
71 "link": 3
72 },
73 {
74 "name": "model.images.image_2",
75 "shape": 7,
76 "type": "IMAGE",
77 "link": null
78 }
79 ],
80 "outputs": [
81 {
82 "name": "IMAGE",
83 "type": "IMAGE",
84 "links": [
85 2
86 ]
87 }
88 ],
89 "properties": {
90 "Node name for S&R": "OpenRouterImageNode",
91 "cnr_id": "comfy-core",
92 "ver": "0.35.0"
93 },
94 "widgets_values": [
95 "microsoft/mai-image-2.6-flash",
96 "The clothing presents a realistic 3D effect as if worn on a human figure, rotating slightly to the left, with a white background.",
97 "auto",
98 "1K",
99 1208570941,
100 "randomize",
101 "randomize"
102 ],
103 "widgets_values_named": {
104 "model": "microsoft/mai-image-2.6-flash",
105 "model.prompt": "The clothing presents a realistic 3D effect as if worn on a human figure, rotating slightly to the left, with a white background.",
106 "model.aspect_ratio": "auto",
107 "model.resolution": "1K",
108 "model.seed": 1208570941,
109 "control_after_generate": "randomize"
110 },
111 "color": "#432",
112 "bgcolor": "#653"
113 },
114 {
115 "id": 6,
116 "type": "LoadImage",
117 "pos": [
118 -750,
119 6200
120 ],
121 "size": [
122 290,
123 350
124 ],
125 "flags": [],
126 "order": 0,
127 "mode": 0,
128 "inputs": [],
129 "outputs": [
130 {
131 "name": "IMAGE",
132 "type": "IMAGE",
133 "links": [
134 3
135 ]
136 },
137 {
138 "name": "MASK",
139 "type": "MASK",
140 "links": null
141 }
142 ],
143 "properties": {
144 "Node name for S&R": "LoadImage",
145 "cnr_id": "comfy-core",
146 "ver": "0.35.0"
147 },
148 "widgets_values": [
149 "clothing_shirt_flat.png",
150 "image"
151 ],
152 "widgets_values_named": {
153 "image": "clothing_shirt_flat.png",
154 "upload": "image"
155 }
156 },
157 {
158 "id": 12,
159 "type": "MarkdownNote",
160 "pos": [
161 -1120,
162 6200
163 ],
164 "size": [
165 310,
166 370
167 ],
168 "flags": [],
169 "order": 1,
170 "mode": 0,
171 "inputs": [],
172 "outputs": [],
173 "properties": [],
174 "widgets_values": [
175 "## Input Asset\n\n- [clothing_shirt_flat.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/clothing_shirt_flat.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"
176 ],
177 "widgets_values_named": {
178 "text": "## Input Asset\n\n- [clothing_shirt_flat.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/clothing_shirt_flat.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"
179 },
180 "color": "#222",
181 "bgcolor": "#000"
182 }
183 ],
184 "links": [
185 [
186 2,
187 5,
188 0,
189 4,
190 0,
191 "IMAGE"
192 ],
193 [
194 3,
195 6,
196 0,
197 5,
198 0,
199 "IMAGE"
200 ]
201 ],
202 "groups": [],
203 "config": [],
204 "extra": {
205 "ds": {
206 "scale": 0.9321799504697899,
207 "offset": [
208 1070.707845883471,
209 -5772.474994781167
210 ]
211 },
212 "frontendVersion": "1.51.10"
213 },
214 "version": 0.4
215}