ComfyPilotComfyPilot
工作流 / 图像工具 / 图像放大: Topaz Reimagine
图像放大: Topaz Reimagine

图像放大: Topaz Reimagine

Image Upscale: Topaz Reimagine

使用 Topaz 的 Reimagine 模型进行专业图像增强,同时增强人脸并恢复图像细节。

图像工具 6 个节点 1 个输入 53 次使用 ComfyUI ≥ 0.30.2 ComfyUI 7 KB

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

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

节点构成

LoadImage × 1
SaveImage × 1
ImageCompare × 1
GetImageSize × 1
ResizeImageMaskNode × 1
TopazImageEnhanceV2 × 1

官方标注的模型

ReimagineTopaz

工作流 JSON

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

1{
2 "id": "221c430d-e1b0-4eba-acf0-39172eb60bc8",
3 "revision": 0,
4 "last_node_id": 11,
5 "last_link_id": 16,
6 "nodes": [
7 {
8 "id": 2,
9 "type": "LoadImage",
10 "pos": [
11 -1330,
12 1830
13 ],
14 "size": [
15 440,
16 430
17 ],
18 "flags": [],
19 "order": 0,
20 "mode": 0,
21 "inputs": [],
22 "outputs": [
23 {
24 "name": "IMAGE",
25 "type": "IMAGE",
26 "links": [
27 7,
28 12,
29 13
30 ]
31 },
32 {
33 "name": "MASK",
34 "type": "MASK",
35 "links": null
36 }
37 ],
38 "properties": {
39 "Node name for S&R": "LoadImage"
40 },
41 "widgets_values": [
42 "api_topaz_image_enhance_input_image.webp",
43 "image"
44 ],
45 "widgets_values_named": {
46 "image": "api_topaz_image_enhance_input_image.webp",
47 "upload": "image"
48 }
49 },
50 {
51 "id": 3,
52 "type": "SaveImage",
53 "pos": [
54 -310,
55 1830
56 ],
57 "size": [
58 440,
59 350
60 ],
61 "flags": [],
62 "order": 4,
63 "mode": 0,
64 "inputs": [
65 {
66 "name": "images",
67 "type": "IMAGE",
68 "link": 16
69 }
70 ],
71 "outputs": [
72 {
73 "name": "images",
74 "type": "IMAGE",
75 "links": [
76 8
77 ]
78 }
79 ],
80 "properties": [],
81 "widgets_values": [
82 "Topaz"
83 ],
84 "widgets_values_named": {
85 "filename_prefix": "Topaz"
86 }
87 },
88 {
89 "id": 8,
90 "type": "ImageCompare",
91 "pos": [
92 200,
93 1830
94 ],
95 "size": [
96 400,
97 350
98 ],
99 "flags": [],
100 "order": 5,
101 "mode": 0,
102 "inputs": [
103 {
104 "name": "image_a",
105 "shape": 7,
106 "type": "IMAGE",
107 "link": 7
108 },
109 {
110 "name": "image_b",
111 "shape": 7,
112 "type": "IMAGE",
113 "link": 8
114 }
115 ],
116 "outputs": [],
117 "properties": {
118 "Node name for S&R": "ImageCompare"
119 },
120 "widgets_values": [],
121 "widgets_values_named": []
122 },
123 {
124 "id": 9,
125 "type": "GetImageSize",
126 "pos": [
127 -1220,
128 2560
129 ],
130 "size": [
131 140,
132 70
133 ],
134 "flags": [],
135 "order": 2,
136 "mode": 0,
137 "inputs": [
138 {
139 "name": "image",
140 "type": "IMAGE",
141 "link": 9
142 }
143 ],
144 "outputs": [
145 {
146 "name": "width",
147 "type": "INT",
148 "links": [
149 14
150 ]
151 },
152 {
153 "name": "height",
154 "type": "INT",
155 "links": [
156 15
157 ]
158 },
159 {
160 "name": "batch_size",
161 "type": "INT",
162 "links": null
163 }
164 ],
165 "properties": {
166 "Node name for S&R": "GetImageSize"
167 }
168 },
169 {
170 "id": 10,
171 "type": "ResizeImageMaskNode",
172 "pos": [
173 -1250,
174 2350
175 ],
176 "size": [
177 270,
178 110
179 ],
180 "flags": [],
181 "order": 1,
182 "mode": 0,
183 "inputs": [
184 {
185 "name": "input",
186 "type": "IMAGE,MASK",
187 "link": 12
188 }
189 ],
190 "outputs": [
191 {
192 "name": "resized",
193 "type": "IMAGE",
194 "links": [
195 9
196 ]
197 }
198 ],
199 "properties": {
200 "Node name for S&R": "ResizeImageMaskNode"
201 },
202 "widgets_values": [
203 "scale by multiplier",
204 1,
205 "area"
206 ],
207 "widgets_values_named": {
208 "resize_type": "scale by multiplier",
209 "resize_type.multiplier": 1,
210 "scale_method": "area"
211 }
212 },
213 {
214 "id": 11,
215 "type": "TopazImageEnhanceV2",
216 "pos": [
217 -790,
218 1830
219 ],
220 "size": [
221 400,
222 360
223 ],
224 "flags": [],
225 "order": 3,
226 "mode": 0,
227 "showAdvanced": false,
228 "inputs": [
229 {
230 "name": "image",
231 "type": "IMAGE",
232 "link": 13
233 },
234 {
235 "name": "output_width",
236 "shape": 7,
237 "type": "INT",
238 "widget": {
239 "name": "output_width"
240 },
241 "link": 14
242 },
243 {
244 "name": "output_height",
245 "shape": 7,
246 "type": "INT",
247 "widget": {
248 "name": "output_height"
249 },
250 "link": 15
251 }
252 ],
253 "outputs": [
254 {
255 "name": "IMAGE",
256 "type": "IMAGE",
257 "links": [
258 16
259 ]
260 }
261 ],
262 "properties": {
263 "Node name for S&R": "TopazImageEnhanceV2"
264 },
265 "widgets_values": [
266 "Reimagine",
267 "",
268 3,
269 "All",
270 true,
271 0,
272 1,
273 true,
274 false,
275 false,
276 0,
277 0
278 ],
279 "widgets_values_named": {
280 "model": "Reimagine",
281 "model.prompt": "",
282 "model.creativity": 3,
283 "model.subject_detection": "All",
284 "model.face_enhancement": true,
285 "model.face_enhancement_creativity": 0,
286 "model.face_enhancement_strength": 1,
287 "model.face_preservation": true,
288 "model.color_preservation": false,
289 "model.crop_to_fill": false,
290 "output_width": 0,
291 "output_height": 0
292 },
293 "color": "#432",
294 "bgcolor": "#653"
295 }
296 ],
297 "links": [
298 [
299 7,
300 2,
301 0,
302 8,
303 0,
304 "IMAGE"
305 ],
306 [
307 8,
308 3,
309 0,
310 8,
311 1,
312 "IMAGE"
313 ],
314 [
315 9,
316 10,
317 0,
318 9,
319 0,
320 "IMAGE"
321 ],
322 [
323 16,
324 11,
325 0,
326 3,
327 0,
328 "IMAGE"
329 ],
330 [
331 12,
332 2,
333 0,
334 10,
335 0,
336 "IMAGE"
337 ],
338 [
339 13,
340 2,
341 0,
342 11,
343 0,
344 "IMAGE"
345 ],
346 [
347 14,
348 9,
349 0,
350 11,
351 1,
352 "INT"
353 ],
354 [
355 15,
356 9,
357 1,
358 11,
359 2,
360 "INT"
361 ]
362 ],
363 "groups": [
364 {
365 "id": 2,
366 "title": "Step 1 - Upload image",
367 "bounding": [
368 -1350,
369 1750,
370 500,
371 540
372 ],
373 "color": "#3f789e",
374 "flags": []
375 }
376 ],
377 "config": [],
378 "extra": {
379 "ds": {
380 "scale": 0.4115237233637247,
381 "offset": [
382 2155.506810184492,
383 -903.053006961613
384 ]
385 },
386 "frontendVersion": "1.53.6",
387 "VHS_latentpreview": false,
388 "VHS_latentpreviewrate": 0,
389 "VHS_MetadataImage": true,
390 "VHS_KeepIntermediate": true
391 },
392 "version": 0.4
393}