k2styles commited on
Commit
b45068a
·
verified ·
1 Parent(s): a4c1900

Archive mirror of ilkerzgi/krea-2-amber-grain-nocturnal-lora

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

Git LFS Details

  • SHA256: d8f061b9f1fccad9261a819ae03535a399a9451c441f7343ca0fb009b931e4f4
  • Pointer size: 131 Bytes
  • Size of remote file: 214 kB
images/ex_2.png ADDED

Git LFS Details

  • SHA256: 5bd8c7764a58e6f6a2894cae7f342b00316dcd6b5fbcf8b1317277c1d23d4b62
  • Pointer size: 131 Bytes
  • Size of remote file: 166 kB
images/ex_3.png ADDED

Git LFS Details

  • SHA256: a2dbae68eb2a048dba2f38974d4c747b770e9b0c18c0a35e2497944d4c7eee03
  • Pointer size: 131 Bytes
  • Size of remote file: 197 kB
images/ex_4.png ADDED

Git LFS Details

  • SHA256: 15c56535ccce397799a3265e65448ec87413c492544b8feaa10a1dc84a89b688
  • Pointer size: 131 Bytes
  • Size of remote file: 144 kB
images/ex_5.png ADDED

Git LFS Details

  • SHA256: d9436a5a1f70ba7bcc91065325ffb3d25c42dec0362c114c998666ef65d445f7
  • Pointer size: 131 Bytes
  • Size of remote file: 261 kB