|
--- |
|
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: cubist cartoon portrait CBSTCRTN style of |
|
widget: |
|
- text: >- |
|
CBSTCRTN cubist cartoon portrait of a mexican skeleton playing the guitar. |
|
Dark wooden background. neon lights |
|
example_title: Skeleton |
|
output: |
|
url: samples/skeleton.png |
|
- text: CBSTCRTN cubist cartoon portrait of a dinosaur on the jungle |
|
example_title: Dinosaur |
|
output: |
|
url: samples/dinosaur.png |
|
- text: >- |
|
CBSTCRTN cubist cartoon portrait of a woman rockstar dressed in glitter |
|
wearing pink star shaped eyeglasses |
|
example_title: Woman rockstar |
|
output: |
|
url: samples/woman_rockstar.png |
|
- text: >- |
|
CBSTCRTN cubist cartoon portrait of A man with extremely messy brown hair |
|
and thick sideburns stands in front of a bizarre machine. His hair is wild, |
|
sticking out in different directions, and his sideburns run down the sides |
|
of his face, blending into a scruffy, unkempt beard. His eyes have a crazed, |
|
almost unhinged look, with dark bags under them as if he hasn't slept in |
|
days. His expression is intense, with a crooked grin that adds to his |
|
unsettling appearance. He is dressed in disheveled clothing that looks like |
|
it hasn't been washed in weeks. His shirt is wrinkled and half-tucked, with |
|
stains and tears throughout. His pants are mismatched, with one leg shorter |
|
than the other, and they are covered in patches of dirt. The outfit seems |
|
thrown together haphazardly, as if he grabbed whatever was closest. Despite |
|
this, he wears extremely tall platform shoes, giving the impression that |
|
he's trying to appear taller than he actually is, perhaps to compensate for |
|
his short stature. The shoes are so high that they force him to walk |
|
awkwardly, with an unnatural gait. In his arms, he holds the lifeless body |
|
of a massive English Mastiff, its fur matted and its eyes closed. The dog is |
|
heavy, and the man struggles to carry it, but he seems determined. He |
|
approaches a strange machine, which looks like a large, old-fashioned |
|
contraption with pipes, levers, and glowing lights. The machine is making |
|
mechanical noises, and as he feeds the body of the Mastiff into it, small |
|
clones of the dog begin to emerge from the other side. These clones are |
|
tiny, barely the size of a small toy, and they are exact replicas of the |
|
original dog, down to the droopy jowls and sad eyes. The man watches the |
|
process with a mix of satisfaction and insanity, his crazed eyes fixated on |
|
the clones as they pile up on the floor around the machine. The room around |
|
him is dimly lit, with a grimy floor and peeling wallpaper. The entire scene |
|
feels chaotic and surreal, with a sense of dark humor mixed with horror. |
|
example_title: Dog cloner |
|
output: |
|
url: samples/dog_cloner.png |
|
- text: >- |
|
CBSTCRTN cubist cartoon portrait of The image shows two singers passionately |
|
performing on stage, both holding microphones and singing with great |
|
emotion. The man on the left is bald, with a neatly trimmed beard and |
|
wearing a dark blue suit jacket over a white shirt. His head is tilted |
|
slightly upward as he sings, with his mouth wide open, conveying intensity |
|
and energy. His right hand grips the microphone tightly, and his left hand |
|
is extended outwards, as if emphasizing the power of his performance. To |
|
his right is a woman with long, curly blonde hair cascading over her |
|
shoulders. She is wearing a black, sparkling dress with a deep neckline, and |
|
she too is singing with enthusiasm. Her expression is powerful, with her |
|
mouth open wide as she belts out a note. She holds her microphone in her |
|
right hand, while her left hand is extended in a dramatic gesture, as if |
|
reaching out to the audience. She wears a watch on her left wrist and a ring |
|
on her right hand, adding to her glamorous appearance. The background |
|
features a stage with a decorative backdrop that includes a large circular |
|
design in shades of yellow and orange, resembling an abstract sun. Overhead, |
|
green stage lights illuminate the scene, casting a vibrant glow on the |
|
performers. Behind them, a dark curtain provides contrast, making the |
|
singers stand out even more. The atmosphere is lively, with the lighting |
|
and their dynamic expressions capturing the essence of a passionate |
|
performance. |
|
example_title: The singers |
|
output: |
|
url: samples/the_singers.png |
|
|
|
- text: >- |
|
CBSTCRTN cubist cartoon portrait of Albert Einstein. |
|
example_title: Albert Einstein |
|
output: |
|
url: samples/albert-einstein.png |
|
|
|
- text: >- |
|
CBSTCRTN cubist cartoon portrait of Donald Trump. |
|
example_title: Donald Trump |
|
output: |
|
url: samples/donald-trump-01.png |
|
|
|
- text: >- |
|
CBSTCRTN cubist cartoon portrait of hulk. |
|
example_title: Hulk |
|
output: |
|
url: samples/hulk.png |
|
|
|
- text: >- |
|
CBSTCRTN cubist cartoon portrait of r2d2. |
|
example_title: R2D2 |
|
output: |
|
url: samples/r2d2.png |
|
|
|
|
|
thumbnail: samples/skeleton.png |
|
--- |
|
|
|
|
|
# Flux Cubist Cartoon |
|
|
|
Trained on Replicate using: |
|
|
|
https://replicate.com/ostris/flux-dev-lora-trainer/train |
|
|
|
|
|
## Trigger words |
|
You should use `CBSTCRTN` to trigger the image generation. |
|
|
|
<Gallery /> |
|
|
|
|
|
## 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-cubist-cartoon', weight_name='lora.safetensors') |
|
image = pipeline('your prompt').images[0] |
|
``` |
|
|
|
|
|
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) |