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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

bean980310
/
headswap-xl-animagine

Text-to-Image
Diffusers
lora
template:diffusion-lora
Model card Files Files and versions
xet
Community

Instructions to use bean980310/headswap-xl-animagine with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use bean980310/headswap-xl-animagine with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("cagliostrolab/animagine-xl-3.1", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("bean980310/headswap-xl-animagine")
    
    prompt = "masterpiece, best quality, very aesthetic, absurdres, digital art, outdoors, cowboy shot, solo, a girl with the head of a boy and very handsome shortcut hair and very handsome face and perfect female body and large breasts wearing white and blue military uniform with epaulettes and aiguillette and (military white jacket with white long sleeves:1.4) and white buttoned shirt on top and (white lace trim bridal gloves:1.2) on hands and (white cape with shoulder cape:1.2) on shoulders and brown belt with gold belt buckle and (pleated blue miniskirt with white stripes:1.3) on bottom and (white thighhighs with floral lace trim:1.2) on legs and standing with legs together and gentle face"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
headswap-xl-animagine / old_version
256 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 1 commit
bean980310
Move 1 file.
6c1d869 over 1 year ago
  • headswap_xl_animagine_beta.safetensors
    256 MB
    xet
    Move 1 file. over 1 year ago