Instructions to use heville/anna-lora-krea2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use heville/anna-lora-krea2 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("heville/anna-lora-krea2") prompt = "A hyper-realistic portrait of ANNA_LORA wearing an ornate gold masquerade mask, standing in a candlelit Venetian ballroom with shimmering reflections on the marble floor." image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
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("heville/anna-lora-krea2")
prompt = "A hyper-realistic portrait of ANNA_LORA wearing an ornate gold masquerade mask, standing in a candlelit Venetian ballroom with shimmering reflections on the marble floor."
image = pipe(prompt).images[0]Krea 2 LoRA โ heville/anna-lora-krea2

- Prompt
- A hyper-realistic portrait of ANNA_LORA wearing an ornate gold masquerade mask, standing in a candlelit Venetian ballroom with shimmering reflections on the marble floor.

- Prompt
- ANNA_LORA as a futuristic cyberpunk pilot, wearing a neon-lined flight suit inside a cockpit filled with holographic displays and raining city lights outside.

- Prompt
- A cinematic shot of ANNA_LORA in a flowing white linen dress, walking through a sun-drenched lavender field in Provence under a soft pastel sky.
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 ANNA_LORA to invoke the concept.
Samples
"A hyper-realistic portrait of ANNA_LORA wearing an ornate gold masquerade mask, standing in a candlelit Venetian ballroom with shimmering reflections on the marble floor."
"ANNA_LORA as a futuristic cyberpunk pilot, wearing a neon-lined flight suit inside a cockpit filled with holographic displays and raining city lights outside."
"A cinematic shot of ANNA_LORA in a flowing white linen dress, walking through a sun-drenched lavender field in Provence under a soft pastel sky."
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("heville/anna-lora-krea2")
image = pipe("A hyper-realistic portrait of ANNA_LORA wearing an ornate gold masquerade mask, standing in a candlelit Venetian ballroom with shimmering reflections on the marble floor.", num_inference_steps=8, guidance_scale=0.0).images[0]
image.save("output.png")
- Downloads last month
- 20
Model tree for heville/anna-lora-krea2
Base model
krea/Krea-2-Raw

