Finally sharing my stable, production-ready head swap workflow for ComfyUI. No custom LoRA training needed.
Runtime profile
Source description
Finally sharing my stable, production-ready head swap workflow for ComfyUI. No custom LoRA training needed.
What it does:
Swaps heads from source → target image while preserving pose, lighting, and scene context
Runs on Qwen Edit + Lightning LoRA (4 steps) – super fast
Automatic face masking, cropping, and intelligent blending
Smart system prompts generated from both images via vision models
ControlNet + depth/structure for alignment control
Final upscale with SeedVR2 for clean, polished output
Sources
1 sourceSource excerpts
1 excerptSource context: 3855 downloads · Type Workflows · Base model Qwen
Key features: ✅ Fast (4-step Lightning LoRA) ✅ Automatic mask generation & refinement ✅ Pose + expression + lighting preservation ✅ High-resolution upscaled output
Workflow includes:
AutoCropFaces for source head detection
FaceSegment for automatic face masking
Gemini vision analysis for auto-generated system prompts
ControlNet with DepthAnythingV2 + DW Preprocessor
InpaintModelConditioning to keep backgrounds untouched
SeedVR2 + blend for final upscale
Resolution auto-management to protect your VRAM
Best results for:
Portrait photography
Half-body shots
Consistent lighting scenes
When you want natural-looking identity swaps
Customization tips:
Lower ControlNet weights if you want looser/weirder edits
Increase MaskGrow blur for softer blends
Add custom prompt for some extra-details.
Support my work Ko-fi.com/oleshevakatya
Remaining hardware or download-size estimates are not available yet.
Requirements
Text encoder · 8.74 GB · Hugging Face · Comfy-Org/Qwen-Image_ComfyUI
qwen_image_edit_fp8_e4m3fn.safetensors
File unverifiedCheckpoint · Hugging Face · Comfy-Org/Qwen-Image-Edit_ComfyUI · Comfy-Org/Qwen-Image-Edit_ComfyUI · Hugging Face
VAE · 242 MB · SAFETENSORS · Unknown
Qwen-Image-InstantX-ControlNet-Union.safetensors
Not resolvedControlNet · Unknown
Qwen-Image-Lightning-4steps-V1.0.safetensors
File unverifiedLoRA · Hugging Face · lightx2v/Qwen-Image-Lightning · Qwen Image Lightning
Checkpoint · 15.3 GB · SAFETENSORS · Unknown
Wan2.1_VAE_upscale2x_imageonly_real_v1.safetensors
Not resolvedVAE · Unknown
ComfyLiterals
FoundNode pack · Registry
ComfyMath
PossibleNode pack · Registry
comfyui_controlnet_aux
PossibleNode pack · Registry
Node pack · Registry
comfyui_layerstyle
FoundNode pack · Registry
ComfyUI-AutoCropFaces
FoundNode pack · Registry
comfyui-custom-scripts
FoundNode pack · Registry
comfyui-easy-use
FoundNode pack · Registry
Node pack · Registry
Node pack · Registry
comfyui-ollamagemini
FoundNode pack · Registry
comfyui-rmbg
FoundNode pack · Registry
qweneditutils
Not resolvedNode pack · Registry
RES4LYF
FoundNode pack · Registry
seedvr2_videoupscaler
Not resolvedNode pack · Registry
was-node-suite-comfyui
PossibleNode pack · Registry