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]'s ability to generate detailed autumn landscapes with rich, vibrant fall colors, detailed trees, and seasonal elements. Use the trigger word `autumnProxy` 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's how to apply the LoRA to FLUX.1 [dev]:
import torch
from diffusers import FluxPipeline
# Load base model
pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16)
pipe.enable_model_cpu_offload()
# Load and apply LoRA weights
pipe.load_lora_weights("Borcherding/seasonalLandsFluxDev-lora")
# Generate image
prompt = "autumnProxy A majestic maple tree with vibrant red and orange leaves, golden afternoon light"
image = pipe(
prompt,
height=1024,
width=1024,
guidance_scale=3.5,
num_inference_steps=50,
max_sequence_length=512,
generator=torch.Generator("cpu").manual_seed(0)
).images[0]
image.save("autumn-scene.png")
# 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 = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16)
# Load and merge LoRA weights
pipe.load_lora_weights("Borcherding/SeasonalLandsFluxDev-lora")
pipe.merge_lora_weights()
# Save merged model
pipe.save_pretrained("seasonal-lands-merged")
```
# 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
"autumnProxy A peaceful forest path covered in fallen maple leaves, morning mist rising"
"autumnProxy Ancient oak trees with twisted branches, leaves turning golden and red"
"autumnProxy Scenic mountain valley with autumn colors, warm sunset light"
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'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.
|