CivArchive
    Qwen Edit - face swap, head swap, anything swap workflow - Qwen Edit head/face swap
    NSFW
    Preview 106102949
    Preview 106111527
    Preview 106100410
    Preview 106100412
    Preview 106112529
    Preview 106113285
    Preview 106115308
    Preview 106115310
    Preview 106115309
    Preview 106101832
    Preview 106101835
    Preview 106107854
    Preview 106108623

    Qwen Edit don't really like to do face swaps by prompting only. But there's way to force him to do this.
    Whole trick is around marking some area in image in red color (just blob, square) passing additional image that would fit into that area (like face) and telling magic word "remove red area". Poor Qwen don't have a choice and have to put something in a place of red blob.

    • workflow uses rembg node to color masked area as red and openpose node to generate pose

    • you can use any color, will probably work

    • you can pass collage of 2-12 photos of person (in one image) with different perspectives and emotions (only face closeups)

    • you can use this trick to replace anything, like a hairstyle only, shoe, car (without openpose then)

    • all can be more automated with some face auto masking, but I want release simple stuff

    • if red is somehow passed to result image, like a red santa hat, make blob more round

    • it will come out plastic fantastic and not really matching the skin color, but light/shadows will be correct (skin tone matching anybody?)

    • you can add to prompt stuff like "wearing sunglasses", will totally work

    • if you mask 2 faces and pass 2 images (in one) of two different persons there's a good chance it will work (probably depends how distinct are those faces)

    • to increase quality you can cut out only face and torso (to provide body size context) and pass only that, then stitch it

    • you can use this red area trick to just perfectly inpaint/outpaint (no additional image)

    In v2 I've added some stuff to use only masked area and leave rest of pixel untouched (exact same final image size). Sometimes qwen changes stuff outside red area, then this will not work.

    You can try remove bypass on "Set Latent Noise Mask" and/or "ReferenceLatent Image 1" if things get weird, maybe it will help.

    Description

    FAQ

    Comments (7)

    chaelinclOct 17, 2025
    CivitAI

    Hi! I have a question, I don't have the scheduler beta57. I am using the installed version of comfyui so it is probably the reason but do you know how can I get it?

    Luntrix
    Author
    Oct 17, 2025· 1 reaction

    sorry, just don't use beta57, use "simple", forgot to change that

    zGenMediaOct 20, 2025· 1 reaction

    Search in Comfy Manager for RES4LYF

    chaelinclOct 22, 2025· 1 reaction

    @zGenMedia Thanks! This worked:D

    Sara_and_HannahOct 18, 2025
    CivitAI

    It worked well with some testing, thanks for the workflow.

    Alas, I guess Qwen is just like all the others, anything more than a bit of boob, and it rejects my changes.

    SwapThatLadOct 19, 2025
    CivitAI

    IIs there a way to control or set the resolution for the final image in the end?

    Luntrix
    Author
    Oct 21, 2025

    yea, I've released new version for this

    Workflows
    Qwen

    Details

    Downloads
    1,936
    Platform
    CivitAI
    Platform Status
    Available
    Created
    10/14/2025
    Updated
    5/1/2026
    Deleted
    -

    Files

    qwenEditFaceSwapHeadSwap_qwenEditHeadFaceSwap.zip