CivArchive
    Utopian Inpainting workflow - v1.5
    Preview 108373332

    Over view

    This is a simple workflow designed to closely reproduce the inpainting features available in WebUI. And specifically designed for use with my model, Utopian Inpainting.

    Update: Changed sam2 to sam3
    Old update: Added Openpose, Detail daemon, fill mask area, basic Adetailer, and more.
    I realized the pure SDXL models is good as a refiner. After testing several options, Epic Realism delivered good performance with both high-resolution and low-resolution images.
    Set the sampler 2 configuration to "dpmpp_2m_sde" "karras" and try adjusting the "refiner ratio" to around "0.6 to 0.8"

    -Basic feauture-

    • Inpainting with refiner model

    • Inpainting full image and crop image select

    • Pre-resize image with scale by % and long_side resize select

    • Basic K-sampler and Lanpaint support

    • Manual mask and sam2 Auto masking select

    • Optional Vae and Clip selector

    • Postprocess Mask detailer (testing)

    Upcoming Update plan: Outpainting Support, More Accurate Auto masking.

    -How to use-

    Resources you need:

    Settings:

    [Optional loader]
    Select if you want to use Clip or VAE instead.

    [Inpaint mode]
    -Normal
    Normal Inpainting.
    -Refiner
    Inpainting with refiner.
    -Lanpaint
    Use Lanpaint, The output results are different from Ksampler. It is difficult to say which is better.

    [Resize method]
    -percentage
    Pre-resize image with scaled %.
    -Long side
    Pre-resize the image based on the long edge.

    [Inpaint area]
    full
    Inpaint with pre-resized image size.
    -crop
    Crop pre-resized image according to mask.

    • crop target size
      Scales the size of the crop from the image.

    Cropped_image = Original_img * Pre-resize * crop_target_size
    • crop mask extend
      How much of the image to crop from the mask.

    [Mask method]
    -Manual
    Right-click on the load image and select "Open in mask editor" to manually draw a mask.
    -Auto
    A mask is generated automatically; use the mask prompt to define the area you want to mask.

    [Postprocess]
    -After Detailer
    Enhance the Inpainted image by running a mild inpainting pass after finished.
    -with refiner
    Also use refiner model when Detailer. (With refiner doesn’t perform well at the moment)

    • Detailer denoise
      recommended 0.3 ~ 0.5

    • Detailer zoom
      Set how much of the surrounding area is included when cropping.
      The higher the value, the more area around the mask will be cropped.

    Description

    Adds outpaint option

    FAQ

    Comments (4)

    gmlwn11795Nov 5, 2025· 1 reaction
    CivitAI

    Would this workflow help me correct six fingers to five?
    I’ve been struggling with this a lot, and it’s really exhausting

    habibing
    Author
    Nov 5, 2025

    If you adjust the crop region properly, you can enlarge the image part and improve the hand accuracy, but hand is more of a model issue, so I think it's difficult.

    KayleeHarperNov 6, 2025· 1 reaction
    CivitAI

    Thank you for this - sometimes the afterdetailer has weird affects on skin - any recommendation

    habibing
    Author
    Nov 7, 2025

    I think you're referring to the afterdetailer with refiner. I'm not sure what the best combination of refiner ratio and sampler selection is. Using ddmpp 2s a and ddim uniform helps a bit, but this doesn't seem to be the best option.

    It seems that using the refiner model directly at around 0.3 without using the refiner produces better results. In the next update, I plan to make it possible to choose between using the in-paint model or using the refiner model directly when using afterdetailer.

    Workflows
    Illustrious

    Details

    Downloads
    450
    Platform
    CivitAI
    Platform Status
    Available
    Created
    10/31/2025
    Updated
    5/14/2026
    Deleted
    -

    Files

    utopianInpainting_v15.zip

    Mirrors

    CivitAI (1 mirrors)