flux-fashion-lora / README.md
aihpi's picture
Update README.md
b052b34 verified
---
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.