Skip to content
Node packVerifiedExternal
Open source

comfyui_lama_with_refiner

Nodes for large image inpainting with ComfyUI: LaMa with refinement

Maintainer@fpluUnratedgrade

Package profile

Status
Verified
Publisher
@fplu
Source
GitHub

README

ComfyUI LaMa with Refiner Inpaint Nodes

Large-image inpainting in ComfyUI using LaMa followed by a refinement stage.


Installation

1 / 2 Install the custom node

cd PATH_TO_COMFYUI/ComfyUI/custom_nodes
git clone https://github.com/fplu/comfyui_lama_with_refiner.git

2 / 2 Download the LaMa model

Download big-lama.pt from any of the mirrors below and place it in PATH_TO_COMFYUI/ComfyUI/models/inpaint/ (create the inpaint folder if it doesn’t already exist).


How to Use in ComfyUI

  1. Add a Load Inpaint LaMa Model node and select big-lama.pt.

  2. Add an Inpaint (LaMa + Refinement) node and connect:

    • Model → output of Load Inpaint LaMa Model
    • Image → image you want to inpaint
    • Mask → corresponding mask of the image

Acknowledgements

Nodes in this pack

2 nodes
  • INPAINT_InpaintWithLaMaRefinerModel
  • INPAINT_LoadInpaintLaMaModel

Sources

3 sources
GitHubSourceVersion 6e18a418ffa15a65fbd29e3eef4b98a5876b809f
github.com/fplu/comfyui_lama_with_refiner

Verified Oct 19

Source excerpts

1 excerpt

Source context: Repo fplu/comfyui_lama_with_refiner