File size: 3,656 Bytes
db4f99c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
665c702
db4f99c
 
 
 
 
 
665c702
db4f99c
 
 
 
 
 
665c702
 
 
 
 
 
 
 
 
db4f99c
 
 
 
 
 
 
665c702
db4f99c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
665c702
db4f99c
 
 
 
 
 
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
---
tags:
- text-to-image
- flux
- lora
- diffusers
- template:sd-lora
- ai-toolkit
widget:
-   text: '[trigger] style, A stone-paved courtyard surrounded by tall brick walls.
        In the center is a large fountain with water flowing down in layers. To the
        left, there is a bench under an old oak tree, casting long shadows on the
        ground. The sunlight is breaking through the branches, illuminating patches
        of the cobblestone path. A few birds are perched on the fountain''s edge.'
    output:
        url: samples/1728668812875__000003000_0.jpg
-   text: '[trigger] style, A modern city rooftop, with metal railings and a large
        glass dome in the center. A few metal vents are scattered across the gravel
        floor. There is a clear blue sky above, and the glass reflects the sunlight.
        On the left side, a tall antenna stretches upwards, surrounded by small potted
        plants placed along the railing.'
    output:
        url: samples/1728668828321__000003000_1.jpg
-   text: '[trigger] style, A small, cozy living room with a brick fireplace. The
        fire is burning war mly, casting a soft glow across the room. On the right
        side, a wooden bookshelf is filled with books and a small clock. A patterned
        rug covers the wooden floor, and two leather armchairs are placed facing the
        fire. The light from the window shows a snowy landscape outside.'
    output:
        url: samples/1728668843794__000003000_2.jpg
-   text: '[trigger] style, A grand marble hallway, with tall white pillars on both
        sides and intricate carvings on the walls. A long red carpet runs down the
        middle, leading to a large double door at the end. Above, a crystal chandelier
        hangs from the high ceiling, casting sparkling reflections on the marble floor.
        Sunlight pours in from the large windows on the left, illuminating the space
        with a golden hue.'
    output:
        url: samples/1728668859255__000003000_3.jpg
base_model: black-forest-labs/FLUX.1-dev
instance_prompt: b0ckground
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
---

# background_3
Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit)
<Gallery />

## Trigger words

You should use `b0ckground` 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](/busetolunay/background/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('busetolunay/background', weight_name='background_3.safetensors')
image = pipeline('[trigger] style, A stone-paved courtyard surrounded by tall brick walls. In the center is a large fountain with water flowing down in layers. To the left, there is a bench under an old oak tree, casting long shadows on the ground. The sunlight is breaking through the branches, illuminating patches of the cobblestone path. A few birds are perched on the fountain's edge.').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)