ilkerzgi commited on
Commit
68e10fb
·
verified ·
1 Parent(s): 726bb2b

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +107 -0
README.md ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ base_model:
5
+ - krea/Krea-2-Turbo
6
+ 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-impressionist/blob/main/LICENSE.pdf
11
+ instance_prompt: cyan red motion blur style
12
+ tags:
13
+ - lora
14
+ - text-to-image
15
+ - krea
16
+ - krea-2
17
+ - fal-ai
18
+ - template:diffusion-lora
19
+ - photographic
20
+ widget:
21
+ - text: "a lighthouse on a rocky cliff. cyan red motion blur style"
22
+ output:
23
+ url: images/ex_1.png
24
+ - text: "a lighthouse on a rocky cliff. cyan red motion blur style"
25
+ output:
26
+ url: images/ex_2.png
27
+ - text: "a lighthouse on a rocky cliff. cyan red motion blur style"
28
+ output:
29
+ url: images/ex_3.png
30
+ ---
31
+ <picture>
32
+ <source media="(prefers-color-scheme: dark)" srcset="https://huggingface.co/ilkerzgi/krea-2-cyan-red-motion-blur-lora/resolve/main/fal-dark.png">
33
+ <img src="https://huggingface.co/ilkerzgi/krea-2-cyan-red-motion-blur-lora/resolve/main/fal-light.png" alt="fal" height="18">
34
+ </picture>
35
+
36
+ # Cyan Red Motion Blur
37
+
38
+ **fal · Krea 2 Style LoRA series.** One of 1600+ style LoRAs trained on [fal](https://fal.ai).
39
+
40
+ A **Krea 2** style LoRA. Add the trigger **`cyan red motion blur style`** to the end of your prompt.
41
+
42
+ [![Run on fal.ai](https://img.shields.io/badge/Run_on-fal.ai-FF6B35?style=for-the-badge)](https://fal.ai/models/fal-ai/krea-2/turbo/lora) [![Train on fal.ai](https://img.shields.io/badge/Train_on-fal.ai-FF6B35?style=for-the-badge)](https://fal.ai/models/fal-ai/krea-2-trainer) [![Krea 2](https://img.shields.io/badge/base-Krea_2_Turbo-7C5CFF?style=for-the-badge)](https://huggingface.co/krea/Krea-2-Turbo)
43
+
44
+ <Gallery />
45
+
46
+ ## Quick start
47
+
48
+ | Parameter | Value |
49
+ |-----------|-------|
50
+ | Trigger | `cyan red motion blur style` |
51
+ | Recommended LoRA scale | `1.0` to `1.25` |
52
+ | Base model | `krea/Krea-2-Turbo` |
53
+ | Trained on | [fal-ai/krea-2-trainer](https://fal.ai/models/fal-ai/krea-2-trainer) |
54
+
55
+ ## Inference on fal
56
+
57
+ ### Python
58
+ ```python
59
+ import fal_client
60
+
61
+ result = fal_client.subscribe(
62
+ "fal-ai/krea-2/turbo/lora",
63
+ arguments={
64
+ "prompt": "a lighthouse on a rocky cliff. cyan red motion blur style",
65
+ "loras": [{"path": "https://huggingface.co/ilkerzgi/krea-2-cyan-red-motion-blur-lora/resolve/main/cyan-red-motion-blur.safetensors", "scale": 1.0}],
66
+ "image_size": {"width": 1024, "height": 1280},
67
+ },
68
+ )
69
+ print(result["images"][0]["url"])
70
+ ```
71
+
72
+ ### JavaScript
73
+ ```js
74
+ import { fal } from "@fal-ai/client";
75
+
76
+ const { data } = await fal.subscribe("fal-ai/krea-2/turbo/lora", {
77
+ input: {
78
+ prompt: "a lighthouse on a rocky cliff. cyan red motion blur style",
79
+ loras: [{ path: "https://huggingface.co/ilkerzgi/krea-2-cyan-red-motion-blur-lora/resolve/main/cyan-red-motion-blur.safetensors", scale: 1.0 }],
80
+ image_size: { width: 1024, height: 1280 },
81
+ },
82
+ });
83
+ console.log(data.images[0].url);
84
+ ```
85
+
86
+ ## Train your own on fal
87
+
88
+ Every LoRA in this series is trained on [`fal-ai/krea-2-trainer`](https://fal.ai/models/fal-ai/krea-2-trainer) (100 steps, learning rate 3.5e-4). Train your own style from 4 to 10 reference images:
89
+
90
+ ```python
91
+ import fal_client
92
+
93
+ result = fal_client.subscribe(
94
+ "fal-ai/krea-2-trainer",
95
+ arguments={
96
+ "images_data_url": "https://.../your-dataset.zip",
97
+ "trigger_phrase": "cyan red motion blur style",
98
+ "steps": 100,
99
+ "learning_rate": 0.00035,
100
+ },
101
+ )
102
+ print(result)
103
+ ```
104
+
105
+ ## License
106
+
107
+ Krea 2 Community License. See the [license](https://huggingface.co/krea/Krea-2-LoRA-impressionist/blob/main/LICENSE.pdf).