ilkerzgi commited on
Commit
57ccb53
·
verified ·
1 Parent(s): c74cb36

Upload README.md with huggingface_hub

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