You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

Note: This guided head swap works best with close-up portraits. Since QIE-2511-Guided-Head-Face-Swap is an experimental model, it may produce mistakes. Please check the important information.

QIE-2511-Guided-Head-Face-Swap

QIE-2511-Guided-Head-Face-Swap is an adapter LoRA developed for Qwen’s Qwen-Image-Edit-2511 image-to-image model, designed for guided head and face swapping between two images. The model accurately transfers the head and facial identity from a source image onto a target image while preserving the target image’s original lighting, pose, composition, geometry, and overall realism. It delivers clean blends, consistent skin tones, and artifact-free results with high identity fidelity.

Quick Start with Diffusers

Compatible with versions 2509 and 2511.

pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
from diffusers.utils import load_image

# Switch to "mps" for Apple devices
pipe = DiffusionPipeline.from_pretrained(
    "Qwen/Qwen-Image-Edit-2511",
    dtype=torch.bfloat16,
    device_map="cuda"
)

pipe.load_lora_weights("prithivMLmods/QIE-2511-Guided-Head-Face-Swap")

prompt = (
    "Swap the head from Image 2 onto Image 1 while preserving "
    "Image 1 lighting and pose and Image 2 identity"
)

# Load your images as needed for the pipeline
image = pipe(prompt=prompt).images[0]

Trained on ModelScope.cn

Trigger Prompt

Use the following prompt to activate the guided head and face swap behavior:

Swap the head from Image 2 onto Image 1 while preserving Image 1 lighting and pose and Image 2 identity

Download Model

You can download the model files from the Files & versions tab: Download

Downloads last month
259
Inference Providers NEW

Model tree for prithivMLmods/QIE-2511-Guided-Head-Face-Swap

Adapter
(47)
this model

Spaces using prithivMLmods/QIE-2511-Guided-Head-Face-Swap 2

Collection including prithivMLmods/QIE-2511-Guided-Head-Face-Swap