Instructions to use blarggai/katpr-krea with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use blarggai/katpr-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", 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] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
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
"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"
"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
Model tree for blarggai/katpr-krea
Base model
krea/Krea-2-Raw
