Home

Awesome

⚠️⚠️⚠️ Due to lack of bandwidth this repo is going archived in favor of actually mantained repos like comfyui-inpaint-nodes ⚠️⚠️⚠️

LaMa Preprocessor

Currenly only supports NVIDIA

This preprocessor finally enable users to generate coherent inpaint and outpaint prompt-free

For inpainting tasks, it's recommended to use the 'outpaint' function. Although the 'inpaint' function is still in the development phase, the results from the 'outpaint' function remain quite satisfactory.

The best results are given on landscapes, good results can still be achieved in drawings by lowering the controlnet end percentage to 0.7-0.8

Installation

  1. Manager installation (suggested): be sure to have ComfyUi Manager installed, then just search for lama preprocessor

  2. Manual Installation: clone this repo inside the custom_nodes folder

A LaMa prerocessor for ComfyUi

This is a simple workflow example.To use this, download workflows/workflow_lama.json and then drop it in a ComfyUI tab


This are some non cherry picked results, all obtained starting from this image startingImage


ComfyUI_01581_ ComfyUI_01580_ ComfyUI_01579_ ComfyUI_01578_

You can find the processor in image/preprocessors

Contributing

Everyone is invited to contribute, my school/work schedule seriously limit the time I can spend improving this project is any help is welcome.

If you would like to help to the development of this repo there are some missing features that still need to be implemented:

Thanks

This code is inspired by Mikubill/sd-webui-controlnet