File size: 3,375 Bytes
0031509 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 |
---
tags:
- text-to-image
- flux
- lora
- diffusers
- template:sd-lora
- ai-toolkit
widget:
- text: '[trigger] holding a sign that says ''I LOVE PROMPTS!'''
output:
url: samples/1726276864100__000002000_0.jpg
- text: '[trigger] santa clause holding a bottle of face serum. bottle label contains
text "Salicylic Acid 02% FACE SERUM with oligopeptide-10 egcg + horehound
extract reduces oil, acne, blackheads for acne prone skin 30m1/1floz Minimalist"'
output:
url: samples/1726276877273__000002000_1.jpg
- text: '[trigger] A woman holding news papper, sitting at a cafe. Newspaper contains
text "Earnings from export of basmati had fallen sharply due to trade restrictions,
while onion growers and traders had demanded removal of export barriers. The
Centre on Friday scrapped the minimum export prices (MEPs) on basmati and
onion it had imposed last year to cool domestic food inflation, according
to separate notifications, in steps that will cheer farmers and traders."
This is in small text, but readable'
output:
url: samples/1726276890463__000002000_2.jpg
- text: "[trigger] A IT service center advertisement that contains text \"Jeswin\
\ IT services. Reliable Solutions for All Your Tech Troubles! \u2022 Virus\
\ removal and system security \u2022 Hardware repairs and upgrades \u2022\
\ Data recovery and backup solutions\""
output:
url: samples/1726276903655__000002000_3.jpg
- text: '[trigger] A film ad that contains the heros and heroins image and the text
"From visionary director James Cameron comes an epic adventure that will push
the boundaries of cinema... AQUATERRA Starring: Chris Hemsworth"'
output:
url: samples/1726276916841__000002000_4.jpg
- text: '[trigger] A circus company ad that contains the text "Prepare to be amazed,
astounded, and enchanted by the wonders of Cirque Magnifique!"'
output:
url: samples/1726276930045__000002000_5.jpg
base_model: black-forest-labs/FLUX.1-dev
instance_prompt: p3r5on
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
---
# flux_lora_text
Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit)
<Gallery />
## Trigger words
You should use `p3r5on` to trigger the image generation.
## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, etc.
Weights for this model are available in Safetensors format.
[Download](/jcyriac/flux_lora_text/tree/main) them in the Files & versions tab.
## 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.bfloat16).to('cuda')
pipeline.load_lora_weights('jcyriac/flux_lora_text', weight_name='flux_lora_text')
image = pipeline('[trigger] holding a sign that says 'I LOVE PROMPTS!'').images[0]
image.save("my_image.png")
```
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)
|