--- language: - en base_model: - krea/Krea-2-Turbo pipeline_tag: text-to-image library_name: diffusers license: other license_name: krea-2-community-license license_link: https://huggingface.co/krea/Krea-2-LoRA-impressionist/blob/main/LICENSE.pdf widget: - text: two samurais in flowing robes doing a muay thai fight, one throws a high kick while the other leans back. rainy window style output: url: images/00_turbo.png - text: A solitary figure stands on a cliff, billowing clouds behind him. rainy window style output: url: images/01_turbo.png - text: A deer grazing in the forest surrounded by dense trees and the sun bright in the sky. rainy window style output: url: images/02_turbo.png - text: an angel with metallic wings and a crown of flowers. rainy window style output: url: images/03_turbo.png - text: A sorcerer in flowing midnight robes stands atop a cliff edge, arms raised as crackling energy gathers between his palms. The sky roils with energy, flowing down from the sky. rainy window style output: url: images/04_turbo.png - text: A skateboarder doing a kickflip at blue hour, a puddle reflects the skateboarder. rainy window style output: url: images/05_turbo.png - text: the port of antibes in the french riviera, large yachts and small sailboats are visible. rainy window style output: url: images/06_turbo.png - text: A sunset over snowy mountains. rainy window style output: url: images/07_turbo.png tags: - lora --- # Krea 2 LoRA — rainywindow A LoRA for [Krea 2](https://huggingface.co/krea) — rainywindow (trigger: `rainy window style`). - **Trigger word:** `rainy window style` - **To be used on:** [`krea/Krea-2-Turbo`](https://huggingface.co/krea/Krea-2-Turbo), the few-step distilled checkpoint shown in the previews above. - **Trained on:** [`krea/Krea-2-Raw`](https://huggingface.co/krea/Krea-2-Raw). - **Weights:** `rainywindow.safetensors` - **Previews:** rendered on Turbo at 8 steps, guidance 0.0, LoRA weight `1.0`. ## Usage ```python import torch from diffusers import Krea2Pipeline pipe = Krea2Pipeline.from_pretrained("krea/Krea-2-Turbo", torch_dtype=torch.bfloat16).to("cuda") pipe.transformer.load_lora_adapter("krea/Krea-2-LoRA-rainywindow", weight_name="rainywindow.safetensors") pipe.transformer.set_adapters("default", weights=1.0) prompt = "A deer grazing in the forest, rainy window style" image = pipe(prompt, num_inference_steps=8, guidance_scale=0.0).images[0] image.save("rainywindow.png") ```