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
-
Upload folder using huggingface_hub
Verified signatureb8f02bb
-
Document v1.1 for Qwen Image 2.1 and point the workflow to it
Verified signaturee28d75b
-
Upload folder using huggingface_hub
Verified signature51ffdf4
-
Add Krea 2 head v1.1 and body swap v1
Verified signaturec758d55
-
Add Krea 2 head swap model and workflow
Verified signature109846f
-
Upload folder using huggingface_hub
Verified signaturefb8369d