High Res Fix Script that comes with the Efficiency Nodes will give this strange error, where there is no error message but the workflow just fails to run. You may see in the ComfyUI Logs there may be an error like this:

Prompt outputs failed validation
HighRes-Fix Script 37:
Value not in list: preprocessor: ' ' not in (list of length 47)

The purpose of this High Res-Fix Script is to do High resolution upscale with the Ksample (Efficient) node. It can take an initial 512px image and upscale it by the factor specified in the script node. You can see factor of 1.5x in the screenshot below.

Many of my past workflows from the last year stopped working because of perhaps the newer features and udpates in ComfyUI.

The fix to this issue is that you have to right click on the HighRes-Fix Script node and select Fix node (recreate), which should fix and recreate the node. You can then try to run the workflow and chances are it won’t work just yet.

You will get the red box again and this time a likely popup error that says something like:

Prompt outputs failed validation HighRes-Fix Script: - Value -1 smaller than min of 0:seed

This can now be fixed by changing use_same_seed from true to false and the seed to 0

After this workflow should run well and consistently. You can even try to set the seed to -1 and it will start to be randomly generated.

High Res Script Workflow (69 downloads )

This fix at the time of writing this post fixed my issues with using HighRes-Fix Script and I’ve been able to run my past workflows without any issues. I also posted a video that can demonstrates this fix and the working workflow.

If you'd like to support our site please consider buying us a Ko-fi, grab a product or subscribe. Need a faster GPU, get access to fastest GPUs for less than $1 per hour with RunPod.io