Nodes/cgem156-ComfyUI๐ŸŒ/CD Tuner ๐ŸŒ
ComfyUI Node

CD Tuner ๐ŸŒ

Push detail and contrast without a LoRA or a finetune

By laksjdjfยทCreated 2 years agoยทUpdated about a month agoยท 93
CD Tuner ๐ŸŒ
  • model
  • MODEL
โ—„detail_10.0โ–บ
โ—„detail_20.0โ–บ
โ—„contrast_10.0โ–บ
โ—„start0โ–บ
โ—„end1000โ–บ

The pack's own README is upfront about what this is: a partial reimplementation of hako-mikan/sd-webui-cd-tuner, a well-known A1111 extension for nudging color, detail, and contrast directly at the model level - no LoRA to train or download, no finetune, just a handful of sliders that scale specific parts of the model's behavior during sampling.

How it works

Rather than changing your prompt or swapping models, CD_Tuner patches the model itself so that detail and contrast get pushed up or down during generation, within a step window you control. It's the same category of trick as other model-patching tuners: cheap to apply, easy to overdo, and worth comparing against your prompt/CFG settings before assuming you need it at all - sometimes what looks like "needs more detail" is actually a steps or sampler problem.

Inputs and outputs that matter

  • model - the model to patch.
  • detail_1 and detail_2 (both default 0, range โˆ’10 to 10) - two separate detail-strength dials. Positive values push toward more fine detail/sharpness, negative toward softer output; having two lets you tune more than one axis of "detail" independently rather than one blunt slider.
  • contrast_1 (default 0, range โˆ’20 to 20) - pushes overall image contrast up or down.
  • start and end (default 0 and 1000, range 0โ€“1000) - the window, over the sampling schedule, where the tweak is active. Left at the full 0โ€“1000 default it applies across the whole run; narrowing the window lets you apply the effect only during part of the denoising process, similar in spirit to how other schedule-windowed patches work.
  • Output: MODEL, patched and ready for your sampler.

The node's own defaults (0 for every strength value) mean it does nothing until you actually move a slider - safe to drop into a graph and dial in gradually rather than something that changes your output the moment you add it.

Installing it

ComfyUI Manager โ†’ search cgem156-ComfyUI๐ŸŒ โ†’ install โ†’ restart. Or:

cd ComfyUI/custom_nodes
git clone https://github.com/laksjdjf/cgem156-ComfyUI

then restart ComfyUI. Nothing extra to download for this node.

Common issues & troubleshooting

Images turn artifacted or oversaturated. This is the classic failure mode of any detail/contrast tuner pushed too far - the pack's own sliders go up to ยฑ10 and ยฑ20, but useful values are almost always much smaller. Nudge in small steps and compare against a baseline with everything at 0 rather than jumping straight to a large value.

No visible effect. All four strength fields default to 0, meaning the node is a no-op until you actually change something - if you added the node expecting an effect and see none, check that detail_1/detail_2/contrast_1 aren't still sitting at their defaults.

Effect only wanted in part of the generation. That's what start/end are for - narrow the window if you want the tweak active only during, say, the later refinement steps rather than from the very first step of sampling.

Looking for the full original extension's feature set. The README is explicit that this only implements "a portion of" sd-webui-cd-tuner's functionality - if you're coming from the A1111 extension expecting full parity, some of its controls simply aren't here.

Categorycgem156 ๐ŸŒ/cd-tuner

Inputs (6)

NameTypeDefaultDescription
modelMODELโ€”
detail_1FLOAT0.0-10โ€“10โ€”
detail_2FLOAT0.0-10โ€“10โ€”
contrast_1FLOAT0.0-20โ€“20โ€”
startINT00โ€“1000โ€”
endINT10000โ€“1000โ€”

Outputs (1)

NameTypeDescription
MODELMODELโ€”