What you'll get

Viggle Image Swap is an open LoRA adapter for Qwen-Image-2.1. You give it a character sheet and a photo, and it replaces the person whole: face, hair, body and clothes. The pose, expression, framing, background and lighting stay as they were. It can swap two people in one pass, and a prop in the person's hand stays in place.

Model and examples: huggingface.co/Viggle/Viggle-Image-Swap


Check the license first

It is released under the Qwen Research license: research and testing only. For business use you need a separate deal with the Qwen team.


What you need


Step 1: Install

pip install -U torch torchvision "transformers==5.17.0" accelerate safetensors "peft==0.18.0" pillow numpy
pip install "git+https://github.com/huggingface/diffusers.git@80c7ed262aeffbeb43ef13ae04baeb9b84515a69"

The diffusers commit is pinned on purpose: the adapter was tested on it.


Step 2: Make the character sheet