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
Download bfs_head_v1_flux-klein_4b.safetensors from Alissonerdx/BFS-Best-Face-Swap: direct link, hf CLI and curl.
- Browser
- Download file 370 MB
-
https://huggingface.co/Alissonerdx/BFS-Best-Face-Swap/resolve/main/bfs_head_v1_flux-klein_4b.safetensors
- Command line
-
hf download hf://Alissonerdx/BFS-Best-Face-Swap/bfs_head_v1_flux-klein_4b.safetensors
-
curl -L -o bfs_head_v1_flux-klein_4b.safetensors https://huggingface.co/Alissonerdx/BFS-Best-Face-Swap/resolve/main/bfs_head_v1_flux-klein_4b.safetensors
370 MB
- Xet hash:
- 694576c6f573ee2ed6c2c4db26c0dcc29babf8ec5357a6073d2b0a4ea81cc9a4
- Size of remote file:
- 370 MB
- SHA256:
- 77aabcd6144612dd4873080b99283dd9a27977712548bee161894f62c91ff09c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.