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

xinsir
/
controlnet-depth-sdxl-1.0

Text-to-Image
Diffusers
Safetensors
Model card Files Files and versions
xet
Community
7

Instructions to use xinsir/controlnet-depth-sdxl-1.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use xinsir/controlnet-depth-sdxl-1.0 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("xinsir/controlnet-depth-sdxl-1.0", 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
controlnet-depth-sdxl-1.0
2.51 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 7 commits
xinsir's picture
xinsir
Update README.md
961552f verified about 2 years ago
  • .gitattributes
    1.63 kB
    Upload 11 files about 2 years ago
  • 000000_depth_concat.webp
    682 kB
    Upload 11 files about 2 years ago
  • 000003_depth_concat.webp
    817 kB
    Upload 11 files about 2 years ago
  • 000005_depth_concat.webp
    1.33 MB
    xet
    Upload 11 files about 2 years ago
  • 000006_depth_concat.webp
    389 kB
    Upload 11 files about 2 years ago
  • 000014_depth_concat.webp
    239 kB
    Upload 11 files about 2 years ago
  • 000015_depth_concat.webp
    787 kB
    Upload 11 files about 2 years ago
  • 000022_depth_concat.webp
    267 kB
    Upload 11 files about 2 years ago
  • 000023_depth_concat.webp
    654 kB
    Upload 11 files about 2 years ago
  • 000026_depth_concat.webp
    125 kB
    Upload 11 files about 2 years ago
  • 000031_depth_concat.webp
    523 kB
    Upload 11 files about 2 years ago
  • README.md
    2.92 kB
    Update README.md about 2 years ago
  • config.json
    1.24 kB
    Upload 2 files about 2 years ago
  • diffusion_pytorch_model.safetensors
    2.5 GB
    xet
    Upload 2 files about 2 years ago
  • masonry.webp
    4.03 MB
    xet
    Upload 11 files about 2 years ago