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

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 Settings
  • Draw Things
  • DiffusionBee
headswap-xl-animagine
2.78 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 17 commits
bean980310's picture
bean980310
Update README.md
e2fa9bf verified over 1 year ago
  • epochs
    Add 10 files. over 1 year ago
  • images
    Upload ComfyUI_00187_.png over 1 year ago
  • old_version
    Move 1 file. over 1 year ago
  • .gitattributes
    2.31 kB
    initial commit over 1 year ago
  • README.md
    4.66 kB
    Update README.md over 1 year ago
  • headswap-xl-animagine.safetensors
    228 MB
    xet
    Rename headswap_xl_animagine.safetensors to headswap-xl-animagine.safetensors over 1 year ago