CivArchive
    ComfyUI — Inpainting XL/15/P/IL - v2
    NSFW
    Preview 14799891

    Hello there and thanks for checking out this workflow!

    What's new in v12? : Fixes and SubGraphs compatible with the latest ComfyUI Updates!

    Purpose

    This workflow provides a simple, solid and reliable way to efficiently inpaint images to perfection!

    I hope this proves to be a useful tool to you!

    Features

    • LoRA support

    • Batch Processing

    • Flexible Before/After Preview for any batch size and mask amount

    • Image Filter to cherry pick

    • Tutorial guide for nodes and settings in dedicated ►INFO boxes

    Common Issues

    • ValueError: Width and height must be >= 0
      → Make sure you masked an area on the node named "Mask"

    Custom Nodes

    All of which can be installed through the ComfyUI-Manager


    Troubleshooting

    1. If nodes show up red (failing to load), check the 'Install Missing Custom Nodes' tab of the ComfyUI Manager for the missing node packs and install them.

    2. Please check if all custom node packs load properly after installing, i.e. no (IMPORT FAILED) messages next to any of them in the console upon ComfyUI startup.

    3. Always reload/drag'n'drop the original, downloaded workflow file into ComfyUI to reload an intact version of the workflow.

      → The last opened workflow that appears on startup shows a cached version of the workflow, "remembering" group nodes that failed due to missing nodes as failed, keeping them broken even after having everything installed correctly.


    Thanks

    The workflow would not be possible as is without these custom node packs. If you want to support the custom node creators, give them a ⭐ on their github repos! Thank you!


    Feel free to ask any questions, share improvements or suggestions in the comment section!
    Also let me know if you encounter any confusing points I can elaborate on and focus on improving for the next update!

    Description

    v2

    — edited out a misinformation I had in one of the 'max_size' setting examples.

    Setting the size to a lower resolution than the area you want to inpaint (in case of sharp background elements) does NOT reduce the resolution, but keeps it the same instead, even with 'force_inpaint' enabled

    — minor tweaks, node renames, fixed typos, rephrased some lines

    FAQ

    Comments (3)

    4352411Jun 23, 2024· 2 reactions
    CivitAI

    works perfectly (and the notes are SUPER helpful). Also, the before/after node was a very good find

    RedPinkRetro
    Author
    Jun 23, 2024· 1 reaction

    Very glad to hear that! Thank you so much for the kind words and support!

    velantegAug 6, 2024

    Its not working at all. What you was placing in all inputs, what models to make it work?

    Workflows
    SDXL 1.0

    Details

    Downloads
    359
    Platform
    CivitAI
    Platform Status
    Available
    Created
    6/6/2024
    Updated
    5/13/2026
    Deleted
    -

    Files

    comfyuiInpaintingXL15_v2.zip

    Mirrors

    HuggingFace (1 mirrors)
    CivitAI (1 mirrors)