itslenoid's picture
Upload README.md with huggingface_hub
9eaf16c verified
|
Raw History Blame Contribute Delete
1.35 kB

Comic Illustration LoRA for FLUX.2 Klein

A LoRA adapter trained on 86 black-and-white comic/illustration-style images. Trained with mflux on FLUX.2 Klein 4B.

Style

The LoRA learned a black-and-white comic illustration style featuring:

  • Crosshatching and pen-and-ink rendering
  • Technical diagrams, flowcharts, and schematics in backgrounds
  • Developers/engineers at desks with computers and monitors
  • Sci-fi mechanical and space scenes
  • Comic book panel compositions with split scenes

Usage with mflux

mflux-generate-flux2 \
  --lora-paths comic-illustration-lora-full/comic-illustration-lora.safetensors \
  --lora-scales 1.0 \
  --prompt "a black and white comic illustration of a developer working late, detailed line art, technical diagrams" \
  --steps 30 \
  --guidance 1.0 \
  --low-ram \
  --output output.png \
  --seed 42

Training Details

Parameter Value
Base model FLUX.2 Klein 4B (8-bit quantized)
Training images 86
Caption model SmolVLM 256M 4-bit
LoRA rank 16
Target layers transformer_blocks (0-5), single_transformer_blocks (0-20), norm_out, proj_out
Epochs 5
Total steps 430
Learning rate 1e-4
Optimizer AdamW

License

MIT License — free to use, modify, and distribute.