Instructions to use styleai/k2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use styleai/k2 with Diffusers:
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] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
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.
LoRA for the text encoder was enabled: True.
- Downloads last month
- 1
Model tree for styleai/k2
Base model
stablediffusionapi/realistic-vision-51


