Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Alissonerdx
/
BFS-Best-Face-Swap

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
Model card Files Files and versions
xet
Community
33

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
BFS-Best-Face-Swap / docs
18.1 kB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 5 commits
Alissonerdx's picture
Alissonerdx
Document the Qwen Image 2.1 body swap weights
0ca3913 verified 13 days ago
  • flux-2-klein.md
    1.66 kB
    Organize BFS model card and add version guides 16 days ago
  • krea-2.md
    1.27 kB
    Organize BFS model card and add version guides 16 days ago
  • ltx-2.md
    935 Bytes
    Organize BFS model card and add version guides 16 days ago
  • qwen-image-2.1-body.md
    4.31 kB
    Document the Qwen Image 2.1 body swap weights 13 days ago
  • qwen-image-2.1.md
    7.24 kB
    Plain punctuation instead of em dashes 13 days ago
  • qwen-image-edit.md
    2.72 kB
    Organize BFS model card and add version guides 16 days ago