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

  • Log In
  • Sign Up

diffusers
/
sdxl-instructpix2pix-768

Text-to-Image
Diffusers
Safetensors
StableDiffusionXLInstructPix2PixPipeline
stable-diffusion-xl
stable-diffusion-xl-diffusers
instruct-pix2pix
Model card Files Files and versions
xet
Community
3

Instructions to use diffusers/sdxl-instructpix2pix-768 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use diffusers/sdxl-instructpix2pix-768 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("diffusers/sdxl-instructpix2pix-768", 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
sdxl-instructpix2pix-768
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
sayakpaul's picture
sayakpaul HF Staff
Update README.md
06653d4 over 2 years ago
  • scheduler
    End of training over 2 years ago
  • text_encoder
    End of training over 2 years ago
  • text_encoder_2
    End of training over 2 years ago
  • tokenizer
    End of training over 2 years ago
  • tokenizer_2
    End of training over 2 years ago
  • unet
    End of training over 2 years ago
  • vae
    End of training over 2 years ago
  • validation_images
    End of training over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    3.22 kB
    Update README.md over 2 years ago
  • model_index.json
    660 Bytes
    End of training over 2 years ago