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("papitreasure/pinterest")

prompt = "Three women stand side by side on a stone staircase. The woman on the left wears a pink one-shoulder dress and rests her hand on her hip. The middle woman wears a tan dress with a knot at the waist, and the woman on the right wears a white sleeveless dress. A stone railing and greenery are behind them, with a body of water and distant boats in the background, cute girl"
image = pipe(prompt).images[0]

Krea 2 LoRA โ€” papitreasure/pinterest

Prompt
Three women stand side by side on a stone staircase. The woman on the left wears a pink one-shoulder dress and rests her hand on her hip. The middle woman wears a tan dress with a knot at the waist, and the woman on the right wears a white sleeveless dress. A stone railing and greenery are behind them, with a body of water and distant boats in the background, cute girl

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 phrase cute girl to invoke the concept.

Samples

sample

"Three women stand side by side on a stone staircase. The woman on the left wears a pink one-shoulder dress and rests her hand on her hip. The middle woman wears a tan dress with a knot at the waist, and the woman on the right wears a white sleeveless dress. A stone railing and greenery are behind them, with a body of water and distant boats in the background, cute girl"

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("papitreasure/pinterest")
image = pipe("Three women stand side by side on a stone staircase. The woman on the left wears a pink one-shoulder dress and rests her hand on her hip. The middle woman wears a tan dress with a knot at the waist, and the woman on the right wears a white sleeveless dress. A stone railing and greenery are behind them, with a body of water and distant boats in the background, cute girl", 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 papitreasure/pinterest

Base model

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