工作流 /
图像 /
GPT图像2:图像编辑

GPT图像2:图像编辑
GPT Image 2: Image Edit
上传参考图并编写提示词,以创建适合商业用途的广告海报、产品照片和多语言标识。该模型可生成清晰的文字和逼真的输出。
图像
3 个节点 1 个输入 168 次使用 ComfyUI ≥ 0.21.1 ComfyUI 4 KB
节点构成
SaveImage
× 1
LoadImage
× 1
OpenAIGPTImageNodeV2
× 1
官方标注的模型
GPT Image 2
工作流 JSON
和上面「下载工作流 JSON」是同一份文件。
1{
2 "id": "0e9503b6-c16d-48e4-ae4a-b02534825a17",
3 "revision": 0,
4 "last_node_id": 276,
5 "last_link_id": 385,
6 "nodes": [
7 {
8 "id": 269,
9 "type": "SaveImage",
10 "pos": [
11 -330,
12 580
13 ],
14 "size": [
15 510,
16 430
17 ],
18 "flags": [],
19 "order": 2,
20 "mode": 0,
21 "inputs": [
22 {
23 "name": "images",
24 "type": "IMAGE",
25 "link": 385
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.19.3",
38 "Node name for S&R": "SaveImage",
39 "ue_properties": {
40 "widget_ue_connectable": [],
41 "input_ue_unconnectable": [],
42 "version": "7.7"
43 }
44 },
45 "widgets_values": [
46 "gpt-image-2"
47 ]
48 },
49 {
50 "id": 271,
51 "type": "LoadImage",
52 "pos": [
53 -1230,
54 580
55 ],
56 "size": [
57 370,
58 410
59 ],
60 "flags": [],
61 "order": 0,
62 "mode": 0,
63 "inputs": [],
64 "outputs": [
65 {
66 "name": "IMAGE",
67 "type": "IMAGE",
68 "links": [
69 384
70 ]
71 },
72 {
73 "name": "MASK",
74 "type": "MASK",
75 "links": null
76 }
77 ],
78 "properties": {
79 "cnr_id": "comfy-core",
80 "ver": "0.19.3",
81 "Node name for S&R": "LoadImage",
82 "ue_properties": {
83 "widget_ue_connectable": [],
84 "input_ue_unconnectable": []
85 }
86 },
87 "widgets_values": [
88 "product_shoe.png",
89 "image"
90 ]
91 },
92 {
93 "id": 276,
94 "type": "OpenAIGPTImageNodeV2",
95 "pos": [
96 -790,
97 580
98 ],
99 "size": [
100 400,
101 420
102 ],
103 "flags": [],
104 "order": 1,
105 "mode": 0,
106 "inputs": [
107 {
108 "label": "image_1",
109 "name": "model.images.image_1",
110 "shape": 7,
111 "type": "IMAGE",
112 "link": 384
113 },
114 {
115 "label": "image_2",
116 "name": "model.images.image_2",
117 "shape": 7,
118 "type": "IMAGE",
119 "link": null
120 },
121 {
122 "label": "mask",
123 "name": "model.mask",
124 "shape": 7,
125 "type": "MASK",
126 "link": null
127 }
128 ],
129 "outputs": [
130 {
131 "name": "IMAGE",
132 "type": "IMAGE",
133 "links": [
134 385
135 ]
136 }
137 ],
138 "properties": {
139 "cnr_id": "comfy-core",
140 "ver": "0.28.0",
141 "Node name for S&R": "OpenAIGPTImageNodeV2"
142 },
143 "widgets_values": [
144 "Analyze the visual style, layout, color palette, and infographic format of the reference image. Create a product technical analysis infographic for shoe that perfectly matches the reference's design language, including layout structure, UI elements, feature callouts, and information presentation style.",
145 "gpt-image-2",
146 "auto",
147 1024,
148 1024,
149 "auto",
150 "low",
151 1,
152 0,
153 "randomize"
154 ],
155 "color": "#432",
156 "bgcolor": "#653"
157 }
158 ],
159 "links": [
160 [
161 384,
162 271,
163 0,
164 276,
165 0,
166 "IMAGE"
167 ],
168 [
169 385,
170 276,
171 0,
172 269,
173 0,
174 "IMAGE"
175 ]
176 ],
177 "groups": [],
178 "config": [],
179 "extra": {
180 "ds": {
181 "scale": 0.5775355900614667,
182 "offset": [
183 2153.754676621754,
184 -116.16172304874246
185 ]
186 },
187 "frontendVersion": "1.45.21",
188 "ue_links": [],
189 "links_added_by_ue": [],
190 "VHS_latentpreview": false,
191 "VHS_latentpreviewrate": 0,
192 "VHS_MetadataImage": true,
193 "VHS_KeepIntermediate": true
194 },
195 "version": 0.4
196}