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("krea/Krea-2-Raw", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("blarggai/katpr-krea")

prompt = "A woman facing forward against a plain white background. She is wearing a sleeveless skirtless cream-colored floral dress with a red and blue floral pattern. katpr"
image = pipe(prompt).images[0]

Krea 2 LoRA โ€” blarggai/katpr-krea

Prompt
A woman facing forward against a plain white background. She is wearing a sleeveless skirtless cream-colored floral dress with a red and blue floral pattern. katpr
Prompt
A woman standing outdoors in front of a building. She is wearing a pink t-shirt and a black skirt with a wide black belt. The background shows a blurred street scene with other people and green trees. katpr

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 katpr to invoke the concept.

Samples

sample

"A woman facing forward against a plain white background. She is wearing a sleeveless skirtless cream-colored floral dress with a red and blue floral pattern. katpr"

sample

"A woman standing outdoors in front of a building. She is wearing a pink t-shirt and a black skirt with a wide black belt. The background shows a blurred street scene with other people and green trees. katpr"

Use it with diffusers

import torch
from diffusers import Krea2Pipeline

pipe = Krea2Pipeline.from_pretrained("krea/Krea-2-Turbo", torch_dtype=torch.bfloat16).to("cuda")
pipe.load_lora_weights("blarggai/katpr-krea")
image = pipe("A woman facing forward against a plain white background. She is wearing a sleeveless skirtless cream-colored floral dress with a red and blue floral pattern. katpr", num_inference_steps=8, guidance_scale=0.0).images[0]
image.save("output.png")
Downloads last month
10
Inference Examples
Examples
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for blarggai/katpr-krea

Base model

krea/Krea-2-Raw
Adapter
(451)
this model