
Share
XLabs AI's new FLUX.1-dev LoRA checkpoints offer artists unparalleled control over AI-generated art, enabling precise style and theme customization within popular tools like ComfyUI.
The team at XLabs AI has released a collection of trained LoRAs (Low-Rank Adaptation) for the FLUX.1-dev model by Black Forest Labs, aimed at enhancing artistic control and creativity in AI-generated art. This release is particularly exciting for practitioners working with models like ComfyUI and looking to fine-tune their outputs with specific styles or themes.
For those using ComfyUI, the team has provided a GitHub repository with specific workflows. You can find these at:
The training scripts and configurations are available in another GitHub repository. These scripts support both LoRA and ControlNet fine-tuning, providing a robust foundation for custom model development.
You can access these scripts and configurations at:

The training dataset follows a structured format, which is crucial for ensuring consistent and high-quality outputs. The dataset directory structure looks like this:
โโโ images/
โ โโโ 1.png
โ โโโ 1.json
โ โโโ 2.png
โ โโโ 2.json
โ โโโ ...
Each image (e.g., 1.png) is paired with a JSON file (e.g., 1.json) that contains a "caption" field. This caption serves as the text prompt for the training process.
To help you get started, here are some example commands for generating images using the pre-trained LoRAs:
python3 main.py \
--prompt "Female furry Pixie with text 'hello world'" \
--lora_repo_id XLabs-AI/flux-furry-lora --lora_name furry_lora.safetensors --device cuda --offload --use_lora \
--model_type flux-dev-fp8 --width 1024 --height 1024 \
--timestep_to_start_cfg 1 --num_steps 25 --true_gs 3.5 --guidance 4
python3 main.py \
--prompt "Male furry Lycanthrope with fur-covered body in ancient ruins, howling at the full moon, surrounded by eerie mist, werewolf transformation, elder scrolls, eslweyr, glitch aesthetic, anime-inspired, digital illustration, artstation, furry" \
--lora_repo_id XLabs-AI/flux-furry-lora --lora_name furry_lora.safetensors --device cuda --offload --use_lora \
--model_type flux-dev-fp8 --width 1024 --height 1024 \
--timestep_to_start_cfg 1 --num_steps 25 --true_gs 3.5
python3 main.py \
--prompt "A handsome man in a suit, 25 years old, cool, futuristic" \
--lora_repo_id XLabs-AI/flux-lora-collection --lora_name mjv6_lora.safetensors \
--device cuda:4 --offload --use_lora --model_type flux-dev-fp8 --width 1024 --height 1024
python3 main.py \
--prompt "A girl in a suit covered with bold tattoos and holding a vest pistol, beautiful woman, 25 years old, cool
Tags
Original Sources
About the author
Kai built ML infrastructure at a Bay Area startup before developing an obsession with transformer architectures and inference optimisation that eventually pulled him out of product work entirely. A stint at a compute research lab sharpened his instinct for what actually matters in a model release versus what is marketing. He writes from the inside โ from the perspective of someone who has debugged the systems he is describing at three in the morning. He is allergic to hype and instinctively drawn to the unglamorous plumbing questions that everyone else skips over.
More from The Engineer โThis Week's Edition
26 February 2025
88 articles
Related Articles
Related Articles
More Stories