lichorosario
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -1,7 +1,204 @@
|
|
1 |
---
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
pipeline_tag: text-to-image
|
|
|
5 |
library_name: diffusers
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
---
|
7 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
license: other
|
3 |
+
license_name: flux-1-dev-non-commercial-license
|
4 |
+
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
|
5 |
+
language:
|
6 |
+
- en
|
7 |
+
tags:
|
8 |
+
- flux
|
9 |
+
- diffusers
|
10 |
+
- lora
|
11 |
+
base_model: black-forest-labs/FLUX.1-schnell
|
12 |
pipeline_tag: text-to-image
|
13 |
+
instance_prompt: SAMHTR
|
14 |
library_name: diffusers
|
15 |
+
inference:
|
16 |
+
parameters:
|
17 |
+
width: 1024
|
18 |
+
height: 1024
|
19 |
+
widget:
|
20 |
+
- text: >-
|
21 |
+
SAMHTR style game background. The camera is positioned at the entrance of
|
22 |
+
the café, offering a clear view of the charming and playful exterior: Café
|
23 |
+
Entrance: The entrance to the café features a bright, welcoming façade with
|
24 |
+
white wooden siding and a red-tiled roof. The back door is adorned with
|
25 |
+
simple, colorful flower pots on either side. The door itself is framed with
|
26 |
+
a cheerful design, including a decorative awning that provides shade and
|
27 |
+
adds a touch of whimsy. Outdoor Seating Area: Directly in front of the
|
28 |
+
entrance, there’s a cozy outdoor seating area. The tables and chairs are
|
29 |
+
designed with playful elements, such as tables shaped like oversized
|
30 |
+
pastries and chairs with coffee mug backrests. The design is simplified to
|
31 |
+
avoid clutter but maintains the café’s cheerful theme. Decorative Elements:
|
32 |
+
The walls around the entrance are adorned with minimal yet vibrant murals
|
33 |
+
depicting coffee cups, cakes, and other café-themed items. There are also a
|
34 |
+
few hanging lanterns or string lights to add a warm and inviting glow.
|
35 |
+
Pathway: The pathway leading to the café entrance is made of colorful
|
36 |
+
cobblestones, but the design is straightforward and not overly intricate.
|
37 |
+
The path is lined with a few decorative plants and shrubs with bright,
|
38 |
+
cartoonish features, but kept simple. Adjacent Features: To the sides of the
|
39 |
+
entrance, you can see parts of the nearby areas, such as the adventure
|
40 |
+
tourism shop and the retro appliance store
|
41 |
+
example_title: Café outdoor scene
|
42 |
+
output:
|
43 |
+
url: samples/sample_1.png
|
44 |
+
- text: >-
|
45 |
+
SAMHTR style game background. textured paper collage The paper texture is
|
46 |
+
very visible. There are different textures. The papers are handmade painted
|
47 |
+
with watercolor and crayons. An empty stylized game background scene using
|
48 |
+
muted colors, mainly blue, yellow, orange, black and violet. A winding path
|
49 |
+
crosses the screen, curving from the top left to the bottom right. Below the
|
50 |
+
path, whimsical trees with irregular, bulbous shapes and playful, swirling
|
51 |
+
bushes fill the scene. To the right stands a cozy, old-fashioned restaurant
|
52 |
+
with large glass windows, through which warm, soft light spills onto the
|
53 |
+
empty street. Inside, simple wooden tables and chairs are arranged neatly,
|
54 |
+
but the restaurant is vacant, giving it a peaceful, quiet vibe. The
|
55 |
+
restaurant's exterior features a large, aged wooden sign, slightly crooked,
|
56 |
+
with an oversized fork carved into it and the text "Crespín Restorán" in
|
57 |
+
quirky, uneven letters. Outside, a few tufts of grass poke through the
|
58 |
+
cracks of the weathered sidewalk tiles, adding to the rustic charm. The
|
59 |
+
night sky above is dark, with a crescent moon shining softly, casting gentle
|
60 |
+
shadows. The street is empty and lonely, illuminated by a few antique-style
|
61 |
+
street lamps that emit a dim, warm light, contrasting with the cold, bluish
|
62 |
+
light of the street itself. The lamps are bent and irregular, with wavy
|
63 |
+
lines, and their light creates playful, wavy reflections on the pavement.
|
64 |
+
example_title: Night restaurant outdoor scene
|
65 |
+
output:
|
66 |
+
url: samples/sample_2.png
|
67 |
+
- text: >-
|
68 |
+
SAMHTR style game background. The interior of the very large hair salon is a
|
69 |
+
vibrant and eccentric space with muted pink walls that radiate playful
|
70 |
+
energy. The two-point perspective, with a slight fisheye distortion, adds a
|
71 |
+
whimsical twist, making the space feel both expansive and intimate, with
|
72 |
+
curved lines that soften the room’s edges. On the side walls, large mirrors
|
73 |
+
framed by round, yellow bulbs evoke a vintage dressing room style, casting a
|
74 |
+
warm, welcoming glow throughout the scene. Mounted on the walls are several
|
75 |
+
white Styrofoam mannequin heads, each showcasing brightly colored,
|
76 |
+
extravagant wigs: giant curls, impossible buns, and towering beehive
|
77 |
+
hairstyles. The heads are arranged irregularly, adding a surreal and quirky
|
78 |
+
vibe to the space. Below each mirror are tables cluttered with hairdressing
|
79 |
+
tools, ranging from old-fashioned hair dryers and multi-colored brushes to
|
80 |
+
retro-styled bottles of glitter and styling products, all with packaging
|
81 |
+
that feels like a throwback to another era. Hanging from the ceiling are
|
82 |
+
ornate, baroque chandeliers adorned with colorful crystals, adding an
|
83 |
+
exaggerated touch of luxury and casting a soft sparkle that contrasts with
|
84 |
+
the mirrors' bright lights. At the back, a large window opens up to a
|
85 |
+
breathtaking view of a quaint street with pastel-colored buildings. Beyond
|
86 |
+
the street, the landscape dramatically shifts, with a cliff that drops off
|
87 |
+
sharply into the ocean, whose blue waters shimmer under the sunlight. The
|
88 |
+
view of the sea adds a surreal, almost dreamlike contrast to the colorful
|
89 |
+
and over-the-top interior of the salon. The overall atmosphere is one of
|
90 |
+
unbridled fun, where every detail seems designed to surprise and delight,
|
91 |
+
blending retro and extravagant elements into a cartoonish and exaggerated
|
92 |
+
scene
|
93 |
+
example_title: Hair salon indoor
|
94 |
+
output:
|
95 |
+
url: samples/sample_3.png
|
96 |
+
- text: >-
|
97 |
+
SAMHTR style game background. The street is a charming, picturesque scene,
|
98 |
+
with pastel-colored buildings lining the sidewalk, each one unique and
|
99 |
+
quirky in its design. The cobblestone road adds a nostalgic, almost
|
100 |
+
storybook quality to the environment. In the center of this lively street
|
101 |
+
stands the hair salon, its exterior as bold and kitschy as its interior. The
|
102 |
+
front of the salon is painted a vibrant pink, with exaggerated, rounded
|
103 |
+
shapes framing the large, curved window that offers a glimpse into the
|
104 |
+
colorful world inside. The building itself is slightly bulbous, with soft,
|
105 |
+
irregular lines that make it feel almost like it's from a cartoon. Above
|
106 |
+
the entrance, a large, swirling sign reads ‘Fabulous Hair Salon’ in
|
107 |
+
exaggerated, retro-style lettering, with neon lights blinking in different
|
108 |
+
colors, giving the front an extra splash of character. The door is framed by
|
109 |
+
playful, oversized decorations resembling hairstyling tools – a giant comb
|
110 |
+
on one side and a pair of curling irons on the other – adding to the salon's
|
111 |
+
eccentric flair. Through the enormous window, you can see the bright pink
|
112 |
+
interior, with glowing mirrors, mannequin heads adorned with colorful wigs,
|
113 |
+
and chandeliers hanging from the ceiling, all inviting you into this
|
114 |
+
whimsical space. The lighting from inside spills out onto the sidewalk,
|
115 |
+
casting a warm, colorful glow that contrasts with the soft natural light of
|
116 |
+
the street. Beyond the street, there’s an unexpected shift in scenery – the
|
117 |
+
street abruptly ends in a cliff, where the land drops off sharply into the
|
118 |
+
vast, shimmering ocean below. The deep blue sea stretches out toward the
|
119 |
+
horizon, providing a stunning, almost surreal backdrop to the lively and
|
120 |
+
eccentric street. The contrast between the cozy, whimsical hair salon and
|
121 |
+
the dramatic cliffside view creates a striking and dreamlike atmosphere,
|
122 |
+
making the whole scene feel like it belongs in a vibrant, animated world.
|
123 |
+
example_title: Hair salon outdoor
|
124 |
+
output:
|
125 |
+
url: samples/hair_saloon_outdoor.png
|
126 |
+
- text: >-
|
127 |
+
SAMHTR cartoon style character design. This image captures a casual indoor
|
128 |
+
scene, likely taken in a clothing store or a wardrobe area filled with
|
129 |
+
various garments. The focal point is a caucasian man standing in the center,
|
130 |
+
smiling broadly with a friendly, relaxed expression. The overall style
|
131 |
+
evokes a playful, almost retro vibe. The man is wearing a tight-fitting,
|
132 |
+
long-sleeved gray shirt, which closely follows the contours of his body. The
|
133 |
+
man has sweaty armpits in darker color. Around his neck, he is wearing a
|
134 |
+
tan and beige checkered scarf, loosely wrapped but still snug enough to
|
135 |
+
stand out as a fashion accessory. The scarf's texture appears soft, perhaps
|
136 |
+
woolen or knit, and it adds an element of warmth and contrast to his
|
137 |
+
otherwise sleek outfit. In the background, the space is organized with
|
138 |
+
shelving and clothing displays. On the left, a shelving unit holds a few
|
139 |
+
folded garments, including shirts or sweaters, neatly stacked in different
|
140 |
+
colors. Next to him on the countertop is a black shopping bag adorned with
|
141 |
+
white and green designs and text, possibly from the store itself. A vibrant
|
142 |
+
green ribbon is attached to the bag, adding a pop of color. Behind him, part
|
143 |
+
of the shelving has decorative items, including what looks like a small
|
144 |
+
piece of art or signage featuring bold black and white graphics. To the
|
145 |
+
right of the man, a bright green curtain is partially visible, which may be
|
146 |
+
a fitting room or divider within the space. The lighting in the room is
|
147 |
+
moderate, with a soft glow illuminating the scene evenly, giving it a clear,
|
148 |
+
well-lit appearance without harsh shadows. The atmosphere feels casual and
|
149 |
+
perhaps a bit playful, given the man's fashionable and somewhat whimsical
|
150 |
+
look. the man's hairstyle is a striking feature, characterized by a mix of
|
151 |
+
textures that gives it a carefully styled yet relaxed appearance. His hair
|
152 |
+
is dark, likely black or very dark brown, with a healthy, shiny finish. The
|
153 |
+
style is divided into two distinct textures: a sleek, straight fringe
|
154 |
+
(bangs) at the front, and voluminous, professionally styled curls throughout
|
155 |
+
the rest of the hair. The fringe is straight and falls neatly over his
|
156 |
+
forehead, with several strands parted slightly in the middle. The bangs are
|
157 |
+
relatively long, reaching just above his eyebrows. The hair is smooth and
|
158 |
+
flat against his forehead, providing a sharp contrast to the more voluminous
|
159 |
+
curls behind it. The straightness of the fringe is likely intentional,
|
160 |
+
adding a polished, elegant touch to his look. The rest of his hair, in
|
161 |
+
contrast, is full of soft, bouncy curls, similar to those created with a
|
162 |
+
curling iron or from a salon blowout. These curls start at the sides of his
|
163 |
+
head and flow outward, adding significant volume and a lively texture. The
|
164 |
+
curls are medium in size, not too tight but defined enough to create a
|
165 |
+
dynamic, flowing look. The back of his hair maintains this voluminous curl
|
166 |
+
pattern, rounding out the shape of his hairstyle and giving it a balanced,
|
167 |
+
full appearance. This blend of sleek, straight bangs with voluminous curls
|
168 |
+
creates a unique juxtaposition, adding both sophistication and a touch of
|
169 |
+
playfulness to his overall style. The hairstyle feels modern but with a nod
|
170 |
+
to vintage influences, combining the precision of straight bangs with the
|
171 |
+
soft glamour of big, flowing curls. It’s clear that this look has been
|
172 |
+
styled with care, likely in a salon setting, to achieve this distinct mix of
|
173 |
+
textures. The curls go down the shoulders
|
174 |
+
output:
|
175 |
+
url: images/example_axptfegcq.png
|
176 |
+
|
177 |
---
|
178 |
+
|
179 |
+
# Flux Samhtr Remastered
|
180 |
+
|
181 |
+
Trained on Replicate using:
|
182 |
+
|
183 |
+
https://replicate.com/ostris/flux-dev-lora-trainer/train
|
184 |
+
|
185 |
+
|
186 |
+
## Trigger words
|
187 |
+
You should use `SAMHTR style` to trigger the image generation.
|
188 |
+
|
189 |
+
|
190 |
+
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
191 |
+
|
192 |
+
```py
|
193 |
+
from diffusers import AutoPipelineForText2Image
|
194 |
+
import torch
|
195 |
+
|
196 |
+
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.float16).to('cuda')
|
197 |
+
pipeline.load_lora_weights('lichorosario/flux-samhtr-remastered', weight_name='lora.safetensors')
|
198 |
+
image = pipeline('your prompt').images[0]
|
199 |
+
```
|
200 |
+
|
201 |
+
|
202 |
+
<Gallery />
|
203 |
+
|
204 |
+
For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters)
|