How to use from the
Use from the
Diffusers library
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.2-dev", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("danildushenev/magneticTileCrack2")

prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]

danildushenev/magneticTileCrack2

FLUX.2-dev LoRA adapter.

Files

  • pytorch_lora_weights.safetensors (SHA256: ecb8764665a32b2f089230f5ea24d90e7bc3acc20a2f595ebe65acf535891a34)

Usage (Diffusers)

import torch
from diffusers import Flux2Pipeline

pipe = Flux2Pipeline.from_pretrained("black-forest-labs/FLUX.2-dev", torch_dtype=torch.bfloat16).to("cuda")
pipe.load_lora_weights("danildushenev/magneticTileCrack2", weight_name="pytorch_lora_weights.safetensors")
image = pipe("your prompt", num_inference_steps=24, guidance_scale=2.5).images[0]
image.save("result.png")

Usage (ComfyUI)

  1. Download pytorch_lora_weights.safetensors from this repo.
  2. Put it into ComfyUI/models/loras/.
  3. In workflow use LoRA Loader and set this file.

Trigger text: a photo of Magnetic Tile crack

Generated on 2026-02-08 14:05:43Z.

Downloads last month
1
Inference Providers NEW

Model tree for danildushenev/magneticTileCrack2

Adapter
(64)
this model