X-GenGroup/Flow-Factory
A unified framework for applying reinforcement learning to optimize diffusion and flow-matching models for image and video generation.

Flow-Factory provides a unified framework for easy reinforcement learning fine-tuning of diffusion and flow-matching models. It supports multiple generative models including LTX-2 for audio-video generation, and offers configurable attention backends for memory and speed optimization. The framework enables RL-based optimization of text-to-image, image-to-image, text-to-video, and video-to-video generation tasks using reward models.