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

Benevolent
/
HutaoV2

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

Instructions to use Benevolent/HutaoV2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use Benevolent/HutaoV2 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("Benevolent/HutaoV2")
    
    prompt = "1girl, hu tao (genshin impact), hat, flower on hat,brown hair, twintails, smile, dress,  long hair, off-shoulder dress, ahoge, looking at viewer,  red dress, bare shoulders, grin, red eyes, flower-shaped pupils, blush, bangs, breasts, choker, collarbone, solo, nail polish, black nails, ribbon choker, bow, hair between eyes, hair ornament, sidelocks, cleavage, wrist ribbon, very long hair, teeth, cowboy shot <lora:hutao_v2:0.7>"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Draw Things
  • DiffusionBee
HutaoV2
153 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Benevolent's picture
Benevolent
Add 2 files
2f1c6bf verified over 2 years ago
  • images
    Add 2 files over 2 years ago
  • .gitattributes
    2.31 kB
    initial commit over 2 years ago
  • README.md
    1.51 kB
    initial commit over 2 years ago
  • hutao_v2.safetensors
    151 MB
    xet
    Add 2 files over 2 years ago