CivArchive
    QWEN Image Edit 2511 Segment Inpaint, swap, local edit - v1.0
    Preview 115358264
    Preview 115358266
    Preview 115358269
    Preview 115358265
    Preview 115358262
    Preview 115358268
    Preview 115358263

    A workflow for segment editing, inpainting or swapping with Qwen 2511.
    8192x4096 images can be very hard and slow to work with - but if you only need a single character it will probably be done within 20 seconds using crop and stitch. But the most important is that these edits will maintain the image quality, only modifying the part you need to.

    Load image and additional references
    Here you can load the main image to edit, decide if you want to resize it - either shrink or upscale. Then you can enable the additional reference images for swapping, inserting or just referencing them. You can also provide the mask with the main reference image - not providing it will use the whole image (unmasked) for the simple workflow, or the segmented part for the normal workflow.

    Initialize
    You can select the model, light LoRA, CLIP and VAE here. You can also provide what to segment here as well as growing mask and blur mask here.

    Sampler
    Sampler settings and you can select upscale model here (if your image is smaller than 0.75Mpx for the edit it will upscale to 1Mpx regardless, but this will also be used if you upscale the image to total megapixels).

    Nodes you will need
    Some of them already come with ComfyUI Desktop and Portable too, but this is the total list, kept to only the most well maintaned and popular nodes. For the non-simple workflow you will also need SAM3 and LayerStyle nodes, unless you swap it to your segmentation method of choice.
    RES4LYF
    WAS Node Suite
    rgthree-comfy
    ComfyUI-Easy-Use
    ComfyUI-KJNodes
    ComfyUI_essentials
    ComfyUI-Inpaint-CropAndStitch
    ComfyUI-utils-nodes


    Info
    I will be making an outpainting method in addition to further optimizing this in the coming days. The reference images were made with an earlier version of the workflow, but it still works the same.

    Description

    FAQ

    Comments (8)

    mrbaralginDec 27, 2025
    CivitAI

    I do not run workflow with this errors
    Simple:
    Loop (7,8,1) - not submitting workflow
    Segment Inpaint:
    Loop (18,23,26) - not submitting workflow

    yorgash
    Author
    Dec 28, 2025

    Not sure how old or recent your ComfyUI is, but you can try the simple one, that doesn't have loop.

    tmkc1337Jan 4, 2026· 2 reactions
    CivitAI

    This workflow is very useful, but I would really appreciate a youtube tutorial regarding it so I can fully realize it's potential.

    Thanks in advance.

    Just_hobbyJan 9, 2026
    CivitAI

    I really love this workflow! However, I’m wondering if you could provide an updated version. I suspect it might be related to my ComfyUI version—some of the node connections don’t match up properly, and when I try to reconnect them manually, the results aren’t quite right.

    yorgash
    Author
    Jan 9, 2026· 1 reaction

    I'll check and see.
    I have since added some modifications to it, like outpaint, easy use full mask (if you don't need inpaint masking) and so on.

    uqwJan 28, 2026· 1 reaction

    @yorgash any updates? 19 days passed since your promise.

    uqwJan 28, 2026· 1 reaction
    CivitAI

    Lots of additional custom nodes, but result is great! Thanks a lot!. (BTW, I'm using Qwen edit 2511 fp8mixed with lighting 4 steps LORa -- consumes about 15.6 Gb VRAM on 1536x1536. image)

    VonturoApr 6, 2026· 1 reaction
    CivitAI

    It doesn't work for me. Can you help me?

    I insert a fresh new Qwen Edit 2511 Simple.json into my ComfyUI, upload an image, write a prompt and when I try to run it the following errors appear:

    GetImageSize

    Required input is missing

    ImageUpscaleWithModel

    Required input is missing

    InpaintCropImproved

    Required input is missing

    InvertMask

    Required input is missing

    Switch image [Crystools]

    Required input is missing

    I downloaded all missing nodes and models. What's wrong here? (I'm completely new to this so I genuinely have no idea)

    Workflows
    Qwen

    Details

    Downloads
    5,040
    Platform
    CivitAI
    Platform Status
    Available
    Created
    12/27/2025
    Updated
    5/13/2026
    Deleted
    -

    Files

    qwenImageEdit2511Segment_v10.zip

    Mirrors