Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

ModelsLab
/
controlnet-xl-pro

Text-to-Image
Diffusers
Safetensors
Text-to-Image
ControlNet
Diffusers
Stable Diffusion
Model card Files Files and versions
xet
Community

Instructions to use ModelsLab/controlnet-xl-pro with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use ModelsLab/controlnet-xl-pro with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("ModelsLab/controlnet-xl-pro", 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
  • Draw Things
  • DiffusionBee
controlnet-xl-pro
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
adhikjoshi's picture
adhikjoshi
Add files using upload-large-folder tool
043f9ba verified over 1 year ago
  • images
    Add files using upload-large-folder tool over 1 year ago
  • .gitattributes
    1.64 kB
    Add files using upload-large-folder tool over 1 year ago
  • README.md
    9.86 kB
    Add files using upload-large-folder tool over 1 year ago
  • config.json
    1.26 kB
    Add files using upload-large-folder tool over 1 year ago
  • diffusion_pytorch_model.safetensors
    2.51 GB
    xet
    Add files using upload-large-folder tool over 1 year ago