Nodes/Comfyroll Studio/πŸ”‚ CR Hires Fix Process Switch
ComfyUI Node Runs on cloud

πŸ”‚ CR Hires Fix Process Switch

Flip between latent and image upscale

By Suzie1Β·Created 3 years agoΒ·Updated 2 years agoΒ· 1,296
πŸ”‚ CR Hires Fix Process Switch
  • latent_upscale
  • image_upscale
  • LATENT
  • STRING
β—„Inputβ–Ύβ–Ί

Hi-res fix is the two-pass move behind most good high-resolution outputs: generate at the model's native size, then upscale and run a second low-denoise pass to add coherent detail. There are two ways to do that middle upscale - in latent space or as a pixel/image upscale - and they trade off differently. CR Hires Fix Process Switch lets you wire both paths into one graph and flip between them with a single widget, instead of rebuilding your workflow every time you want to compare.

It's a process-switch utility in Comfyroll Studio, the workflow-glue pack from Suzie1 and RockOfFire. It's routing logic, not the upscaler itself - the actual upscaling still happens in whatever nodes you feed it.

Latent vs image upscale, quickly

A latent upscale resizes the latent before the second pass; it tends to add and change more detail, which can be great or can drift from the original. A pixel upscale enlarges the decoded image (often with a model upscaler) and stays more faithful to what you had. Neither is "correct" - you pick per image, and this switch is what makes picking painless. Keep the second-pass denoise moderate (roughly 0.3–0.5); above that the composition starts changing rather than sharpening.

The inputs and outputs that matter

  • Input - the selector, either latent_upscale or image_upscale. This chooses which branch passes through.
  • latent_upscale / image_upscale - the two optional branches you route in. Note a quirk worth knowing: in this node both are typed LATENT, so you're switching between two latent streams (the two hi-res-fix routes you've built), and the node outputs a single LATENT to your second-pass sampler. There's also a STRING output that reports the choice.

Installing it

ComfyUI Manager β†’ search Comfyroll Studio β†’ install β†’ restart. Or:

cd ComfyUI/custom_nodes
git clone https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes

then restart. No downloads beyond the repo.

Common issues

Selected branch isn't connected. The switch only passes what you wired - if Input points at a branch you left empty, nothing comes through. Connect the route you're selecting.

Expecting it to do the upscaling. It doesn't. It's a toggle between two paths you build with upscale nodes; the detail work lives there.

Second pass changes the image too much. That's denoise, not the switch - pull the second-pass denoise down toward 0.3–0.4 to preserve the original composition.

Category🧩 Comfyroll Studio/πŸ› οΈ Utils/πŸ”‚ Process

Inputs (3)

NameTypeDefaultDescription
InputCOMBO2 options: latent_upscale, image_upscale
latent_upscaleoptLATENTβ€”
image_upscaleoptLATENTβ€”

Outputs (2)

NameTypeDescription
LATENTLATENTβ€”
STRINGSTRINGβ€”