Instructions to use krea/Krea-2-LoRA-sunsetblur with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use krea/Krea-2-LoRA-sunsetblur 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-Turbo", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("krea/Krea-2-LoRA-sunsetblur") prompt = "two samurais in flowing robes doing a muay thai fight, one throws a high kick while the other leans back. ethereal motion blur style" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Publish sunsetblur LoRA: weights, Turbo previews (weight 1.0), model card
Browse files- README.md +24 -19
- images/00_turbo.png +2 -2
- images/01_turbo.png +2 -2
- images/02_turbo.png +2 -2
- images/03_turbo.png +2 -2
- images/04_turbo.png +2 -2
- images/05_turbo.png +2 -2
- images/06_turbo.png +2 -2
- images/07_turbo.png +2 -2
- sunsetblur.safetensors +1 -1
README.md
CHANGED
|
@@ -7,34 +7,40 @@ pipeline_tag: text-to-image
|
|
| 7 |
library_name: diffusers
|
| 8 |
license: other
|
| 9 |
license_name: krea-2-community-license
|
| 10 |
-
license_link: https://huggingface.co/krea/Krea-2-LoRA-
|
| 11 |
widget:
|
| 12 |
-
- text:
|
| 13 |
-
|
| 14 |
-
motion blur style
|
| 15 |
output:
|
| 16 |
url: images/00_turbo.png
|
| 17 |
-
- text: A
|
| 18 |
-
sky while the ground around him cracks. ethereal motion blur style
|
| 19 |
-
output:
|
| 20 |
-
url: images/02_turbo.png
|
| 21 |
-
- text: A cat wearing glasses holding a stick to a board with the text 'He who lives
|
| 22 |
-
in glass houses shall not throw stones at others', while sitting on a stool. ethereal
|
| 23 |
motion blur style
|
| 24 |
output:
|
| 25 |
url: images/01_turbo.png
|
| 26 |
-
- text: Two Nissan GT cars drifting by each other at a sharp corner in the road. ethereal
|
| 27 |
-
motion blur style
|
| 28 |
-
output:
|
| 29 |
-
url: images/03_turbo.png
|
| 30 |
- text: A deer grazing in the forest surrounded by dense trees and the sun bright
|
| 31 |
in the sky. ethereal motion blur style
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
output:
|
| 33 |
url: images/04_turbo.png
|
| 34 |
-
- text: A
|
| 35 |
-
|
| 36 |
output:
|
| 37 |
url: images/05_turbo.png
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
tags:
|
| 39 |
- lora
|
| 40 |
---
|
|
@@ -42,12 +48,11 @@ tags:
|
|
| 42 |
# Krea 2 LoRA — sunsetblur
|
| 43 |
|
| 44 |
A LoRA for [Krea 2](https://huggingface.co/krea) — sunsetblur (trigger: `ethereal motion blur style`).
|
| 45 |
-
|
| 46 |
- **Trigger word:** `ethereal motion blur style`
|
| 47 |
- **To be used on:** [`krea/Krea-2-Turbo`](https://huggingface.co/krea/Krea-2-Turbo), the few-step distilled checkpoint shown in the previews above.
|
| 48 |
- **Trained on:** [`krea/Krea-2-Raw`](https://huggingface.co/krea/Krea-2-Raw).
|
| 49 |
- **Weights:** `sunsetblur.safetensors`
|
| 50 |
-
- **Previews:** rendered on Turbo at 8 steps, guidance 0.0, LoRA weight `
|
| 51 |
|
| 52 |
## Usage
|
| 53 |
|
|
@@ -57,7 +62,7 @@ from diffusers import Krea2Pipeline
|
|
| 57 |
|
| 58 |
pipe = Krea2Pipeline.from_pretrained("krea/Krea-2-Turbo", torch_dtype=torch.bfloat16).to("cuda")
|
| 59 |
pipe.transformer.load_lora_adapter("krea/Krea-2-LoRA-sunsetblur", weight_name="sunsetblur.safetensors")
|
| 60 |
-
pipe.transformer.set_adapters("default", weights=
|
| 61 |
|
| 62 |
prompt = "A deer grazing in the forest, ethereal motion blur style"
|
| 63 |
image = pipe(prompt, num_inference_steps=8, guidance_scale=0.0).images[0]
|
|
|
|
| 7 |
library_name: diffusers
|
| 8 |
license: other
|
| 9 |
license_name: krea-2-community-license
|
| 10 |
+
license_link: https://huggingface.co/krea/Krea-2-LoRA-impressionist/blob/main/LICENSE.pdf
|
| 11 |
widget:
|
| 12 |
+
- text: two samurais in flowing robes doing a muay thai fight, one throws a high kick
|
| 13 |
+
while the other leans back. ethereal motion blur style
|
|
|
|
| 14 |
output:
|
| 15 |
url: images/00_turbo.png
|
| 16 |
+
- text: A solitary figure stands on a cliff, billowing clouds behind him. ethereal
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
motion blur style
|
| 18 |
output:
|
| 19 |
url: images/01_turbo.png
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
- text: A deer grazing in the forest surrounded by dense trees and the sun bright
|
| 21 |
in the sky. ethereal motion blur style
|
| 22 |
+
output:
|
| 23 |
+
url: images/02_turbo.png
|
| 24 |
+
- text: an angel with metallic wings and a crown of flowers. ethereal motion blur
|
| 25 |
+
style
|
| 26 |
+
output:
|
| 27 |
+
url: images/03_turbo.png
|
| 28 |
+
- text: A sorcerer in flowing midnight robes stands atop a cliff edge, arms raised
|
| 29 |
+
as crackling energy gathers between his palms. The sky roils with energy, flowing
|
| 30 |
+
down from the sky. ethereal motion blur style
|
| 31 |
output:
|
| 32 |
url: images/04_turbo.png
|
| 33 |
+
- text: A skateboarder doing a kickflip at blue hour, a puddle reflects the skateboarder.
|
| 34 |
+
ethereal motion blur style
|
| 35 |
output:
|
| 36 |
url: images/05_turbo.png
|
| 37 |
+
- text: the port of antibes in the french riviera, large yachts and small sailboats
|
| 38 |
+
are visible. ethereal motion blur style
|
| 39 |
+
output:
|
| 40 |
+
url: images/06_turbo.png
|
| 41 |
+
- text: A sunset over snowy mountains. ethereal motion blur style
|
| 42 |
+
output:
|
| 43 |
+
url: images/07_turbo.png
|
| 44 |
tags:
|
| 45 |
- lora
|
| 46 |
---
|
|
|
|
| 48 |
# Krea 2 LoRA — sunsetblur
|
| 49 |
|
| 50 |
A LoRA for [Krea 2](https://huggingface.co/krea) — sunsetblur (trigger: `ethereal motion blur style`).
|
|
|
|
| 51 |
- **Trigger word:** `ethereal motion blur style`
|
| 52 |
- **To be used on:** [`krea/Krea-2-Turbo`](https://huggingface.co/krea/Krea-2-Turbo), the few-step distilled checkpoint shown in the previews above.
|
| 53 |
- **Trained on:** [`krea/Krea-2-Raw`](https://huggingface.co/krea/Krea-2-Raw).
|
| 54 |
- **Weights:** `sunsetblur.safetensors`
|
| 55 |
+
- **Previews:** rendered on Turbo at 8 steps, guidance 0.0, LoRA weight `1.0`.
|
| 56 |
|
| 57 |
## Usage
|
| 58 |
|
|
|
|
| 62 |
|
| 63 |
pipe = Krea2Pipeline.from_pretrained("krea/Krea-2-Turbo", torch_dtype=torch.bfloat16).to("cuda")
|
| 64 |
pipe.transformer.load_lora_adapter("krea/Krea-2-LoRA-sunsetblur", weight_name="sunsetblur.safetensors")
|
| 65 |
+
pipe.transformer.set_adapters("default", weights=1.0)
|
| 66 |
|
| 67 |
prompt = "A deer grazing in the forest, ethereal motion blur style"
|
| 68 |
image = pipe(prompt, num_inference_steps=8, guidance_scale=0.0).images[0]
|
images/00_turbo.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
images/01_turbo.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
images/02_turbo.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
images/03_turbo.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
images/04_turbo.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
images/05_turbo.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
images/06_turbo.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
images/07_turbo.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
sunsetblur.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 469291992
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:194abdd531ca190d32799f26ab5bab634aa5ba3f07b7a60ffb282657db8bf3a0
|
| 3 |
size 469291992
|