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

ZeroCool94
/
stable-diffusion-v1-5

Text-to-Image
Diffusers
StableDiffusionPipeline
Model card Files Files and versions
xet
Community
6

Instructions to use ZeroCool94/stable-diffusion-v1-5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use ZeroCool94/stable-diffusion-v1-5 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("ZeroCool94/stable-diffusion-v1-5", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Draw Things
  • DiffusionBee
stable-diffusion-v1-5
14 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 4 commits
patrickvonplaten's picture
patrickvonplaten
Correct `sample_size` of Stable Diffusion 1's unet to have correct width and height default
044faa7 over 3 years ago
  • feature_extractor
    Add Diffusers weights (#1) almost 4 years ago
  • safety_checker
    Add Diffusers weights (#1) almost 4 years ago
  • scheduler
    Add Diffusers weights (#1) almost 4 years ago
  • text_encoder
    Add Diffusers weights (#1) almost 4 years ago
  • tokenizer
    Add Diffusers weights (#1) almost 4 years ago
  • unet
    Correct `sample_size` of Stable Diffusion 1's unet to have correct width and height default over 3 years ago
  • vae
    Add Diffusers weights (#1) almost 4 years ago
  • .gitattributes
    1.63 kB
    Upload 3 files almost 4 years ago
  • README.md
    39 Bytes
    initial commit almost 4 years ago
  • Stable Diffusion v1-5-Pruned-ema only.ckpt
    4.27 GB
    xet
    Upload 3 files almost 4 years ago
  • Stable Diffusion-v1-5-Inpainting.ckpt
    4.27 GB
    xet
    Upload 3 files almost 4 years ago
  • model_index.json
    548 Bytes
    Add Diffusers weights (#1) almost 4 years ago