ComfyUI Node
TBG KSampler Advanced (Inpaint Split Aware)
A ComfyUI node in TBG/Sampler with 19 inputs and 2 outputs.
TBG KSampler Advanced (Inpaint Split Aware)
- model
- positive
- negative
- latent_image
- sampler_state
- LATENT
- sampler_state
◄add_noisetrue►
◄noise_seed0►
◄steps20►
◄cfg1.00►
◄sampler_name▾►
◄scheduler▾►
◄denoise1.00►
◄start_at_step0►
◄end_at_step10000►
◄inpaint_start0►
◄inpaint_end10000►
◄smoother_sharper0.00►
◄detail_enhancer0.00►
◄return_with_leftover_noisefalse►
CategoryTBG/Sampler
Inputs (19)
| Name | Type | Default | Description |
|---|---|---|---|
| model | MODEL | — | |
| add_noise | BOOLEAN | true | Enable: add random noise (first sampler). Disable: no noise added (sampler chaining/img2img). Use 'enable' for first sampler, 'disable' for subsequent ones. |
| noise_seed | INT | 00–18446744073709550000 | — |
| steps | INT | 201–10000 | — |
| cfg | FLOAT | 1.000–100 | — |
| sampler_name | COMBO | 44 options: euler, euler_cfg_pp, euler_ancestral, euler_ancestral_cfg_pp, heun, heunpp2, +38 | |
| scheduler | COMBO | 9 options: simple, sgm_uniform, karras, exponential, ddim_uniform, beta, +3 | |
| denoise | FLOAT | 1.000–1 | — |
| positive | CONDITIONING | — | |
| negative | CONDITIONING | — | |
| latent_image | LATENT | — | |
| start_at_step | INT | 00–10000 | — |
| end_at_step | INT | 100000–10000 | — |
| inpaint_start | INT | 00–10000 | Step number where inpainting injection begins. Inpainting blends the original latent with the denoised latent within the masked area. Set to 0 to start inpainting from the first step. Higher values delay inpainting, allowing more creative freedom before preserving masked regions. |
| inpaint_end | INT | 100000–10000 | Step number where inpainting injection ends. Set to a high value (e.g., 1000) to inpaint through all steps. Lower values allow later steps to refine without mask constraints. Works with inpaint_start to define the inpainting window. |
| smoother_sharper | FLOAT | 0.00-1–1 | Dual-stage adaptive sharpening. At high sigma (early steps), adds structured noise for detail invention. At low sigma (late steps), applies high-pass edge sharpening. Positive values sharpen and add details. Negative values soften and blur. Zero disables sharpening. Higher absolute values create stronger effects. |
| detail_enhancer | FLOAT | 0.00-1–1 | Substep evaluation for detail control. Positive values (0.1-1.0): lookahead to next sigma, adds coherent details and refinement, reduces variation. Negative values (-0.1 to -1.0): lookback to previous sigma, adds creative variation and texture complexity. Zero = disabled (single pass, fastest). Performance cost: 2x slower on affected steps. |
| return_with_leftover_noise | BOOLEAN | false | Enable: keeps noise for sampler chaining. Disable: fully denoise output. Use 'enable' for split workflows, 'disable' for final step. |
| sampler_stateopt | sampler_state | Chain state from previous sampler. Leave empty for first sampler, connect for subsequent samplers in multi-pass workflows. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| LATENT | LATENT | — |
| sampler_state | sampler_state | — |