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

lightweight
/
XBrush-Pro2

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

Instructions to use lightweight/XBrush-Pro2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use lightweight/XBrush-Pro2 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("lightweight/XBrush-Pro2", 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

You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

Gated model
You can list files but not access them

Preview of files found in this repository
  • config.json
    3.22 kB
    Add XBrush Pro2 model weights 7 months ago
  • generation_config.json
    244 Bytes
    Add XBrush Pro2 model weights 7 months ago
  • model-00001-of-00004.safetensors
    4.97 GB
    xet
    Add XBrush Pro2 model weights 7 months ago
  • model-00002-of-00004.safetensors
    4.99 GB
    xet
    Add XBrush Pro2 model weights 7 months ago
  • model-00003-of-00004.safetensors
    4.93 GB
    xet
    Add XBrush Pro2 model weights 7 months ago
  • model-00004-of-00004.safetensors
    1.69 GB
    xet
    Add XBrush Pro2 model weights 7 months ago
  • model.safetensors.index.json
    57.7 kB
    Add XBrush Pro2 model weights 7 months ago