ComfyUI Node
TS Universal Inpaint Sampler
Training-free inpainting sampler for ANY diffusion model — no Fill checkpoint or ControlNet needed. Plug into SamplerCustomAdvanced and feed a latent with a noise mask (SetLatentNoiseMask): between denoise steps it runs extra 'think' iterations that settle the masked region against the surrounding context. Roughly (1 + think_steps)x slower than a plain sampler.
TS Universal Inpaint Sampler
- model
- sampler
◄think_steps4►
◄resample_strength1.00►
CategoryTS/Image/Retouch
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| model | MODEL | The SAME model the guider uses — needed to read its noising schedule so resampling matches the parameterisation (eps or flow). | |
| think_steps | INT | 40–20 | Resample iterations per denoise step. 0 = plain masked Euler; 3-6 removes seams; more = slower, cleaner. |
| resample_strength | FLOAT | 1.000.2–1 | Share of fresh noise per iteration. 1.0 = full resample (recommended); lower keeps more of the current draft. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| sampler | SAMPLER | — |