Instructions to use aimalias/k4t-krea with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use aimalias/k4t-krea with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("krea/Krea-2-Raw", torch_dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("aimalias/k4t-krea") prompt = "A K4TD woman wearing futuristic neon armor, standing in the middle of a rain-slicked cyberpunk street filled with glowing holographic advertisements." image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
File size: 2,057 Bytes
13501b5 7c3e4da 13501b5 7c3e4da 13501b5 7c3e4da 13501b5 7c3e4da 13501b5 7c3e4da 13501b5 7c3e4da 13501b5 7c3e4da 13501b5 7c3e4da 13501b5 7c3e4da 13501b5 7c3e4da 13501b5 7c3e4da 13501b5 7c3e4da 13501b5 7c3e4da 13501b5 7c3e4da 13501b5 7c3e4da 13501b5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | ---
base_model: krea/Krea-2-Raw
tags:
- text-to-image
- diffusers
- lora
- krea2
- template:sd-lora
license: apache-2.0
instance_prompt: "K4TD woman"
widget:
- text: "A K4TD woman wearing futuristic neon armor, standing in the middle of a rain-slicked cyberpunk street filled with glowing holographic advertisements."
output:
url: sample_0.png
- text: "A K4TD woman in a flowing linen dress, reading an ancient leather-bound book within a sun-drenched Mediterranean garden overgrown with white bougainvillea."
output:
url: sample_1.png
- text: "A K4TD woman as a deep-sea explorer, wearing a high-tech diving suit and swimming alongside bioluminescent jellyfish in a dark, shimmering oceanic abyss."
output:
url: sample_2.png
---
# Krea 2 LoRA — aimalias/k4t
<Gallery />
A DreamBooth-LoRA for **Krea 2**, trained on **Krea 2 RAW** and shown on **Krea 2 Turbo**. The samples below were generated with this LoRA on Turbo (8 steps).
## Trigger
Use the token `K4TD woman` to invoke the concept.
## Samples

> *"A K4TD woman wearing futuristic neon armor, standing in the middle of a rain-slicked cyberpunk street filled with glowing holographic advertisements."*

> *"A K4TD woman in a flowing linen dress, reading an ancient leather-bound book within a sun-drenched Mediterranean garden overgrown with white bougainvillea."*

> *"A K4TD woman as a deep-sea explorer, wearing a high-tech diving suit and swimming alongside bioluminescent jellyfish in a dark, shimmering oceanic abyss."*
## Use it with diffusers
```py
import torch
from diffusers import Krea2Pipeline
pipe = Krea2Pipeline.from_pretrained("krea/Krea-2-Turbo", torch_dtype=torch.bfloat16).to("cuda")
pipe.load_lora_weights("aimalias/k4t")
image = pipe("A K4TD woman wearing futuristic neon armor, standing in the middle of a rain-slicked cyberpunk street filled with glowing holographic advertisements.", num_inference_steps=8, guidance_scale=0.0).images[0]
image.save("output.png")
```
|