MFLUX v.0.8.0 Release Notes
Experimental AI Features
๐ CatVTON (Virtual Try-On)
- [EXPERIMENTAL] Added virtual try-on capabilities using in-context learning via
mflux-generate-in-context-catvton - Support for person image, person mask, and garment image inputs for comprehensive virtual clothing try-on
- Automatic prompting for virtual try-on scenarios with optimized default prompts
- Side-by-side generation showing garment product shot alongside styled result
- AI-powered virtual clothing fitting with realistic lighting and fabric properties
โ๏ธ IC-Edit (In-Context Editing)
- [EXPERIMENTAL] Added natural language image editing capabilities via
mflux-generate-in-context-edit - Natural language image editing using simple text instructions like "make the hair black" or "add sunglasses"
- Automatic diptych template formatting for optimal editing results
- Optimal resolution auto-sizing for 512px width (the resolution IC-Edit was trained on)
- Specialized LoRA automatically downloaded and applied for enhanced editing capabilities
Enhanced Generation Control
๐ Image Upscaling
- Built-in upscaling capabilities: Enhanced image quality and resolution enhancement for generated images
- Seamless integration with existing generation workflow
- Professional-grade upscaling for production-ready outputs
Interpretability research
๐ง Concept Attention
- Enhanced image generation control: Fine-grained control over image generation focus areas using attention-based concepts
- Improved composition and subject handling for more precise artistic direction
- Advanced attention mechanisms for better understanding of prompt concepts
Workflow & Performance Improvements
๐ชซ Battery Saver
- Power management: Automatic power optimization during extended generation sessions
- Configurable power-saving modes specifically designed for laptop users
- Smart resource management for long-running batch operations
๐ Prompt File Support
- File-based prompt input: Batch operations via
--prompt-filefor large-scale generation projects - Dynamic prompt updates for large batch generation workflows
- Support for external prompt management and automation systems
๐ Redux Function Balancing
- Enhanced Redux capabilities: Improved control over image-to-image transformation strength
- Better quality variations with adjustable parameters for more predictable results
- Refined Redux algorithm for more natural image variations
๐ฅ Stdin Prompt Support
- LLM Integration Ready: Added support for providing prompts via stdin using
--prompt - - Enables seamless integration with LLMs and other text generation tools
- Supports both single-line and multi-line prompts through stdin
- Perfect for automation workflows and dynamic prompt generation
- Example usage:
echo "A beautiful landscape" | mflux-generate --prompt -
Developer Experience
๐ง LORA_LIBRARY_PATH Improvements
- Unix-style resource discovery: Enhanced LoRA library path handling for better organization
- Improved path handling for LoRA weight discovery across multiple directories
- Better cross-platform compatibility for LoRA management
๐งช Testing & Documentation
- New command-line arguments for both experimental features with comprehensive help
- Comprehensive argument parser tests for new functionality
- Updated documentation with experimental feature warnings and usage guidelines
- Added note about upcoming FLUX.1 Kontext model from Black Forest Labs
Architecture Improvements
๐ Documentation Structure
- Refactored "In-Context LoRA" section to "In-Context Generation" with clear subcategories
- Enhanced documentation structure for better organization and user navigation
- Improved categorization of experimental vs stable features
๐ Code Architecture Changes
- Class rename:
Flux1InContextLorais nowFlux1InContextDevto better reflect the dev model variant - Module reorganization: Moved from
mflux.community.in_context_lora.flux_in_context_loratomflux.community.in_context.flux_in_context_dev - Breaking change for library users: If you import the class directly, update your imports accordingly
โก Performance Optimizations
- Updated MLX dependency to latest version for improved performance and stability
- Removed PyTorch dependency for DepthPro model, significantly reducing installation requirements
- Streamlined dependencies for faster installation and reduced disk usage
Experimental Notice
โ ๏ธ Important: CatVTON and IC-Edit features are experimental and may be removed or significantly changed in future updates. These features represent cutting-edge AI capabilities that are still under active development.
Contributors
Special thanks to the following contributors for their exceptional work since v0.7.1:
- Anthony Wu (@anthonywu): Battery Saver implementation, Prompt File Support, Stdin Prompt Support, LORA_LIBRARY_PATH improvements
- Alessandro (@azrahello): Redux Function Balancing enhancements
- Filip Strand (@filipstrand): Core development, experimental features integration, infrastructure improvements