Instructions to use Viggle/Viggle-Image-Swap with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Viggle/Viggle-Image-Swap with Diffusers:
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-2.1", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Viggle/Viggle-Image-Swap") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
Commit History
5 days ago
-
Add release video
Verified signature572d497 -
Add --turbo: 2 LoRA steps + 6 Qwen-Image-2.1-Turbo steps
Verified signature21d9a3e -
Viggle Image Swap v0.1
Verified signaturec99de35
12 days ago
-
requirements: add torchvision (the Qwen3-VL processor needs it)
Verified signaturef63d694 -
Viggle Image Swap v0.1
Verified signature6cd9cb1 -
initial commit
Verified signatureec3dc35