Hello there and thanks for checking out this workflow!
—Intro—
SUPIR is a very powerful detailing/image-restoration model, capable of producing mind-blowing results, but usually requires some tweaking to do so,...
unless you have a setup that just works™, no matter the input.
Use-cases :
• (Hyper-)detailing generated images, even if they already are of high resolution and quality
• Photo-restoration tasks to get low-res and blurry content up to scratch again.
—Features—
Installation and download guide for models and nodes
►INFO guides explaining various settings
Upscaling
Florence 2 + WD14 prompting assistance
100 Steps to SUPIR — Journey to become a better image
—Custom Nodes used—
All of which can be installed through the ComfyUI-Manager
—Troubleshooting—
If nodes show up red (failing to load), check the 'Install Missing Custom Nodes' tab of the ComfyUI Manager for the missing node packs and install them.
Please check if all custom node packs load properly after installing, i.e. no
(IMPORT FAILED)messages next to any of them in the console upon ComfyUI startup.Always reload/drag'n'drop the original, downloaded workflow file into ComfyUI to reload an intact version of the workflow.
→ The last opened workflow that appears on startup shows a cached version of the workflow, "remembering" group nodes that failed due to missing nodes as failed, keeping them broken even after having everything installed correctly.
—Thanks—
The workflow would not be possible as is without these custom node packs. If you want to support the custom node creators, give them a ⭐ on their github repos! Thank you!
Feel free to ask any questions, share improvements or suggestions in the comment section!
Also let me know if you encounter any confusing points I can elaborate on and focus on improving for the next update!
Description
v3
- many changes to optimize structure and reduce clutter
- custom node pack changes :
+ : ComfyUI-Custom-Scripts
+ : ComfyUI-mxToolkit
- : ComfyUI-Easy-Use
FAQ
Comments (16)
Hello, i've trouble with the workflow, the wifi tags seems not to be working anymore, maybe because of the new update of comfy? anyway Preview caption and preview tags are broken, for me only the florence 2 node work correctly, or seem so.
I don't know how to fix it, i'm not so familiar with cg-use everywhere repo.. And i love so much your workflow, have been using the last incredetail v2 for months ago. Thx for sharing your work by the way. I'll gladly take any tips to fix it, thx
Edit: I've also tried your other workflow, SDXL advanced v8.1, i get the same trouble with some cg-use
Hey there, thank you for the kind words! 🙏
Yes the cg-use-everywhere node pack had an issue with the 1.15 frontend update, but is already fixed. Updating cg-use-everywhere should solve the issue 👌
@RedPinkRetro Hello again, i'm sorry i still have the same issues after reinstallation of cg-use...
@OtakuFra Hey there, no worries.
By the looks of it you need to reload the originally downloaded workflow file. The inputs on the nodes that miss the signal appear to be reset to default in your screenshots, which prevents them from receiving, like someone changing their number. Compare to the full workflow screenshot on the showcase here:
https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/ab5b9d8c-357d-440a-8190-b8876f04a1b0/original=true,quality=90,optimized=true/supir_incredetail_v3_workflow_screenshot.jpeg
@RedPinkRetro i always reload the original workflow, no matter what it still doesn't work.
@RedPinkRetro Can you please check if all the tags are filled in correctly? I'm wondering why are the "input <-> prep" unrelated?
I noticed another problem, I don't have a slider for the "supir tile size"... there is something wrong, I completely reinstalled comfyui four weeks ago, and since then I have a lot of problems, especially with workflows that I have been using for months
@OtakuFra The original workflow file has customized labels on the inputs that I entered, your screenshot however shows differences that can not be there when reloading the workflow file properly.
I highlighted it for clarity:
https://wormhole.app/1zl7Zy#gmxnJAzr2xgyI8PkDAB3BA
Make sure to close all open instances of the workflow when you restart Comfy, so there is only a default "Unsaved Workflow" open and then drag and drop the downloaded workflow file in again. When you have the workflow show up on startup it's only a cached version which is autosaved by Comfy together all present errors. To reload the original file, that needs to be closed first.
hello, the workflow is broken again since was node suite are obsolete, any update planned in the near future ?
Hey thanks for uploading this workstream.
I'm trying to run this on a potato RTX 3080 w/ 10GB VRAM and 32GB RAM, and keep running into OOM issues. Are there any tweaks I can make to the workflow to minimize the VRAM footprint?
Hey there, thank you for giving it a shot!
The VRAM consumption comes mainly from upscaled image size being processed by a full SDXL model and SUPIR at the same time. I believe using a 16gb 4080 and 64gb system RAM I ran into ooms with 4K x 4K images and had to run 3K x 3K as the maximum size to clamp down to.
I am not sure if it is viable, but I believe I can cut the process apart into a tiled approach that should allow much higher resolutions without oom issues. But I would need to experiment a little with that to ensure it doesn't result in seams, or rather presume there will be seams and find a way to handle that.
So, for now clamping down the max size is the only way to reduce memory usage, but I might be able to improve that. 🙏
@RedPinkRetro Thanks for the reply! I'll try dropping the target size. Cheers mate.
Hello I'm getting this error when trying to run the SUPIR part of the workflow:
got prompt Failed to validate prompt for output 36: * ImpactInt 275:1: - Return type mismatch between linked nodes: value, received_type(STRING) mismatch input_type(INT) * SUPIR_first_stage 275:2: - Return type mismatch between linked nodes: image, received_type(SUPIRVAE) mismatch input_type(IMAGE) - Value not in list: encoder_dtype: '' not in ['bf16', 'fp32', 'auto'] - Return type mismatch between linked nodes: use_tiled_vae, received_type(INT) mismatch input_type(BOOLEAN) - Return type mismatch between linked nodes: SUPIR_VAE, received_type(SUPIRMODEL) mismatch input_type(SUPIRVAE) * SUPIR_conditioner 275:0: - Return type mismatch between linked nodes: captions, received_type(IMAGE) mismatch input_type(STRING) - Return type mismatch between linked nodes: SUPIR_model, received_type(STRING) mismatch input_type(SUPIRMODEL) * SUPIR_encode 275:3: - Value not in list: encoder_dtype: 'bad quality, blurry, messy' not in ['bf16', 'fp32', 'auto'] - Return type mismatch between linked nodes: use_tiled_vae, received_type(INT) mismatch input_type(BOOLEAN) * SUPIR_sample 283:0: - Value 5 smaller than min of 32: sampler_tile_stride * SUPIR_decode 283:1: - Value 1 smaller than min of 64: decoder_tile_size - Return type mismatch between linked nodes: use_tiled_vae, received_type(INT) mismatch input_type(BOOLEAN) Output will be ignored Failed to validate prompt for output 313: Output will be ignored Prompt executed in 0.14 secondsManaged to fix that, now I get:
got prompt
Failed to validate prompt for output 313:
* SUPIR_first_stage 275:2:
- Return type mismatch between linked nodes: use_tiled_vae, received_type(INT) mismatch input_type(BOOLEAN)
* SUPIR_encode 275:3:
- Return type mismatch between linked nodes: use_tiled_vae, received_type(INT) mismatch input_type(BOOLEAN)
* SUPIR_decode 283:1:
- Return type mismatch between linked nodes: use_tiled_vae, received_type(INT) mismatch input_type(BOOLEAN)
Output will be ignored
Failed to validate prompt for output 36:
Output will be ignored
@Bliney Hey there, don't worry, that is most likely not an error on your part, but caused by ComfyUI's breaking updates. I needed to un-group-node every single workflow first, before I could even update to the newest version and am still in the process of bringing everything up to scratch despite the changes.
A fully functional update will be up in a few days, sorry about the inconvenience 🙏
@RedPinkRetro Thanks, I love Comfy, but this same problem always happens with all the workflows, especially if they are 1-2 month old.. I wish they could make the updates little bit less destructive :D








