工作流 /
视频工具 /
视频放大: Real-ESRGAN

视频放大: Real-ESRGAN
Video Upscale: Real-ESRGAN
上传视频以使用快速GAN模型进行放大。输出分辨率由您选择的模型决定(例如2倍或4倍)。为获得最佳效果,请先放大,再调整到目标分辨率。
视频工具
7 个节点 1 个输入 31 次使用 ComfyUI ≥ 0.3.31 ComfyUI 7 KB
需要的权重
这个工作流引用了 1 个权重文件,其中 1 个能在本站模型库里找到。
RealESRGAN_x4plus.safetensors
在模型库查看
节点构成
LoadVideo
× 1
ImageUpscaleWithModel
× 1
CreateVideo
× 1
GetVideoComponents
× 1
UpscaleModelLoader
× 1
SaveVideo
× 1
MarkdownNote
× 1
官方标注的模型
Real-ESRGAN
工作流 JSON
和上面「下载工作流 JSON」是同一份文件。
1{
2 "id": "6fcb8b56-8232-4290-9b42-676373092edf",
3 "revision": 0,
4 "last_node_id": 12,
5 "last_link_id": 16,
6 "nodes": [
7 {
8 "id": 9,
9 "type": "LoadVideo",
10 "pos": [
11 730,
12 330
13 ],
14 "size": [
15 282.798828125,
16 233.0743408203125
17 ],
18 "flags": [],
19 "order": 0,
20 "mode": 0,
21 "inputs": [],
22 "outputs": [
23 {
24 "name": "VIDEO",
25 "type": "VIDEO",
26 "links": [
27 10
28 ]
29 }
30 ],
31 "properties": {
32 "cnr_id": "comfy-core",
33 "ver": "0.10.0",
34 "Node name for S&R": "LoadVideo"
35 },
36 "widgets_values": [
37 "gan_input.mp4",
38 "image"
39 ]
40 },
41 {
42 "id": 2,
43 "type": "ImageUpscaleWithModel",
44 "pos": [
45 1110,
46 450
47 ],
48 "size": [
49 320,
50 46
51 ],
52 "flags": [],
53 "order": 4,
54 "mode": 0,
55 "inputs": [
56 {
57 "name": "upscale_model",
58 "type": "UPSCALE_MODEL",
59 "link": 1
60 },
61 {
62 "name": "image",
63 "type": "IMAGE",
64 "link": 14
65 }
66 ],
67 "outputs": [
68 {
69 "name": "IMAGE",
70 "type": "IMAGE",
71 "links": [
72 13
73 ]
74 }
75 ],
76 "properties": {
77 "cnr_id": "comfy-core",
78 "ver": "0.10.0",
79 "Node name for S&R": "ImageUpscaleWithModel"
80 },
81 "widgets_values": []
82 },
83 {
84 "id": 11,
85 "type": "CreateVideo",
86 "pos": [
87 1110,
88 550
89 ],
90 "size": [
91 320,
92 78
93 ],
94 "flags": [],
95 "order": 5,
96 "mode": 0,
97 "inputs": [
98 {
99 "name": "images",
100 "type": "IMAGE",
101 "link": 13
102 },
103 {
104 "name": "audio",
105 "shape": 7,
106 "type": "AUDIO",
107 "link": 16
108 },
109 {
110 "name": "fps",
111 "type": "FLOAT",
112 "widget": {
113 "name": "fps"
114 },
115 "link": 12
116 }
117 ],
118 "outputs": [
119 {
120 "name": "VIDEO",
121 "type": "VIDEO",
122 "links": [
123 15
124 ]
125 }
126 ],
127 "properties": {
128 "cnr_id": "comfy-core",
129 "ver": "0.10.0",
130 "Node name for S&R": "CreateVideo"
131 },
132 "widgets_values": [
133 30
134 ]
135 },
136 {
137 "id": 10,
138 "type": "GetVideoComponents",
139 "pos": [
140 1110,
141 330
142 ],
143 "size": [
144 320,
145 70
146 ],
147 "flags": [],
148 "order": 3,
149 "mode": 0,
150 "inputs": [
151 {
152 "name": "video",
153 "type": "VIDEO",
154 "link": 10
155 }
156 ],
157 "outputs": [
158 {
159 "name": "images",
160 "type": "IMAGE",
161 "links": [
162 14
163 ]
164 },
165 {
166 "name": "audio",
167 "type": "AUDIO",
168 "links": [
169 16
170 ]
171 },
172 {
173 "name": "fps",
174 "type": "FLOAT",
175 "links": [
176 12
177 ]
178 }
179 ],
180 "properties": {
181 "cnr_id": "comfy-core",
182 "ver": "0.10.0",
183 "Node name for S&R": "GetVideoComponents"
184 },
185 "widgets_values": []
186 },
187 {
188 "id": 1,
189 "type": "UpscaleModelLoader",
190 "pos": [
191 730,
192 620
193 ],
194 "size": [
195 280,
196 60
197 ],
198 "flags": [],
199 "order": 1,
200 "mode": 0,
201 "inputs": [],
202 "outputs": [
203 {
204 "name": "UPSCALE_MODEL",
205 "type": "UPSCALE_MODEL",
206 "links": [
207 1
208 ]
209 }
210 ],
211 "properties": {
212 "cnr_id": "comfy-core",
213 "ver": "0.10.0",
214 "Node name for S&R": "UpscaleModelLoader",
215 "models": [
216 {
217 "name": "RealESRGAN_x4plus.safetensors",
218 "url": "https://huggingface.co/Comfy-Org/Real-ESRGAN_repackaged/resolve/main/RealESRGAN_x4plus.safetensors",
219 "directory": "upscale_models"
220 }
221 ]
222 },
223 "widgets_values": [
224 "RealESRGAN_x4plus.safetensors"
225 ]
226 },
227 {
228 "id": 12,
229 "type": "SaveVideo",
230 "pos": [
231 1500,
232 330
233 ],
234 "size": [
235 490,
236 373.625
237 ],
238 "flags": [],
239 "order": 6,
240 "mode": 0,
241 "inputs": [
242 {
243 "name": "video",
244 "type": "VIDEO",
245 "link": 15
246 }
247 ],
248 "outputs": [],
249 "properties": {
250 "cnr_id": "comfy-core",
251 "ver": "0.10.0"
252 },
253 "widgets_values": [
254 "video/ComfyUI",
255 "auto",
256 "auto"
257 ]
258 },
259 {
260 "id": 7,
261 "type": "MarkdownNote",
262 "pos": [
263 310,
264 330
265 ],
266 "size": [
267 380,
268 510
269 ],
270 "flags": [],
271 "order": 2,
272 "mode": 0,
273 "inputs": [],
274 "outputs": [],
275 "properties": [],
276 "widgets_values": [
277 "# GAN Upscaler Workflow\n\nA fast approach for upscaling videos using GAN models. It can't create new detail like diffusion can, but it's much faster.\n\n- **Model determines output size** — 2x models upscale 2x, 4x models upscale 4x\n- **Tip:** Upscale 4x first, then use a resize node to bring it down to your target resolution\n\n## Model Links\n\n- [Hugging Face:Comfy-Org/Real-ESRGAN_repackaged](https://huggingface.co/Comfy-Org/Real-ESRGAN_repackaged)\n\n**ModelScope mirrors** (alternative repo location)\n\n- [ModelScope:Comfy-Org/Real-ESRGAN_repackaged](https://modelscope.cn/models/Comfy-Org/Real-ESRGAN_repackaged)\n\n**upscale_models**\n\n- [RealESRGAN_x4plus.safetensors](https://huggingface.co/Comfy-Org/Real-ESRGAN_repackaged/resolve/main/RealESRGAN_x4plus.safetensors) (63.8 MB)\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 upscale_models/\n│ │ ├── RealESRGAN_x4plus.safetensors\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 will be updated after the stable release; nightly-supported models may not be included yet, please wait for the next stable release.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/Comfy-Org/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"
278 ],
279 "color": "#222",
280 "bgcolor": "#000"
281 }
282 ],
283 "links": [
284 [
285 1,
286 1,
287 0,
288 2,
289 0,
290 "UPSCALE_MODEL"
291 ],
292 [
293 10,
294 9,
295 0,
296 10,
297 0,
298 "VIDEO"
299 ],
300 [
301 12,
302 10,
303 2,
304 11,
305 2,
306 "FLOAT"
307 ],
308 [
309 13,
310 2,
311 0,
312 11,
313 0,
314 "IMAGE"
315 ],
316 [
317 14,
318 10,
319 0,
320 2,
321 1,
322 "IMAGE"
323 ],
324 [
325 15,
326 11,
327 0,
328 12,
329 0,
330 "VIDEO"
331 ],
332 [
333 16,
334 10,
335 1,
336 11,
337 1,
338 "AUDIO"
339 ]
340 ],
341 "groups": [],
342 "config": [],
343 "extra": {
344 "ds": {
345 "scale": 0.7627768444385532,
346 "offset": [
347 13.403563170780952,
348 83.86759283471785
349 ]
350 },
351 "frontendVersion": "1.37.11",
352 "workflowRendererVersion": "LG",
353 "VHS_latentpreview": false,
354 "VHS_latentpreviewrate": 0,
355 "VHS_MetadataImage": true,
356 "VHS_KeepIntermediate": true
357 },
358 "version": 0.4
359}