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("stablediffusionapi/realistic-vision-51", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("styleai/k2")

prompt = "hta, photograph, man"
image = pipe(prompt).images[0]

LoRA DreamBooth - styleai/k2

These are LoRA adaption weights for stablediffusionapi/realistic-vision-51. The weights were trained on hta, photograph, man using DreamBooth. You can find some example images in the following.

img_0 img_1 img_2 img_3

LoRA for the text encoder was enabled: True.

Downloads last month
2
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for styleai/k2

Adapter
(7)
this model