ilkerzgi commited on
Commit
45812d3
·
verified ·
1 Parent(s): 7107eb1

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +113 -0
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: graphic novel earthy ink style
12
+ tags:
13
+ - lora
14
+ - text-to-image
15
+ - krea
16
+ - krea-2
17
+ - fal-ai
18
+ - template:diffusion-lora
19
+ - illustration
20
+ widget:
21
+ - text: "a lighthouse on a rocky cliff. graphic novel earthy ink style"
22
+ output:
23
+ url: images/ex_1.png
24
+ - text: "a lighthouse on a rocky cliff. graphic novel earthy ink style"
25
+ output:
26
+ url: images/ex_2.png
27
+ - text: "a lighthouse on a rocky cliff. graphic novel earthy ink style"
28
+ output:
29
+ url: images/ex_3.png
30
+ - text: "a lighthouse on a rocky cliff. graphic novel earthy ink style"
31
+ output:
32
+ url: images/ex_4.png
33
+ - text: "a lighthouse on a rocky cliff. graphic novel earthy ink 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-graphic-novel-earthy-ink-lora/resolve/main/fal-dark.png">
39
+ <img src="https://huggingface.co/ilkerzgi/krea-2-graphic-novel-earthy-ink-lora/resolve/main/fal-light.png" alt="fal" height="18">
40
+ </picture>
41
+
42
+ # Graphic Novel Earthy Ink
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 **`graphic novel earthy ink 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 | `graphic novel earthy ink 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. graphic novel earthy ink style",
71
+ "loras": [{"path": "https://huggingface.co/ilkerzgi/krea-2-graphic-novel-earthy-ink-lora/resolve/main/graphic-novel-earthy-ink.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. graphic novel earthy ink style",
85
+ loras: [{ path: "https://huggingface.co/ilkerzgi/krea-2-graphic-novel-earthy-ink-lora/resolve/main/graphic-novel-earthy-ink.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": "graphic novel earthy ink 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).