Nodes/ComfyUI-Flow-Assistor/Detail Enhancer (Ultimate)
ComfyUI Node

Detail Enhancer (Ultimate)

More detail from the same steps, not another pass

By Merserk·Created 9 months ago·Updated about a month ago· 6
Detail Enhancer (Ultimate)
  • sampler
  • sampler
enhance_factor2.0
texture_boost0.5
start_percent0.10
end_percent0.80

Detail Enhancer (Ultimate) is a sampler wrapper that spends your existing steps where they count. It wraps any sampler (dpmpp_2m, euler, whatever you're already using), and instead of adding a second pass like hires-fix or ADetailer, it reallocates the same step budget toward a chosen zone of the denoising schedule and inflates the sigma curve there for sharper texture. The name overpromises slightly - it won't invent detail that isn't in the prompt - but if you've ever wanted "the details in the middle of generation to get more love," this is the node that does it.

How it works

Under the hood it takes your sampler input, wraps it in a custom KSampler, and rewrites the sigma schedule before the wrapped sampler runs. Three operations happen in sequence:

  1. Time dilation (enhance_factor) - a smooth "table-top" mask marks the zone between start_percent and end_percent of the schedule, and the steps get redistributed so more of them fall inside that zone. The tooltip calls this "time dilation in the selected sampling zone" and that's exactly what it is: factor 2 means the masked zone effectively gets twice as many steps while the rest give some up.
  2. Texture boost (texture_boost) - sigma values inside the zone get inflated so the sampler denoises harder there, forcing texture/crispness. The scaling is gentle (1.0 input ≈ 15% sigma lift); the tooltip warns values above 1.0 are strong.
  3. Safety - the curve is forced back to monotonic so a boosted sigma can't break Euler/DPM.

The inputs that matter:

  • sampler - from your sampler selector node; this is the thing being wrapped.
  • enhance_factor (1–10, default 2) - how much the zone's "time" dilates. 1.0 = no dilation.
  • texture_boost (0–5, default 0.5) - how hard the sigmas inflate for sharpness.
  • start_percent / end_percent (default 0.1 → 0.8) - the zone. If you only care about the later, low-noise portion where fine detail lives, tighten this.

Output is a sampler - same type in, same type out - so it slots between your sampler selector and the KSampler without restructuring anything. The pack also ships a Sigmas variant that applies the same math directly to a sigma schedule if you're working at that level.

The honest take

This is a step-reallocation trick, not an upscaler, and the difference matters. Hires-fix and generative upscalers add real pixels and can invent plausible detail; this node just concentrates the steps you already have, so its effect is subtle and it works best with a decent step count to start with (40+ where the zone has room to absorb). On Flux and other modern models it behaves differently than on SDXL because their schedules and step requirements are different - start with modest enhance_factor and watch, don't crank it. Its sweet spot is textures - fur, fabric, foliage - where spending extra steps mid-schedule sharpens micro-detail that a flat schedule smears.

Installing

Part of ComfyUI-Flow-Assistor - ComfyUI Manager (search "Flow Assistor") or:

cd ComfyUI/custom_nodes
git clone https://github.com/Merserk/ComfyUI-Flow-Assistor.git

Restart after cloning. Current ComfyUI required (V3-only pack); no extra dependencies.

Where people get burned

Two common misses. First, the zone defaults (10%–80%) are broad - if you leave them alone you're dilating most of the schedule, which is a small effect; narrow the zone to where your detail actually forms. Second, texture_boost past 1.0 gets aggressive fast and can produce overcooked, noisy texture, and because the boost inflates the sigma curve it can subtly shift colors if pushed hard - the monotonicity guard stops crashes, not style drift. Start at the defaults, move one slider, compare.

Categoryflow-assistor/sampling

Inputs (5)

NameTypeDefaultDescription
samplerSAMPLER
enhance_factorFLOAT2.01–10Time dilation in the selected sampling zone.
texture_boostFLOAT0.50–5Sigma inflation for sharper texture. Values above 1.0 are strong.
start_percentFLOAT0.100–1
end_percentFLOAT0.800–1

Outputs (1)

NameTypeDescription
samplerSAMPLER