ComfyUI Node
Detail Sampler (Custom Advanced) [Not Working]
A ComfyUI node in sampling/custom_sampling with 18 inputs and 3 outputs.
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)
| Name | Type | Default | Description |
|---|---|---|---|
| noise | NOISE | — | |
| guider | GUIDER | — | |
| sampler | SAMPLER | — | |
| sigmas | SIGMAS | — | |
| latent_image | LATENT | — | |
| vae | VAE | — | |
| detect_at | FLOAT | 0.650.1–1 | Point in the schedule the detail map is read from. The generation itself always runs to completion — this only decides when to look. |
| mask_threshold | FLOAT | 0.350.02–0.95 | Cutoff on the normalised detail score. Everything above it becomes mask; connected areas become one island each. Lower = larger islands that can merge. |
| detail_scale | FLOAT | 2.001–4 | Upscale applied to every island equally, in pixel space, before re-rendering. |
| detail_denoise | FLOAT | 0.500.05–1 | How much of each island is re-rendered, as a fraction of the schedule. The strength dial: 0.3 refines, 0.7+ reinvents. |
| detail_steps | INT | 121–50 | Steps per island. |
| detail_strength | FLOAT | 1.000–1 | Composite opacity of the detailed result. 0 = detector only: emits the mask, skips every detail pass, returns the base image untouched. |
| min_blob_size | INT | 488–512 | Islands smaller than this many pixels square are discarded as specks. |
| context_pad | INT | 640–512 | Surrounding pixels included in each crop. Too little and the crop loses the context it needs to stay consistent with the scene. |
| max_regions | INT | 31–8 | Islands are ranked by mean score; this many are kept. |
| preserve_context | BOOLEAN | true | Hold 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_vae | BOOLEAN | false | Force 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. |
| feather | INT | 480–256 | Composite falloff in pixels, applied to the island shape. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| mask | MASK | — |
| latent | LATENT | — |