AI old photo restoration ComfyUI
AI old photo restoration ComfyUI



Image source from the internet, delete if infringement.
The role of this workflow
Repair the image and fill in colors to restore old photos (repair mainly focuses on minor damages, not very suitable for large damages at the moment)
Running configuration RTX 3060
This workflow contains multiple node groups
1. Initial repair surface node group, if the image has no damage, the entire group can be closed
2. Repair group excluding facial parts, using YoloWorld to exclude facial parts, can also be replaced with SEG
3. Repainting the color section, later only overlay the color part (there is a high possibility of gacha about colors)
Reference some ideas from the following part of the workflow
Workflow as follows: https://www.liblib.art/modelinfo/4f486617e6f0491c9f211f1ff1f3db48
4. HD node group, if there is a separate HD workflow, all HD groups in this workflow can be deleted
This workflow runs for about 377 seconds.
There are still many unsolved problems, looking forward to more good suggestions from everyone.
Model download:
CHECKPOINT
https://civitai.com/models/139562 6.46G
Place it in ComfyUI\models\checkpoints
ComfyUI Inpaint Nodes (may need to be installed manually)
https://github.com/Acly/comfyui-inpaint-nodes
Model download:
https://huggingface.co/lllyasviel/fooocus_inpaint/tree/main
Place it in ComfyUI/models/inpaint
IPAdapter
https://github.com/cubiq/ComfyUI_IPAdapter_plus
Will use node information upload in the future.