|
--- |
|
license: other |
|
license_name: flux-1-dev-non-commercial-license |
|
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md |
|
language: |
|
- en |
|
tags: |
|
- flux |
|
- diffusers |
|
- lora |
|
base_model: black-forest-labs/FLUX.1-schnell |
|
pipeline_tag: text-to-image |
|
instance_prompt: SAMHTR |
|
library_name: diffusers |
|
inference: |
|
parameters: |
|
width: 1024 |
|
height: 1024 |
|
widget: |
|
- text: >- |
|
SAMHTR style game background. The camera is positioned at the entrance of |
|
the café, offering a clear view of the charming and playful exterior: Café |
|
Entrance: The entrance to the café features a bright, welcoming façade with |
|
white wooden siding and a red-tiled roof. The back door is adorned with |
|
simple, colorful flower pots on either side. The door itself is framed with |
|
a cheerful design, including a decorative awning that provides shade and |
|
adds a touch of whimsy. Outdoor Seating Area: Directly in front of the |
|
entrance, there’s a cozy outdoor seating area. The tables and chairs are |
|
designed with playful elements, such as tables shaped like oversized |
|
pastries and chairs with coffee mug backrests. The design is simplified to |
|
avoid clutter but maintains the café’s cheerful theme. Decorative Elements: |
|
The walls around the entrance are adorned with minimal yet vibrant murals |
|
depicting coffee cups, cakes, and other café-themed items. There are also a |
|
few hanging lanterns or string lights to add a warm and inviting glow. |
|
Pathway: The pathway leading to the café entrance is made of colorful |
|
cobblestones, but the design is straightforward and not overly intricate. |
|
The path is lined with a few decorative plants and shrubs with bright, |
|
cartoonish features, but kept simple. Adjacent Features: To the sides of the |
|
entrance, you can see parts of the nearby areas, such as the adventure |
|
tourism shop and the retro appliance store |
|
example_title: Café outdoor scene |
|
output: |
|
url: samples/sample_1.png |
|
- text: >- |
|
SAMHTR style game background. textured paper collage The paper texture is |
|
very visible. There are different textures. The papers are handmade painted |
|
with watercolor and crayons. An empty stylized game background scene using |
|
muted colors, mainly blue, yellow, orange, black and violet. A winding path |
|
crosses the screen, curving from the top left to the bottom right. Below the |
|
path, whimsical trees with irregular, bulbous shapes and playful, swirling |
|
bushes fill the scene. To the right stands a cozy, old-fashioned restaurant |
|
with large glass windows, through which warm, soft light spills onto the |
|
empty street. Inside, simple wooden tables and chairs are arranged neatly, |
|
but the restaurant is vacant, giving it a peaceful, quiet vibe. The |
|
restaurant's exterior features a large, aged wooden sign, slightly crooked, |
|
with an oversized fork carved into it and the text "Crespín Restorán" in |
|
quirky, uneven letters. Outside, a few tufts of grass poke through the |
|
cracks of the weathered sidewalk tiles, adding to the rustic charm. The |
|
night sky above is dark, with a crescent moon shining softly, casting gentle |
|
shadows. The street is empty and lonely, illuminated by a few antique-style |
|
street lamps that emit a dim, warm light, contrasting with the cold, bluish |
|
light of the street itself. The lamps are bent and irregular, with wavy |
|
lines, and their light creates playful, wavy reflections on the pavement. |
|
example_title: Night restaurant outdoor scene |
|
output: |
|
url: samples/sample_2.png |
|
- text: >- |
|
SAMHTR style game background. The interior of the very large hair salon is a |
|
vibrant and eccentric space with muted pink walls that radiate playful |
|
energy. The two-point perspective, with a slight fisheye distortion, adds a |
|
whimsical twist, making the space feel both expansive and intimate, with |
|
curved lines that soften the room’s edges. On the side walls, large mirrors |
|
framed by round, yellow bulbs evoke a vintage dressing room style, casting a |
|
warm, welcoming glow throughout the scene. Mounted on the walls are several |
|
white Styrofoam mannequin heads, each showcasing brightly colored, |
|
extravagant wigs: giant curls, impossible buns, and towering beehive |
|
hairstyles. The heads are arranged irregularly, adding a surreal and quirky |
|
vibe to the space. Below each mirror are tables cluttered with hairdressing |
|
tools, ranging from old-fashioned hair dryers and multi-colored brushes to |
|
retro-styled bottles of glitter and styling products, all with packaging |
|
that feels like a throwback to another era. Hanging from the ceiling are |
|
ornate, baroque chandeliers adorned with colorful crystals, adding an |
|
exaggerated touch of luxury and casting a soft sparkle that contrasts with |
|
the mirrors' bright lights. At the back, a large window opens up to a |
|
breathtaking view of a quaint street with pastel-colored buildings. Beyond |
|
the street, the landscape dramatically shifts, with a cliff that drops off |
|
sharply into the ocean, whose blue waters shimmer under the sunlight. The |
|
view of the sea adds a surreal, almost dreamlike contrast to the colorful |
|
and over-the-top interior of the salon. The overall atmosphere is one of |
|
unbridled fun, where every detail seems designed to surprise and delight, |
|
blending retro and extravagant elements into a cartoonish and exaggerated |
|
scene |
|
example_title: Hair salon indoor |
|
output: |
|
url: samples/sample_3.png |
|
- text: >- |
|
SAMHTR style game background. The street is a charming, picturesque scene, |
|
with pastel-colored buildings lining the sidewalk, each one unique and |
|
quirky in its design. The cobblestone road adds a nostalgic, almost |
|
storybook quality to the environment. In the center of this lively street |
|
stands the hair salon, its exterior as bold and kitschy as its interior. The |
|
front of the salon is painted a vibrant pink, with exaggerated, rounded |
|
shapes framing the large, curved window that offers a glimpse into the |
|
colorful world inside. The building itself is slightly bulbous, with soft, |
|
irregular lines that make it feel almost like it's from a cartoon. Above |
|
the entrance, a large, swirling sign reads ‘Fabulous Hair Salon’ in |
|
exaggerated, retro-style lettering, with neon lights blinking in different |
|
colors, giving the front an extra splash of character. The door is framed by |
|
playful, oversized decorations resembling hairstyling tools – a giant comb |
|
on one side and a pair of curling irons on the other – adding to the salon's |
|
eccentric flair. Through the enormous window, you can see the bright pink |
|
interior, with glowing mirrors, mannequin heads adorned with colorful wigs, |
|
and chandeliers hanging from the ceiling, all inviting you into this |
|
whimsical space. The lighting from inside spills out onto the sidewalk, |
|
casting a warm, colorful glow that contrasts with the soft natural light of |
|
the street. Beyond the street, there’s an unexpected shift in scenery – the |
|
street abruptly ends in a cliff, where the land drops off sharply into the |
|
vast, shimmering ocean below. The deep blue sea stretches out toward the |
|
horizon, providing a stunning, almost surreal backdrop to the lively and |
|
eccentric street. The contrast between the cozy, whimsical hair salon and |
|
the dramatic cliffside view creates a striking and dreamlike atmosphere, |
|
making the whole scene feel like it belongs in a vibrant, animated world. |
|
example_title: Hair salon outdoor |
|
output: |
|
url: samples/hair_saloon_outdoor.png |
|
- text: >- |
|
SAMHTR cartoon style character design. This image captures a casual indoor |
|
scene, likely taken in a clothing store or a wardrobe area filled with |
|
various garments. The focal point is a caucasian man standing in the center, |
|
smiling broadly with a friendly, relaxed expression. The overall style |
|
evokes a playful, almost retro vibe. The man is wearing a tight-fitting, |
|
long-sleeved gray shirt, which closely follows the contours of his body. The |
|
man has sweaty armpits in darker color. Around his neck, he is wearing a |
|
tan and beige checkered scarf, loosely wrapped but still snug enough to |
|
stand out as a fashion accessory. The scarf's texture appears soft, perhaps |
|
woolen or knit, and it adds an element of warmth and contrast to his |
|
otherwise sleek outfit. In the background, the space is organized with |
|
shelving and clothing displays. On the left, a shelving unit holds a few |
|
folded garments, including shirts or sweaters, neatly stacked in different |
|
colors. Next to him on the countertop is a black shopping bag adorned with |
|
white and green designs and text, possibly from the store itself. A vibrant |
|
green ribbon is attached to the bag, adding a pop of color. Behind him, part |
|
of the shelving has decorative items, including what looks like a small |
|
piece of art or signage featuring bold black and white graphics. To the |
|
right of the man, a bright green curtain is partially visible, which may be |
|
a fitting room or divider within the space. The lighting in the room is |
|
moderate, with a soft glow illuminating the scene evenly, giving it a clear, |
|
well-lit appearance without harsh shadows. The atmosphere feels casual and |
|
perhaps a bit playful, given the man's fashionable and somewhat whimsical |
|
look. the man's hairstyle is a striking feature, characterized by a mix of |
|
textures that gives it a carefully styled yet relaxed appearance. His hair |
|
is dark, likely black or very dark brown, with a healthy, shiny finish. The |
|
style is divided into two distinct textures: a sleek, straight fringe |
|
(bangs) at the front, and voluminous, professionally styled curls throughout |
|
the rest of the hair. The fringe is straight and falls neatly over his |
|
forehead, with several strands parted slightly in the middle. The bangs are |
|
relatively long, reaching just above his eyebrows. The hair is smooth and |
|
flat against his forehead, providing a sharp contrast to the more voluminous |
|
curls behind it. The straightness of the fringe is likely intentional, |
|
adding a polished, elegant touch to his look. The rest of his hair, in |
|
contrast, is full of soft, bouncy curls, similar to those created with a |
|
curling iron or from a salon blowout. These curls start at the sides of his |
|
head and flow outward, adding significant volume and a lively texture. The |
|
curls are medium in size, not too tight but defined enough to create a |
|
dynamic, flowing look. The back of his hair maintains this voluminous curl |
|
pattern, rounding out the shape of his hairstyle and giving it a balanced, |
|
full appearance. This blend of sleek, straight bangs with voluminous curls |
|
creates a unique juxtaposition, adding both sophistication and a touch of |
|
playfulness to his overall style. The hairstyle feels modern but with a nod |
|
to vintage influences, combining the precision of straight bangs with the |
|
soft glamour of big, flowing curls. It’s clear that this look has been |
|
styled with care, likely in a salon setting, to achieve this distinct mix of |
|
textures. The curls go down the shoulders |
|
output: |
|
url: images/example_axptfegcq.png |
|
|
|
--- |
|
|
|
# Flux Samhtr Remastered |
|
|
|
Trained on Replicate using: |
|
|
|
https://replicate.com/ostris/flux-dev-lora-trainer/train |
|
|
|
|
|
## Trigger words |
|
You should use `SAMHTR style` to trigger the image generation. |
|
|
|
|
|
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers) |
|
|
|
```py |
|
from diffusers import AutoPipelineForText2Image |
|
import torch |
|
|
|
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.float16).to('cuda') |
|
pipeline.load_lora_weights('lichorosario/flux-samhtr-remastered', weight_name='lora.safetensors') |
|
image = pipeline('your prompt').images[0] |
|
``` |
|
|
|
|
|
<Gallery /> |
|
|
|
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) |