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