Qwen Image 2.1 Face Swap in ComfyUI | Identity Transfer - v1.0 Showcase
Qwen 2.1 face swaps deliver natural faces while keeping every scene.
Who it's for: creators who want this pipeline in ComfyUI without assembling nodes from scratch. Not for: one-click results with zero tuning - you still choose inputs, prompts, and settings.
Open preloaded workflow on RunComfy
Open preloaded workflow on RunComfy (browser)
Why RunComfy first
- Fewer missing-node surprises - run the graph in a managed environment before you mirror it locally.
- Quick GPU tryout - useful if your local VRAM or install time is the bottleneck.
- Matches the published JSON - the zip follows the same runnable workflow you can open on RunComfy.
When downloading for local ComfyUI makes sense - you want full control over models on disk, batch scripting, or offline runs.
How to use (local ComfyUI)
1. Load inputs (images/video/audio) in the marked loader nodes.
2. Set prompts, resolution, and seeds; start with a short test run.
3. Export from the Save / Write nodes shown in the graph.
Expectations - First run may pull large weights; cloud runs may require a free RunComfy account.
Overview
You can use Qwen Image 2.1 head swapping to recast characters. Add a scene and clear identity portrait. Transfer the face, hairstyle and facial hair. Keep the pose, clothing and setting. Get natural, controlled blends. Create editorials and creative scenes faster.
Important nodes:
Key nodes in Comfyui Qwen Image 2.1 Face Swap ComfyUI Workflow
TextEncodeQwenImage21 (#485)
This is the heart of the swap: it fuses the generated instruction with both images to produce the guidance Qwen‑Image‑2.1 follows. For tighter preservation of the scene, keep your instruction focused on replacing only the head while retaining pose, outfit and background. If you need gentler edits, use image‑guided mode (see the switch below) and keep negative language concise to avoid over‑constraining the model.
TextGenerateLTX2Prompt (#502)
This node distills your intent and the two images into a concise edit instruction. Use it when you want consistent phrasing and less manual prompting. If you prefer your own wording, you can bypass the generator by feeding a custom instruction and keeping it short, specific and scene‑preserving.
ComfySwitchNode (#483)
This switch routes the starting latent. Use the empty‑latent path for stronger identity transfer and stylization, or the encoder‑latent path when you want composition and lighting to cling closely to the original scene. Flip this when you see either too much drift (go image‑guided) or not enough identity transfer (go empty‑latent).
KSampler (#482)
Controls the sampling strategy and strength of the edit. A lower denoise factor will preserve more of the original head structure in image‑guided mode; a higher value will push a stronger replacement. Choose a sampler and scheduler you trust for portraits, and fix the seed when comparing variations.
ResolutionSelector (#13)
Sets the aspect ratio and pixel budget for generation. Match the original scene’s framing to reduce warping, or try a slightly larger canvas if you plan to crop. Higher resolutions capture hair detail better but increase runtime.
Notes
Qwen Image 2.1 Face Swap in ComfyUI | Identity Transfer - see RunComfy page for the latest node requirements.
