ComfyPilotComfyPilot
工作流 / 图像 / Grok Imagine 图像 2.0:图像编辑
Grok Imagine 图像 2.0:图像编辑

Grok Imagine 图像 2.0:图像编辑

Grok Imagine Image 2.0: Image Edit

Grok Imagine Image 2.0 使用 xAI 的 Aurora 引擎执行精确的图像编辑和文本渲染,让您可以通过自然语言修改特定元素、更换背景或重新设计场景,并输出清晰简洁的短文本。它最多可接受 3 张参考图像,以 1K 或 2K 分辨率生成 14 种宽高比的图像,并在不同场景中保持强大的人物一致性。非常适合海报和封面设计、产品和品牌视觉,或多场景角色工作流。

图像 4 个节点 2 个输入 591 次使用 ComfyUI ≥ 0.32.0 ComfyUI 5 KB

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

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

节点构成

LoadImage × 2
GrokImageEditNodeV2 × 1
SaveImage × 1

官方标注的模型

Grok Imagine Image 2.0

工作流 JSON

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

1{
2 "id": "763b221c-1a10-4565-bb0f-81877431b8b9",
3 "revision": 0,
4 "last_node_id": 13,
5 "last_link_id": 8,
6 "nodes": [
7 {
8 "id": 10,
9 "type": "GrokImageEditNodeV2",
10 "pos": [
11 1390,
12 6790
13 ],
14 "size": [
15 399.984375,
16 373.890625
17 ],
18 "flags": [],
19 "order": 2,
20 "mode": 0,
21 "inputs": [
22 {
23 "label": "image_1",
24 "name": "model.images.image_1",
25 "type": "IMAGE",
26 "link": 6
27 },
28 {
29 "label": "image_2",
30 "name": "model.images.image_2",
31 "shape": 7,
32 "type": "IMAGE",
33 "link": 8
34 },
35 {
36 "label": "image_3",
37 "name": "model.images.image_3",
38 "shape": 7,
39 "type": "IMAGE",
40 "link": null
41 }
42 ],
43 "outputs": [
44 {
45 "name": "IMAGE",
46 "type": "IMAGE",
47 "links": [
48 7
49 ]
50 }
51 ],
52 "properties": {
53 "Node name for S&R": "GrokImageEditNodeV2"
54 },
55 "widgets_values": [
56 "Create a vertical beauty product photography image. Use the first reference image as the character reference, keeping the young woman’s facial features, hairstyle, and cobalt blue textured outfit. Use the second reference image as the product reference, keeping the square pink matte lipstick.\n\nShoot in a close-up three-quarter side profile. The model does not face the camera directly. Show only her head, shoulders, neck, and one hand holding the lipstick. She raises the pink lipstick close to her lips and gently applies it, clearly showing the action of using the product.\n\nThe composition should focus tightly on her lips, the lipstick bullet, the lipstick tube, and her hand. The product and the lip application motion must be the most visible part of the image.\n\nUse soft diffused studio daylight, a clean minimalist background, and a balanced color palette of cobalt blue and light pink. Use shallow depth of field. Keep the lipstick, lips, and hand in sharp focus, while the rest of the face and background fall into soft blur. The overall style should look like high-end commercial beauty product photography, realistic skin texture, soft shadows, and premium makeup advertising atmosphere.",
57 "grok-imagine-image-2.0",
58 "1K",
59 1,
60 "medium",
61 "auto",
62 733312228,
63 "randomize"
64 ],
65 "color": "#432",
66 "bgcolor": "#653"
67 },
68 {
69 "id": 11,
70 "type": "LoadImage",
71 "pos": [
72 1050,
73 6790
74 ],
75 "size": [
76 289.984375,
77 329.984375
78 ],
79 "flags": [],
80 "order": 0,
81 "mode": 0,
82 "inputs": [],
83 "outputs": [
84 {
85 "name": "IMAGE",
86 "type": "IMAGE",
87 "links": [
88 6
89 ]
90 },
91 {
92 "name": "MASK",
93 "type": "MASK",
94 "links": null
95 }
96 ],
97 "properties": {
98 "Node name for S&R": "LoadImage"
99 },
100 "widgets_values": [
101 "model_blue_outfit.png",
102 "image"
103 ]
104 },
105 {
106 "id": 12,
107 "type": "SaveImage",
108 "pos": [
109 1830,
110 6790
111 ],
112 "size": [
113 349.984375,
114 369.984375
115 ],
116 "flags": [],
117 "order": 3,
118 "mode": 0,
119 "inputs": [
120 {
121 "name": "images",
122 "type": "IMAGE",
123 "link": 7
124 }
125 ],
126 "outputs": [
127 {
128 "name": "images",
129 "type": "IMAGE",
130 "links": null
131 }
132 ],
133 "properties": [],
134 "widgets_values": [
135 "Grok_imagine_image_2.0"
136 ]
137 },
138 {
139 "id": 13,
140 "type": "LoadImage",
141 "pos": [
142 1050,
143 7200
144 ],
145 "size": [
146 289.984375,
147 329.984375
148 ],
149 "flags": [],
150 "order": 1,
151 "mode": 0,
152 "inputs": [],
153 "outputs": [
154 {
155 "name": "IMAGE",
156 "type": "IMAGE",
157 "links": [
158 8
159 ]
160 },
161 {
162 "name": "MASK",
163 "type": "MASK",
164 "links": null
165 }
166 ],
167 "properties": {
168 "Node name for S&R": "LoadImage"
169 },
170 "widgets_values": [
171 "pink_lipstick.png",
172 "image"
173 ]
174 }
175 ],
176 "links": [
177 [
178 6,
179 11,
180 0,
181 10,
182 0,
183 "IMAGE"
184 ],
185 [
186 7,
187 10,
188 0,
189 12,
190 0,
191 "IMAGE"
192 ],
193 [
194 8,
195 13,
196 0,
197 10,
198 1,
199 "IMAGE"
200 ]
201 ],
202 "groups": [],
203 "config": [],
204 "extra": {
205 "ds": {
206 "scale": 0.6781818555544203,
207 "offset": [
208 -262.8912248110919,
209 -6005.100845917669
210 ]
211 },
212 "frontendVersion": "1.48.7"
213 },
214 "version": 0.4
215}