Add model card
Browse files
README.md
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
base_model: black-forest-labs/FLUX.2-dev
|
| 4 |
+
tags:
|
| 5 |
+
- lora
|
| 6 |
+
- flux
|
| 7 |
+
- flux-2
|
| 8 |
+
- diffusers
|
| 9 |
+
- text-to-image
|
| 10 |
+
library_name: diffusers
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# danildushenev/magneticTileCrack2
|
| 14 |
+
|
| 15 |
+
FLUX.2-dev LoRA adapter.
|
| 16 |
+
|
| 17 |
+
## Files
|
| 18 |
+
|
| 19 |
+
- `pytorch_lora_weights.safetensors` (SHA256: `ecb8764665a32b2f089230f5ea24d90e7bc3acc20a2f595ebe65acf535891a34`)
|
| 20 |
+
|
| 21 |
+
## Usage (Diffusers)
|
| 22 |
+
|
| 23 |
+
```python
|
| 24 |
+
import torch
|
| 25 |
+
from diffusers import Flux2Pipeline
|
| 26 |
+
|
| 27 |
+
pipe = Flux2Pipeline.from_pretrained("black-forest-labs/FLUX.2-dev", torch_dtype=torch.bfloat16).to("cuda")
|
| 28 |
+
pipe.load_lora_weights("danildushenev/magneticTileCrack2", weight_name="pytorch_lora_weights.safetensors")
|
| 29 |
+
image = pipe("your prompt", num_inference_steps=24, guidance_scale=2.5).images[0]
|
| 30 |
+
image.save("result.png")
|
| 31 |
+
```
|
| 32 |
+
|
| 33 |
+
## Usage (ComfyUI)
|
| 34 |
+
|
| 35 |
+
1. Download `pytorch_lora_weights.safetensors` from this repo.
|
| 36 |
+
2. Put it into `ComfyUI/models/loras/`.
|
| 37 |
+
3. In workflow use LoRA Loader and set this file.
|
| 38 |
+
|
| 39 |
+
Trigger text: `a photo of Magnetic Tile crack`
|
| 40 |
+
|
| 41 |
+
Generated on 2026-02-08 14:05:43Z.
|