How to use from the
Use from the
Diffusers library
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline

# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("merve/lego_LoRA")

prompt = "a photo of TOK lego"
image = pipe(prompt).images[0]

SDXL LoRA DreamBooth - merve/lego_lora

Model description

These are merve/lego_lora LoRA adaption weights for stabilityai/stable-diffusion-xl-base-1.0.

The weights were trained using DreamBooth.

LoRA for the text encoder was enabled: False.

Special VAE used for training: madebyollin/sdxl-vae-fp16-fix.

Trigger words

You should use a photo of TOK lego to trigger the image generation.

Download model

Weights for this model are available in Safetensors format.

Download them in the Files & versions tab.

Downloads last month
10
Inference Providers NEW

Model tree for merve/lego_LoRA

Adapter
(8358)
this model

Spaces using merve/lego_LoRA 2