Nodes/comfyui-timesaver/TS Universal Inpaint Sampler
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.

By AlexYez·Created 2 years ago·Updated 3 days ago· 11
TS Universal Inpaint Sampler
  • model
  • sampler
think_steps4
resample_strength1.00
CategoryTS/Image/Retouch

Inputs (3)

NameTypeDefaultDescription
modelMODELThe SAME model the guider uses — needed to read its noising schedule so resampling matches the parameterisation (eps or flow).
think_stepsINT40–20Resample iterations per denoise step. 0 = plain masked Euler; 3-6 removes seams; more = slower, cleaner.
resample_strengthFLOAT1.000.2–1Share of fresh noise per iteration. 1.0 = full resample (recommended); lower keeps more of the current draft.

Outputs (1)

NameTypeDescription
samplerSAMPLER