Nodes/SeargeSDXL/Advanced Parameters v2
ComfyUI Node Runs on cloud

Advanced Parameters v2

The dynamic-CFG and detail knobs in Searge SDXL

By SeargeDP·Created 3 years ago·Updated 2 years ago· 874
Advanced Parameters v2
  • data
  • data
dynamic_cfg_methodnone
dynamic_cfg_factor0.00
refiner_detail_boost0.00
contrast_factor0.00
saturation_factor0.00
latent_detailernone

This is the "if you know, you know" settings box in the Searge SDXL workflow - the advanced tuning knobs you leave alone until you've got the basics working and want to push image quality. It's the "Advanced Parameters v2" node, and like the other Searge input boxes it writes its values into the data-stream bus rather than doing anything on its own. The Magic Box reads them during sampling and post-processing.

The reason this node exists as a separate box is exactly so beginners don't have to see it. The main Searge UI keeps the everyday controls front and centre; this one holds the fiddly stuff - dynamic CFG methods, contrast and saturation nudges, a latent detailer mode. Most of these default to zero or none, which means "do nothing," and that's a fine place to leave them.

How it works

Each knob here modifies how the sampler behaves or how the latent gets massaged. The dynamic-CFG options change how classifier-free guidance is applied through the denoising steps (SDXL's default CFG range is roughly 5-9, and how hard you push guidance is a big lever on the "over-baked" look). The colour factors and the latent detailer are gentle post-sample adjustments. None of them are things you'd touch on a first run.

The inputs and outputs that matter

Six required controls, all with sane do-nothing defaults:

  • dynamic_cfg_method - none, interpolate, rescale, or tonemap. The one worth experimenting with. rescale and tonemap can tame blown-out contrast at higher CFG; leave it none to start.
  • dynamic_cfg_factor - how strongly that method applies (−1 to 1, default 0). Only matters once you've picked a method.
  • latent_detailer - none, normal, soft, blurry, or soft blurry. A latent-space detail tweak for the high-res pass.
  • refiner_detail_boost, contrast_factor, saturation_factor - three 0-to-1 nudges (all default 0). Small, subjective. Bump them a little, not a lot.

The single output is data (SRG_DATA_STREAM).

How to install it

Manager: search SeargeSDXL, install, restart. Manual, with the required opencv dependency:

python -m pip install opencv-python
cd ComfyUI/custom_nodes
git clone https://github.com/SeargeDP/SeargeSDXL.git

Restart ComfyUI. This node needs no extra model files of its own - it's pure parameters.

Common issues & troubleshooting

"I changed a value and nothing happened." Two likely causes. Either the value you changed only takes effect in combination with another (a dynamic_cfg_factor does nothing while dynamic_cfg_method is none), or the difference is genuinely subtle. The colour and detail factors are meant to be small adjustments; at low values they're barely visible, which is by design.

Turning everything up. Tempting, bad idea. These knobs interact, and cranking dynamic_cfg_factor, the detail boost and the colour factors together tends to produce an over-processed, HDR-ish look rather than a better image. Change one thing at a time and compare.

When to bother at all. Honestly, if your images already look good with the everyday controls, you can ignore this box entirely. It's here for the last five percent, and the SDXL "over-smooth skin" complaint people chase with these knobs is more often a sampler choice - the community's realism verdict is DPM++ 2M/3M SDE Karras over Euler a - than anything you'll fix here.

CategorySearge/UI/Inputs

Inputs (7)

NameTypeDefaultDescription
dynamic_cfg_methodCOMBOnone4 options: none, interpolate, rescale, tonemap
dynamic_cfg_factorFLOAT0.00-1–1
refiner_detail_boostFLOAT0.000–1
contrast_factorFLOAT0.000–1
saturation_factorFLOAT0.000–1
latent_detailerCOMBOnone5 options: none, normal, soft, blurry, soft blurry
dataoptSRG_DATA_STREAM

Outputs (1)

NameTypeDescription
dataSRG_DATA_STREAM