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("zqiu/lora-trained-xl")

prompt = "A qwe mug is on the rust-colored sands of a deserted Martian plain."
image = pipe(prompt).images[0]

SDXL LoRA DreamBooth - zqiu/lora-trained-xl

Prompt
A qwe mug is on the rust-colored sands of a deserted Martian plain.
Prompt
A qwe mug is on the rust-colored sands of a deserted Martian plain.
Prompt
A qwe mug is on the rust-colored sands of a deserted Martian plain.
Prompt
A qwe mug is on the rust-colored sands of a deserted Martian plain.

Model description

These are zqiu/lora-trained-xl 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 sks mug 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
14
Inference Providers NEW
Examples

Model tree for zqiu/lora-trained-xl

Adapter
(8367)
this model