Finally sharing my stable, production-ready head swap workflow for ComfyUI. No custom LoRA training needed.
Profil d'exécution
Description de la source
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 sourceExtraits de sources
1 extraitSource 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.
Exigences
Text encoder · 8.74 GB · Hugging Face · Comfy-Org/Qwen-Image_ComfyUI
qwen_image_edit_fp8_e4m3fn.safetensors
Fichier non vérifiéCheckpoint · 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
Non résoluControlNet · Unknown
Qwen-Image-Lightning-4steps-V1.0.safetensors
Fichier non vérifiéLoRA · Hugging Face · lightx2v/Qwen-Image-Lightning · Qwen Image Lightning
Checkpoint · 15.3 GB · SAFETENSORS · Unknown
Wan2.1_VAE_upscale2x_imageonly_real_v1.safetensors
Non résoluVAE · Unknown
ComfyLiterals
TrouvéPack de nœud · Registry
ComfyMath
PossiblePack de nœud · Registry
comfyui_controlnet_aux
PossiblePack de nœud · Registry
Pack de nœud · Registry
comfyui_layerstyle
TrouvéPack de nœud · Registry
ComfyUI-AutoCropFaces
TrouvéPack de nœud · Registry
comfyui-custom-scripts
TrouvéPack de nœud · Registry
comfyui-easy-use
TrouvéPack de nœud · Registry
Pack de nœud · Registry
Pack de nœud · Registry
comfyui-ollamagemini
TrouvéPack de nœud · Registry
comfyui-rmbg
TrouvéPack de nœud · Registry
qweneditutils
Non résoluPack de nœud · Registry
RES4LYF
TrouvéPack de nœud · Registry
seedvr2_videoupscaler
Non résoluPack de nœud · Registry
was-node-suite-comfyui
PossiblePack de nœud · Registry