--- tags: - stable-diffusion-xl - stable-diffusion-xl-diffusers - text-to-image - diffusers - lora - template:sd-lora base_model: stabilityai/stable-diffusion-xl-base-1.0 instance_prompt: Lucy 23-5-17 style license: openrail++ --- # SDXL LoRA DreamBooth - LucyintheSky/lucy-23-5-17-lora Dreambooth Lora style based on the Lucy in the Sky products. ![image/jpeg](https://cdn-uploads.huggingface.co/production/uploads/650a1281b48ff3906647edd0/_5MtAATqvmV2sTRf_W5FM.jpeg) ## Trigger words Use **Lucy 23-5-17 style** in the prompt to trigger the style. ## How to use ```bash pip install diffusers accelerate ``` ```python import torch from diffusers import DiffusionPipeline, AutoencoderKL # Load the pipeline vae = AutoencoderKL.from_pretrained("madebyollin/sdxl-vae-fp16-fix", torch_dtype=torch.float16) pipe = DiffusionPipeline.from_pretrained( "stabilityai/stable-diffusion-xl-base-1.0", vae=vae, torch_dtype=torch.float16, variant="fp16", use_safetensors=True ) pipe.load_lora_weights("LucyintheSky/lucy-23-5-17-lora") pipe.to("cuda") # Generate image prompt = "Lucy 23-5-17 style, megan fox wearing a gold mesh dress with crystals" image = pipe(prompt=prompt, height=1024, width=1024, num_inference_steps=50, negative_prompt="ugly, deformed face, deformed body").images[0] image ``` ## Model description These are LucyintheSky/lucy-23-5-17-lora LoRA adaption weights for stabilityai/stable-diffusion-xl-base-1.0. The weights were trained using [DreamBooth](https://dreambooth.github.io/). LoRA for the text encoder was enabled: False. Special VAE used for training: madebyollin/sdxl-vae-fp16-fix. ## Download model Weights for this model are available in Safetensors format. [Download](https://huggingface.co./LucyintheSky/lucy-23-5-17-lora/tree/main) them in the Files & versions tab.