Image-to-Image
Diffusers
English
lora
qwen-image
qwen-image-2.1
qwen-image-edit
face-swap
head-swap
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
Ctrl+K
- docs
- images
- remote_verify
- workflows
- 2.78 kB
- 4.77 kB
- 210 MB xet
- 914 MB xet
- 590 MB xet
- 914 MB xet
- 1.31 GB xet
- 1.31 GB xet
- 1.31 GB xet
- 319 MB xet
- 1.48 GB xet
- 260 MB xet
- 370 MB xet
- 663 MB xet
- 331 MB xet
- 319 MB xet
- 590 MB xet
- 148 MB xet
- 74 MB xet
- 148 MB xet
- 307 MB xet
- 1.21 GB xet
- 148 MB xet
- 8.33 kB
- 14.4 kB
- 103 Bytes