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 sekkit/BFS-Best-Face-Swap with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use sekkit/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("sekkit/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 docs/ltx-2.md from sekkit/BFS-Best-Face-Swap: direct link, hf CLI and curl.
- Browser
- Download file 935 Bytes
-
https://huggingface.co/sekkit/BFS-Best-Face-Swap/resolve/main/docs/ltx-2.md
- Command line
-
hf download hf://sekkit/BFS-Best-Face-Swap/docs/ltx-2.md
-
curl -L -o ltx-2.md https://huggingface.co/sekkit/BFS-Best-Face-Swap/resolve/main/docs/ltx-2.md
935 Bytes
Experimental LTX-2 Head-Swap Weights
The repository also contains experimental LTX-2 in-context LoRA checkpoints:
bfs_head_swap_v1_ltx2_ic_lora_5000.safetensorsbfs_head_swap_v1_ltx2_ic_lora_6000.safetensorsbfs_head_swap_v1_ltx2_ic_lora_12000_train_3.safetensors
These files are experimental and are kept separate from the Qwen, Flux, and Krea release guides. Use them only with an LTX-2 workflow that supports the corresponding in-context LoRA contract. No LTX-2 workflow is bundled in this repository at the moment.
Do not assume that the Qwen or Flux image input order applies to LTX-2. Follow the input contract of the LTX-2 workflow you are using and test the checkpoint before a long generation.