ilkerzgi commited on
Commit
fa4d12c
·
verified ·
1 Parent(s): 96153ee

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +110 -0
README.md ADDED
@@ -0,0 +1,110 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: iridescent glitter bokeh 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. iridescent glitter bokeh style"
22
+ output:
23
+ url: images/ex_1.png
24
+ - text: "a lighthouse on a rocky cliff. iridescent glitter bokeh style"
25
+ output:
26
+ url: images/ex_2.png
27
+ - text: "a lighthouse on a rocky cliff. iridescent glitter bokeh style"
28
+ output:
29
+ url: images/ex_3.png
30
+ - text: "a lighthouse on a rocky cliff. iridescent glitter bokeh style"
31
+ output:
32
+ url: images/ex_4.png
33
+ ---
34
+ <picture>
35
+ <source media="(prefers-color-scheme: dark)" srcset="https://huggingface.co/ilkerzgi/krea-2-iridescent-glitter-bokeh-lora/resolve/main/fal-dark.png">
36
+ <img src="https://huggingface.co/ilkerzgi/krea-2-iridescent-glitter-bokeh-lora/resolve/main/fal-light.png" alt="fal" height="18">
37
+ </picture>
38
+
39
+ # Iridescent Glitter Bokeh
40
+
41
+ **fal · Krea 2 Style LoRA series.** One of 1600+ style LoRAs trained on [fal](https://fal.ai).
42
+
43
+ A **Krea 2** style LoRA. Add the trigger **`iridescent glitter bokeh style`** to the end of your prompt.
44
+
45
+ [![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)
46
+
47
+ <Gallery />
48
+
49
+ ## Quick start
50
+
51
+ | Parameter | Value |
52
+ |-----------|-------|
53
+ | Trigger | `iridescent glitter bokeh style` |
54
+ | Recommended LoRA scale | `1.0` to `1.25` |
55
+ | Base model | `krea/Krea-2-Turbo` |
56
+ | Trained on | [fal-ai/krea-2-trainer](https://fal.ai/models/fal-ai/krea-2-trainer) |
57
+
58
+ ## Inference on fal
59
+
60
+ ### Python
61
+ ```python
62
+ import fal_client
63
+
64
+ result = fal_client.subscribe(
65
+ "fal-ai/krea-2/turbo/lora",
66
+ arguments={
67
+ "prompt": "a lighthouse on a rocky cliff. iridescent glitter bokeh style",
68
+ "loras": [{"path": "https://huggingface.co/ilkerzgi/krea-2-iridescent-glitter-bokeh-lora/resolve/main/iridescent-glitter-bokeh.safetensors", "scale": 1.0}],
69
+ "image_size": {"width": 1024, "height": 1280},
70
+ },
71
+ )
72
+ print(result["images"][0]["url"])
73
+ ```
74
+
75
+ ### JavaScript
76
+ ```js
77
+ import { fal } from "@fal-ai/client";
78
+
79
+ const { data } = await fal.subscribe("fal-ai/krea-2/turbo/lora", {
80
+ input: {
81
+ prompt: "a lighthouse on a rocky cliff. iridescent glitter bokeh style",
82
+ loras: [{ path: "https://huggingface.co/ilkerzgi/krea-2-iridescent-glitter-bokeh-lora/resolve/main/iridescent-glitter-bokeh.safetensors", scale: 1.0 }],
83
+ image_size: { width: 1024, height: 1280 },
84
+ },
85
+ });
86
+ console.log(data.images[0].url);
87
+ ```
88
+
89
+ ## Train your own on fal
90
+
91
+ 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:
92
+
93
+ ```python
94
+ import fal_client
95
+
96
+ result = fal_client.subscribe(
97
+ "fal-ai/krea-2-trainer",
98
+ arguments={
99
+ "images_data_url": "https://.../your-dataset.zip",
100
+ "trigger_phrase": "iridescent glitter bokeh style",
101
+ "steps": 100,
102
+ "learning_rate": 0.00035,
103
+ },
104
+ )
105
+ print(result)
106
+ ```
107
+
108
+ ## License
109
+
110
+ Krea 2 Community License. See the [license](https://huggingface.co/krea/Krea-2-LoRA-impressionist/blob/main/LICENSE.pdf).