Nodes/WtlNodes/Detail Sampler (Custom Advanced) [Not Working]
ComfyUI Node

Detail Sampler (Custom Advanced) [Not Working]

A ComfyUI node in sampling/custom_sampling with 18 inputs and 3 outputs.

By Scorpiosis0·Created 11 months ago·Updated 4 days ago· 6
Detail Sampler (Custom Advanced) [Not Working]
  • noise
  • guider
  • sampler
  • sigmas
  • latent_image
  • vae
  • image
  • mask
  • latent
◄detect_at0.65►
◄mask_threshold0.35►
◄detail_scale2.00►
◄detail_denoise0.50►
◄detail_steps12►
◄detail_strength1.00►
◄min_blob_size48►
◄context_pad64►
◄max_regions3►
◄preserve_contexttrue►
◄tiled_vaefalse►
◄feather48►
Categorysampling/custom_sampling

Inputs (18)

NameTypeDefaultDescription
noiseNOISE—
guiderGUIDER—
samplerSAMPLER—
sigmasSIGMAS—
latent_imageLATENT—
vaeVAE—
detect_atFLOAT0.650.1–1Point in the schedule the detail map is read from. The generation itself always runs to completion — this only decides when to look.
mask_thresholdFLOAT0.350.02–0.95Cutoff on the normalised detail score. Everything above it becomes mask; connected areas become one island each. Lower = larger islands that can merge.
detail_scaleFLOAT2.001–4Upscale applied to every island equally, in pixel space, before re-rendering.
detail_denoiseFLOAT0.500.05–1How much of each island is re-rendered, as a fraction of the schedule. The strength dial: 0.3 refines, 0.7+ reinvents.
detail_stepsINT121–50Steps per island.
detail_strengthFLOAT1.000–1Composite opacity of the detailed result. 0 = detector only: emits the mask, skips every detail pass, returns the base image untouched.
min_blob_sizeINT488–512Islands smaller than this many pixels square are discarded as specks.
context_padINT640–512Surrounding pixels included in each crop. Too little and the crop loses the context it needs to stay consistent with the scene.
max_regionsINT31–8Islands are ranked by mean score; this many are kept.
preserve_contextBOOLEANtrueHold everything outside the island fixed during the detail pass (noise_mask inpainting) instead of regenerating the whole crop and blending after. The island is then rendered against the real surroundings at every step, so it fits what it is pasted into. Off = the previous behaviour, for A/B.
tiled_vaeBOOLEANfalseForce tiled VAE encode/decode for the island crops. comfy already retries tiled after an OOM, but only after spiking first; this keeps the peak low from the start. Turn on if large islands crash.
featherINT480–256Composite falloff in pixels, applied to the island shape.

Outputs (3)

NameTypeDescription
imageIMAGE—
maskMASK—
latentLATENT—