File size: 2,349 Bytes
60c7f3d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b052b34
 
60c7f3d
 
 
b052b34
60c7f3d
b052b34
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
60c7f3d
 
 
 
 
 
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
---
tags:
- text-to-image
- lora
- diffusers
- template:diffusion-lora
widget:
- text: >-
    Neutral Gray Background, Wide-angle, high quality, detailed, ultrarealistic
    photography, A beige linen shirt with short sleeves, a round neckline, and a
    subtle texture. The shirt has minimal stitching visible at the seams.
  output:
    url: images/4193686277_0.jpg
- text: >-
    Neutral Gray Background, Wide-angle, high quality, detailed, ultrarealistic
    photography, A yellow cotton blouse featuring short puff sleeves, gathered
    shoulders, and button-down front closure. It has two small pockets on either
    side.
  output:
    url: images/1344616527_0.jpg
base_model: black-forest-labs/FLUX.1-schnell
instance_prompt: null
license: apache-2.0
---
# flux-fashion
The **flux-fashion** LoRA model generates high-quality, realistic clothing images from text descriptions. It was trained on the [H&M Fashion Caption Dataset (12k)](https://huggingface.co/datasets/tomytjandra/h-and-m-fashion-caption-12k) using the [AI Toolkit](https://github.com/ostris/ai-toolkit?tab=readme-ov-file).
The LoRA is compatible with FLUX architectures, including [Shuttle 3.1](https://huggingface.co/shuttleai/shuttle-3.1-aesthetic).

<Gallery />

## Features

- **Dataset**: Fine-tuned on [H&M Fashion Caption Dataset (12k)](https://huggingface.co/datasets/tomytjandra/h-and-m-fashion-caption-12k)
- **Architecture**: Compatible with FLUX (e.g., Shuttle 3.1)
- **Model Type**: LoRA for text-to-image tasks.
- **Base Model**: [black-forest-labs/FLUX.1-schnell](https://huggingface.co/black-forest-labs/FLUX.1-schnell).
- **License**: [Apache-2.0](https://choosealicense.com/licenses/apache-2.0/).
## Usage

Use this Model directly using Diffusers

```python
from diffusers import DiffusionPipeline

pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-schnell")
pipe.load_lora_weights("aihpi/flux-fashion-lora")

prompt = "Neutral Gray Background, Wide-angle, high quality, detailed, ultrarealistic photography, A beige linen shirt with short sleeves, a round neckline, and a subtle texture. The shirt has minimal stitching visible at the seams."
image = pipe(prompt).images[0]
```

## Download model

Weights for this model are available in Safetensors format.

[Download](/aihpi/flux-fashion-lora/tree/main) them in the Files & versions tab.