Views
No views yet
Y4RN_ART — the style only activates when the trigger is in the prompt; without it, output stays photorealistic (no style bleed).| With trigger (fox) | With trigger (astronaut) | On distilled, 4 steps | No trigger |
|---|---|---|---|
![]() | ![]() | ![]() | ![]() |
1import torch
2from diffusers import Flux2KleinPipeline
3
4pipe = Flux2KleinPipeline.from_pretrained(
5 "black-forest-labs/FLUX.2-klein-base-4B", torch_dtype=torch.bfloat16
6).to("cuda")
7pipe.load_lora_weights("Barath/flux2-klein-yarn-art-lora")
8
9img = pipe(
10 "Y4RN_ART, a fox in a forest",
11 num_inference_steps=28, guidance_scale=4.0,
12).images[0]1pipe = Flux2KleinPipeline.from_pretrained(
2 "black-forest-labs/FLUX.2-klein-4B", torch_dtype=torch.bfloat16
3).to("cuda")
4pipe.load_lora_weights("Barath/flux2-klein-yarn-art-lora")
5img = pipe("Y4RN_ART, a fox in a forest", num_inference_steps=4, guidance_scale=1.0).images[0]klein4b_yarn_art_lora_v1.safetensors — final checkpoint (step 1800, recommended)klein4b_yarn_art_lora_v1_000001200.safetensors — step-1200 checkpoint (slightly lighter style)Y4RN_ART trigger prefix