Nodes/comfyui-timesaver/TS Lama Cleanup
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.

By AlexYez·Created 2 years ago·Updated 3 days ago· 11
TS Lama Cleanup
    • image
    source_path
    brush_size40
    max_resolution512
    mask_padding64
    feather4
    session_id
    working_path
    CategoryTS/Image/Retouch

    Inputs (7)

    NameTypeDefaultDescription
    source_pathSTRINGInternal: annotated path of the loaded source image.
    brush_sizeINT401–400Brush diameter in image pixels.
    max_resolutionINT512128–2048Maximum longest-side of the LaMa crop in pixels.
    mask_paddingINT640–512Context padding around the mask bounding box.
    featherINT40–64Composite seam feather radius (pixels).
    session_idSTRINGInternal: per-node working session id.
    working_pathSTRINGInternal: path to the current temp working file.

    Outputs (1)

    NameTypeDescription
    imageIMAGECurrent cleaned-up image from the in-node editor.