Instructions to use SebastianBodza/flux_lora_aquarel_watercolor with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use SebastianBodza/flux_lora_aquarel_watercolor with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("SebastianBodza/flux_lora_aquarel_watercolor") prompt = "A painting of a mountain climber reaching the summit of a peak, with the word 'ASCEND' appearing in the snow patterns on the mountain's surface. In a watercolor style, AQUACOLTOK. White background." image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
File size: 2,473 Bytes
1d5e8f9 4ff1d9b cf656e8 1d5e8f9 5c265ce 1d5e8f9 4ff1d9b 1d5e8f9 | 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 | ---
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-dev"
pipeline_tag: text-to-image
instance_prompt: AQUACOLTOK
widget:
- text: >-
A painting of a mountain climber reaching the summit of a peak, with the word 'ASCEND' appearing in the snow patterns on the mountain's surface. In a watercolor style, AQUACOLTOK. White background.
output:
url: images/ascend.webp
text: >-
A painting of a vintage-style travel poster, with a suitcase and globe in the foreground, and the words "Destination Unknown" printed in a beautiful, cursive font on a distressed luggage tag. In a watercolor style, AQUACOLTOK. White background.
output:
url: >-
images/vintage.webp
text: >-
A painting of a quaint, old-fashioned bookstore, with the words "Tales of Wonder" etched in gold lettering above the storefront. In a watercolor style, AQUACOLTOK. White background.
output:
url: >-
images/bookstore.webp
text: >-
A painting of a person giving a TED talk on a TED stage with the TED logo, "the speaker". In a watercolor style, AQUACOLTOK.
output:
url: >-
images/ted.webp
text: >-
A painting of a barista creating an intricate latte art design, with the "Coffee Creations" logo skillfully formed within the latte foam. In a watercolor style, AQUACOLTOK. White background.
output:
url: >-
images/coffee.webp
---
# Works best with the template:
```
A painting of ... In a watercolor style, AQUACOLTOK. White background.
```
<Gallery />
# Flux_Lora_Aquarel_Watercolor
Trained on Replicate using:
https://replicate.com/ostris/flux-dev-lora-trainer/train
## Trigger words
You should use `AQUACOLTOK` to trigger the image generation.
## 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('SebastianBodza/flux_lora_aquarel_watercolor', 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)
|