ComfyUI Node
TS Lama Cleanup
Interactive defect removal with the LaMa inpainting model. Open an image with the in-node Load Image button, paint over small defects with a brush, and the selected region is cleaned up automatically on mouse-up. Saves edits to the ComfyUI temp folder; the IMAGE output emits the current state on workflow execution.
TS Lama Cleanup
- image
◄source_path►
◄brush_size40►
◄max_resolution512►
◄mask_padding64►
◄feather4►
◄session_id►
◄working_path►
CategoryTS/Image/Retouch
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| source_path | STRING | Internal: annotated path of the loaded source image. | |
| brush_size | INT | 401–400 | Brush diameter in image pixels. |
| max_resolution | INT | 512128–2048 | Maximum longest-side of the LaMa crop in pixels. |
| mask_padding | INT | 640–512 | Context padding around the mask bounding box. |
| feather | INT | 40–64 | Composite seam feather radius (pixels). |
| session_id | STRING | Internal: per-node working session id. | |
| working_path | STRING | Internal: path to the current temp working file. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | Current cleaned-up image from the in-node editor. |