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

Keltezaa
/
SD1_V2_1

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

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

  • Libraries
  • Diffusers

    How to use Keltezaa/SD1_V2_1 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("Keltezaa/SD1_V2_1")
    
    prompt = "a highly detailed digital photo of a 10 year old with a blend of realism and fantasy elements. She has fair skin, striking blue eyes, and light blonde hair styled into two high pigtails tied with red ribbons. Her expression is happy and slightly melancholic.  The background is a mixture of ancient stone ruins, possibly from an abandoned castle, and vibrant green foliage, suggesting a forest or garden setting. The lighting is soft and diffused, casting a gentle glow that highlights the textures and details of her delicate features and the textures of her clothing. The overall style of this piece is highly polished digital art, with meticulous attention to detail and shading, giving it a lifelike quality"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
SD1_V2_1
681 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
Keltezaa's picture
Keltezaa
Update README.md
c41c771 verified over 1 year ago
  • images
    Add generated example (#1) over 1 year ago
  • .gitattributes
    2.31 kB
    initial commit over 1 year ago
  • README.md
    1.25 kB
    Update README.md over 1 year ago
  • nsfw-xl-2.1.safetensors
    681 MB
    xet
    Add 2 files over 1 year ago