|
--- |
|
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: in a dark fantasy style, grainy |
|
library_name: diffusers |
|
inference: |
|
parameters: |
|
width: 1024 |
|
height: 1024 |
|
widget: |
|
- text: >- |
|
This image is a simplified, TSTVCTR vector-style portrait of a person with |
|
distinct cartoonish features. The man is wearing a gray hat and black-framed |
|
glasses. He has a thick, neatly trimmed beard and mustache. A playful touch |
|
is added by a small blue flower with a pink center placed behind his right |
|
ear. His expression is neutral, with a hint of warmth in his eyes and a |
|
faint smile. The background is a solid pale yellow, providing a calm, |
|
minimalistic backdrop that contrasts with the bold, dark colors of his beard |
|
and glasses. He is dressed in a simple green shirt, which matches the clean, |
|
modern, and flat art style of the image. The overall feel of the |
|
illustration is lighthearted and modern, with geometric lines and a focus on |
|
smooth, flat shapes. The flower adds a fun and quirky element to the |
|
otherwise calm and straightforward portrayal. |
|
output: |
|
url: images/example_wyd3vx781.png |
|
- text: >- |
|
This is a playful digital cartoon illustration featuring a young boy and a |
|
white cat. The boy has a cheerful expression, with wide brown eyes and an |
|
open mouth, showing his teeth in a happy, excited manner. His brown hair is |
|
short and styled with a slightly angular cut, with a lighter patch of brown |
|
forming a beard along his jawline. He is wearing a bright orange |
|
long-sleeved shirt, which contrasts nicely against the green background. |
|
The white cat is nestled closely against the boy, with its front paws |
|
affectionately draped over his shoulder as though it's hugging him. The |
|
cat's large yellow eyes, with narrow, black vertical pupils, give it a |
|
curious yet calm expression. Its ears are pointed, and its pink nose and |
|
whiskers are drawn simply but add to its cute, friendly appearance. The |
|
background is a solid green, which provides a clean, colorful backdrop that |
|
allows the figures of the boy and cat to stand out. The illustration is |
|
rendered in a modern, vector art style, characterized by bold lines, smooth |
|
shapes, and vibrant colors, giving it a fun and lively feel. The interaction |
|
between the boy and the cat suggests a strong bond, adding warmth and charm |
|
to the image.. in a dark fantasy style, grainy |
|
output: |
|
url: images/example_xi42rsvku.png |
|
|
|
--- |
|
|
|
# Tosti vector 1 (1500 steps) |
|
Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit) under the [Glif Loradex program](https://huggingface.co/glif-loradex-trainer) by [Glif](https://glif.app) user `tostiok`. |
|
|
|
|
|
## Trigger words |
|
You should use `in a dark fantasy style, grainy` 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-samhtr-remastered', 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) |