CivArchive
    Detailing Workflow - v2.0
    NSFW
    Preview 7091885

    a general purpose inpainting workflow. this crops in and upscales JUST the crop, giving you the flexibility to resize and work with smaller images. this takes advantage of some characteristics similar to Automatic1111 inpainting with the versatility of comfyui. the screenshot is to show numbers of flow order. (you'll just have empty load images in the workflow when you download)

    nodes needed :

    should show up in find missing nodes in manager, however, offhand i recall the following being critical:

    Masquerade nodes

    impact pack

    inpsire pack

    ComfyRoll

    efficient loader

    SmZNodes

    (may be some others, but that should knock out 90% of them)

    Also pending next versions :

    i. i'm working on an upscale mask feather setting that'll do better at blending the upscaled version (you'll find if you try to do eyes, it's pretty bad with high denoise. for now just use low denoise in upscale)
    I. i'd like to split out the facedetailer to do a better job with the eyes. Impact pack's facedetailer, while awesome... for eyes does them both in 1 block ...while it's running 2 masks, it sees the eyes as one unit and puts less weight on one of the eyes if they are farther away.... resulting in mismatched eyes. this will take some time as splitting the eyes out and matching them... while keeping everything seamless is a bit complex for my level.

    V1.2 -

    updates :

    • added upscaling fix to ensure facedetailer upscales properly with mask

    • improved mask paste blending

    • added ability to increase mask to mirror Auto4 inpainting grow mask option

    • fixed failing to switch mask (added additional upscale mask switch)

    • added bypass nodes to speed up performance by disabling unneeded processes

    • added empty latent to facedetailer to allow for quick bypass without losing masks

    • added further documentation

    Description

    added more fine tuning and cleaned up some of copy / paste of nodes to make them integrate better. also included an update to allow selecting whether doing inpainting detail or face detailer

    also added ipADAPTER and an upscaling section (not intended for upscaling the image, but for blending the inpainting)

    FAQ

    Comments (2)

    ExperienceNo3249Feb 25, 2024
    CivitAI

    Are you saying this workflow crops the masked area, then upscales and allows to inpaint at a higher resolution?

    If so how do you avoid hard borders? I've noticed that sometimes when I try inpainting a cropped area

    xAlohaSnackBarx
    Author
    Feb 26, 2024

    that's right, I'm doing exactly that - cropping the masked area / then upscaling and inpainting at a higher resolution. Actually - I run 1x inpaint first - using detailer you can choose how much to crop in

    I'm also blurring the mask (this is akin to what a1111 does with it's "original" option)... the others I'm still working on but they are more or less "add noise and blur" variations. then doing the rest as you mentioned.

    as to the question of how to avoid the hard borders - feather the cropped mask... then call it again at the end when pasting it in... and keep the feather (that's actually in my latest version .... as I was also having the hard borders before).

    I found - while it's not perfect... it actually works about 95% of the time really well.

    in those cases where it fails... that's why I have another ksampler with a low denoise... to clean up that final pass.

    Workflows
    SD 1.5

    Details

    Downloads
    753
    Platform
    CivitAI
    Platform Status
    Available
    Created
    2/25/2024
    Updated
    5/13/2026
    Deleted
    -

    Files

    detailingWorkflow_v20.zip

    Mirrors

    CivitAI (1 mirrors)