Text-to-Image
Diffusers
Safetensors
StableDiffusionXLInstructPix2PixPipeline
stable-diffusion-xl
stable-diffusion-xl-diffusers
instruct-pix2pix
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
how would you use this in comfyui?
#2
by flamenyo99 - opened
hey! i see there isn't a checkpoint safetensors file, so I am curious how you would use this in conjunction w/ SDXL in comfyui, essentially as an IP2P controlnet
any tips? thanks!