Image-to-Image
Diffusers
English
lora
qwen-image
qwen-image-2.1
qwen-image-edit
face-swap
head-swap
body-swap
selective-body-swap
image-editing
comfyui
bfs
Instructions to use Alissonerdx/BFS-Best-Face-Swap with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Alissonerdx/BFS-Best-Face-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("Alissonerdx/BFS-Best-Face-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
22 days ago
-
Add BFS Body Swap Selective (Magenta) V1.0 for Qwen Image 2.1
Verified signature2209ae5
-
Document the Qwen Image 2.1 body swap weights
Verified signature0ca3913 -
Plain punctuation instead of em dashes
Verified signatured956935
-
Document the v1.1 alternative (scaled img_mlp) for Qwen Image 2.1
Verified signature5817732 -
Document v1.1 for Qwen Image 2.1 and point the workflow to it
Verified signaturee28d75b
-
Organize BFS model card and add version guides
Verified signature9ee0c9f