CivArchive
    QWEN Segment image editing - Kontext
    NSFW
    Preview 95440825

    This model segments a part of your image (character, toy, robot, chair, you name it), and uses QWEN's image edit model to change the segmented part. You can expand the segment mask if you want to "move it around" more.

    You can use it for removing background, changing character's appearance, action, or all of them.

    The pictures are some of the different use cases for it, but the possibilities are almost endless. I use it mostly for video generation control frame creation.

    Description

    FAQ

    Comments (12)

    disinganno234Aug 24, 2025· 2 reactions
    CivitAI

    They just introduced the Qwen canny/depth/inpaint patch, which is probably compatible with your workflow. You are a genius. You are ahead of your time.

    yorgash
    Author
    Aug 24, 2025· 2 reactions

    Thank you!
    I will be deep diving in that after I finish up my current project, I've been waiting for the inpaint as well!

    JellaiSep 11, 2025· 1 reaction

    @yorgash Looking forward to it!

    2281963585fxt614Aug 24, 2025· 2 reactions
    CivitAI

    Some Nodes Are Missing

    When loading the graph, the following node types were not found

    Preview_Mask

    disinganno234Aug 24, 2025· 2 reactions

    replace it with "Convert Mask to Image" and simple "Image Preview"

    yorgash
    Author
    Aug 24, 2025· 1 reaction

    @disinganno234 Or I think there is a MaskPreview node in ComfyUI Core (built-in) nodes too. That should also do the job!

    g1263495582Aug 26, 2025
    CivitAI

    Thanks for the workflow. Could you also test with the LanPaint custom node?

    parogideAug 28, 2025· 1 reaction
    CivitAI

    Forgive me if I am doing this wrong but i am trying to change the color of a characters tights. I mask her legs then inpaint them on the uploaded image but I do not see any changes coming though on the final image except her legs are now the color of the inpaint from the uploaded image. I am guessing I am in the wrong spot for that but I am not sure where I should set up the mask / inpaint. Thanks for any help you all can provide :)

    yorgash
    Author
    Aug 28, 2025· 2 reactions

    My mistake, I didn't rename the blue "prompt" node. You should simply write (where now there's "girl, character") what you want to segment there. So we this is an edit model, using "character" should be fine, but you can just enter "legs" there.

    After that you can write in the green prompt simply like this "change her thigh colors to XY".

    parogideAug 28, 2025· 2 reactions

    @yorgash Thank you so much! The default I saw in there was from the example with "robot" in that node's text and I missed that

    fischergirlSep 11, 2025· 1 reaction
    CivitAI

    The "Get Image size" and "ImageTransformResizeAbsolute" nodes cannot be installed by clicking "install all missing nodes". Does anyone know how to get them?

    Workflows
    Flux.1 Kontext

    Details

    Downloads
    242
    Platform
    CivitAI
    Platform Status
    Available
    Created
    8/20/2025
    Updated
    5/13/2026
    Deleted
    -

    Files

    qwenSegmentImage_kontext.zip

    Mirrors

    CivitAI (1 mirrors)