ControlNet LoRA SDXL - Brightness Control (100k @ 1024×1024)
A Control LoRA model trained on Stable Diffusion XL to control image generation through brightness/grayscale information. This model uses LoRA (Low-Rank Adaptation) combined with ControlNet architecture for efficient control, providing an ultra-lightweight alternative to full ControlNet with excellent pattern preservation.
Model Description
This Control LoRA enables brightness-based conditioning for SDXL image generation. By providing a grayscale image as input, you can control the brightness distribution and lighting structure while maintaining creative freedom through text prompts.
Key Features:
🎨 Excellent brightness and pattern control across multiple scales (0.5-2.0)
🚀 196x smaller than full ControlNet: ~24MB vs ~4.7GB
⚡ Ultra-fast loading: LoRA weights load in <1 second
💡 Flexible scale control: Adjustable conditioning scale from 0.5 to 2.0+
🔄 Compatible with ControlLoRA v3: Uses the efficient ControlLoRA v3 architecture
📦 Minimal storage: All checkpoints + final model = ~490MB total
🖼️ Native SDXL resolution: Trained at 1024×1024
🎯 Production-scale training: 100,000 samples with PiSSA initialization
Intended Uses:
Artistic QR code generation (scale 1.0-1.5 recommended)
Image recoloring and colorization
Lighting control in text-to-image generation
Brightness-based pattern integration
Watermark and subtle pattern embedding
Photo enhancement and stylization
Training Details
Training Data
Trained on 100,000 samples from latentcat/grayscale_image_aesthetic_3M:
Maximum control capability with best generalization
Excellent pattern preservation at all scales
Recommended scales: 0.7-2.0
Recommended for production use
100k Training - What's Different?
Training on 100k samples (vs 10k) provides several key improvements:
Enhanced Capabilities:
🎯 10x More Data: Robust pattern learning across diverse conditions
🎨 Better Generalization: Handles wider variety of brightness patterns
💪 Improved Stability: More consistent results at extreme scales
🚀 Smoother Control: Finer-grained control across the full scale range
⚡ Advanced Init: PiSSA initialization for faster convergence
Training Improvements:
Empty Prompts: 20% (vs 10% in 10k) for better unconditional generation
VAE: madebyollin/sdxl-vae-fp16-fix for numerical stability
Scheduler: Constant LR with no warmup for consistent learning
Quality:
No overfitting observed (LoRA architecture prevents overfit)
All checkpoints show excellent quality
Recommended: Final model (100k) for production use
⚠️ Current Status: Artistic QR Code Generation
Best Visual Results: The final 100k checkpoint produces excellent artistic images with beautiful integration of patterns and prompts.
Scanability Issue (Work in Progress): Currently, QR codes generated with this model are not scannable. The model prioritizes artistic quality and prompt following over QR code structure preservation.
Example Output (Final Checkpoint, Scale 0.45):
Artistic Example - Scale 0.45
This beautiful garden scene with flowers and butterflies demonstrates the model's excellent artistic capabilities and prompt following at conditioning scale 0.45, but the QR pattern is not preserved enough for scanning.
What's Working:
✅ Excellent artistic quality
✅ Beautiful prompt following (garden, flowers, butterflies)
✅ Natural integration of brightness patterns
✅ Stable training (no overfitting)
What Needs Improvement:
❌ QR codes are not scannable
🔧 Need to increase conditioning scale or adjust training approach
🔧 Possible solutions: higher scales (1.5-2.0), multi-pass refinement, or specialized training
Recommended for: Artistic image generation with brightness control, pattern-guided art. Not recommended yet for functional QR code generation.
Next Steps:
Experiment with higher conditioning scales (1.5-2.0)
Test multi-pass refinement approach
Consider training with stronger structural loss
When to Use This Model
✅ Use This Control LoRA When:
Creating artistic QR codes with SDXL quality (scale 1.0-1.5)
Need minimal storage overhead (~25MB per checkpoint)
Want fast model loading (<1 second)
Building production applications requiring small model sizes
Working with SDXL as base model
Require flexible control strength via extra_condition_scale
Need multiple checkpoints without massive storage (490MB total vs 18.8GB)
Working with production-scale datasets (100k samples)
⚠️ Consider Alternatives When:
Need full ControlNet features with extremely precise control
Working with existing T2I Adapter pipelines
Require different control types (pose, depth, etc.) - train separate LoRAs
Limitations
Current Limitations
ControlLoRA v3 dependency: Requires custom pipeline code (not in main diffusers yet)
Grayscale conditioning only: Trained specifically for brightness/grayscale control
Single control type: Only brightness, not other conditioning types
Custom code required: Need to include ControlLoRA v3 files
Recommendations
For SDXL generation, use this Control LoRA
For multiple control types, train separate LoRAs and combine