Text-to-Image
Diffusers
lora
template:diffusion-lora
File size: 4,764 Bytes
b4d0847
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3b70775
b4d0847
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3b70775
 
 
b4d0847
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
---
tags:
- text-to-image
- lora
- diffusers
- template:diffusion-lora
widget:
- text: >-
    autumnProxy orange and red tree surrounded by grass and leaves with a double
    rainbow in the sky above the tree
  parameters:
    negative_prompt: cartoon, fake
  output:
    url: images/seasonallandsfluxdev_000100_04_20241227200714.png
- text: 'autumnProxy red and green maple tree looking up at from underneath '
  parameters:
    negative_prompt: cartoon, fake
  output:
    url: images/seasonallandsflux_001500_03_20241227091256.png
- text: >-
    autumnProxy orange and red tree surrounded by grass and leaves with a double
    rainbow in the sky above the tree
  parameters:
    negative_prompt: cartoon, fake
  output:
    url: images/seasonallandsfluxdev_000400_04_20241227222430.png
- text: autumnProxy orange and green maple leaf
  parameters:
    negative_prompt: cartoon, fake
  output:
    url: images/seasonallandsfluxdev_000900_00_20241228020648.png
- text: autumnProxy red and green leaf
  parameters:
    negative_prompt: cartoon, fake
  output:
    url: images/seasonallandsfluxdev_000400_02_20241227221919.png
- text: autumnProxy red maple leaf
  parameters:
    negative_prompt: cartoon, fake
  output:
    url: images/seasonallandsfluxdev_000200_02_20241227204642.png
base_model: black-forest-labs/FLUX.1-dev
instance_prompt: autumnProxy
license: apache-2.0
---
# seasonalLandsFluxDev

<Gallery />

## Model description 

# seasonalLandsFluxDev LoRA

A LoRA fine-tune for FLUX.1 [dev] that specializes in generating seasonal landscapes with a focus on autumn scenery, foliage, and natural environments.

## Overview
This LoRA enhances FLUX.1 [dev]&#39;s ability to generate detailed autumn landscapes with rich, vibrant fall colors, detailed trees, and seasonal elements. Use the trigger word &#x60;autumnProxy&#x60; to activate the autumn-specific capabilities.

## Installation

First, ensure you have FLUX.1 [dev] installed:

```python
pip install -U diffusers
Usage
Loading with Diffusers
Here&#39;s how to apply the LoRA to FLUX.1 [dev]:

import torch
from diffusers import FluxPipeline

# Load base model
pipe &#x3D; FluxPipeline.from_pretrained(&quot;black-forest-labs&#x2F;FLUX.1-dev&quot;, torch_dtype&#x3D;torch.bfloat16)
pipe.enable_model_cpu_offload()

# Load and apply LoRA weights
pipe.load_lora_weights(&quot;Borcherding&#x2F;seasonalLandsFluxDev-lora&quot;)

# Generate image
prompt &#x3D; &quot;autumnProxy A majestic maple tree with vibrant red and orange leaves, golden afternoon light&quot;
image &#x3D; pipe(
    prompt,
    height&#x3D;1024,
    width&#x3D;1024,
    guidance_scale&#x3D;3.5,
    num_inference_steps&#x3D;50,
    max_sequence_length&#x3D;512,
    generator&#x3D;torch.Generator(&quot;cpu&quot;).manual_seed(0)
).images[0]
image.save(&quot;autumn-scene.png&quot;)

# Unload LoRA weights if needed
pipe.unload_lora_weights()
Merging LoRA (Optional)
To permanently merge the LoRA weights with the base model:
pythonCopyimport torch
from diffusers import FluxPipeline

# Load base model
pipe &#x3D; FluxPipeline.from_pretrained(&quot;black-forest-labs&#x2F;FLUX.1-dev&quot;, torch_dtype&#x3D;torch.bfloat16)

# Load and merge LoRA weights
pipe.load_lora_weights(&quot;Borcherding&#x2F;SeasonalLandsFluxDev-lora&quot;)
pipe.merge_lora_weights()

# Save merged model
pipe.save_pretrained(&quot;seasonal-lands-merged&quot;)
```

# Trigger Word

Use autumnProxy in your prompts to activate the seasonal enhancements
Best results achieved when placing the trigger word at the start of the prompt

Prompt Examples
&quot;autumnProxy A peaceful forest path covered in fallen maple leaves, morning mist rising&quot;
&quot;autumnProxy Ancient oak trees with twisted branches, leaves turning golden and red&quot;
&quot;autumnProxy Scenic mountain valley with autumn colors, warm sunset light&quot;
Specialized Features

Enhanced autumn color palette (reds, oranges, yellows, greens)
Detailed tree and leaf structures
Natural seasonal lighting effects
Atmospheric elements like fog and mist
Realistic ground coverage with fallen leaves

# Limitations

This is a LoRA for FLUX.1 [dev] and requires the base model to function
Focus on natural landscapes and seasonal elements
Inherits base limitations from FLUX.1 [dev]

License
This LoRA falls under the same licensing terms as FLUX.1 [dev]. Please refer to the base model&#39;s license for usage terms.
Credits

Base model: FLUX.1 [dev] by Black Forest Labs
LoRA training and development: [Borcherding at BorchInk]


## Trigger words

You should use `autumnProxy` to trigger the image generation.


## Download model

Weights for this model are available in Safetensors format.

[Download](/Borcherding/seasonalLandsFluxDev-lora/tree/main) them in the Files & versions tab.