My stuff

  • My Workflows

  • Liked Workflows

  • Following Workflows

Go to OpenArt main site
Upload workflow

Qwen edit replace head

5.0

0 reviews
29
16.5K
5.1K
34
Description

Use Qwen edit to achieve the effect of changing heads.

In most cases(The automatic mask coly identifies the head and Lama removes the reference image head normally),It should work fine.  In some special body postures, when erasing a large area at the same time, there is no effect or the effect is very poor. If the process generates reference images directly, please check the automatic mask and Lama. In some cases, the automatic mask is inaccurate, which causes Lama to be unable to remove the head of the reference image, resulting in invalidation.

If the effect is not good for some special poses, you can try to generate a facemesh mediapipe map of the reference image and remove the background to generate a transparent background and overlay it with the reference image with the head removed as a second reference image.

V2 Just added a mask to guide the face position for the model

This workflow is for research and learning purposes only. Do not use it for purposes that violate local laws.

Discussion

(No comments yet)

Loading...

Author

2
5.4K
32
17.5K

No reviews yet

  • - latest (2 months ago)

  • - v20250927-172112

  • - v20250925-143734

Primitive Nodes (6)

BiRefNetRMBG (1)

CFGNorm (1)

ImageResizeKJv2 (1)

MarkdownNote (1)

ModelSamplingAuraFlow (1)

TextEncodeQwenImageEditPlus (1)

Custom Nodes (28)

a-person-mask-generator

  • - APersonMaskGenerator (1)

ComfyUI

  • - UNETLoader (1)

  • - CLIPLoader (1)

  • - LoraLoaderModelOnly (1)

  • - LoadImage (2)

  • - SaveImage (1)

  • - VAEDecode (1)

  • - ConditioningZeroOut (1)

  • - PreviewImage (3)

  • - ImageScaleToTotalPixels (2)

  • - MaskToImage (1)

  • - VAELoader (1)

  • - VAEEncode (1)

  • - KSampler (1)

  • - GetImageSize+ (1)

  • - UltralyticsDetectorProvider (1)

  • - BboxDetectorSEGS (1)

  • - SegsToCombinedMask (1)

  • - LayerUtility: LaMa (1)

  • - LayerUtility: ImageBlendAdvance (1)

  • - ImageConcanate (2)

  • - GrowMaskWithBlur (1)

  • - JWImageResizeByShorterSide (1)

Checkpoints (0)

LoRAs (1)

Qwen\Qwen-Image-Lightning-4steps-V2.0.safetensors