github mflux-community/mflux v.0.8.0
Release 0.8.0

latest releases: v.0.19.0, v.0.18.1, v.0.18.0...
14 months ago

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-file for 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: Flux1InContextLora is now Flux1InContextDev to better reflect the dev model variant
  • Module reorganization: Moved from mflux.community.in_context_lora.flux_in_context_lora to mflux.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

Don't miss a new mflux release

NewReleases is sending notifications on new releases.