An image model's rectified flow, repurposed for music
It extends Flux’s rectified flow Transformers from images to music, offering pre-trained weights and a scaling study across five model sizes.

What it does
FluxMusic is a research implementation that borrows the rectified flow Transformer architecture from the Flux image-generation model and retunes it for text-to-music generation. The repo provides PyTorch model definitions, pre-trained weights across five sizes from Small to Giant-Full, and training and sampling scripts. It leans heavily on existing components—AudioLDM2’s VAE and vocoder, T5-XXL for text encoding, and CLAP-L for audio-text alignment—so the value is in the adaptation and scaling data rather than a from-scratch pipeline.
The interesting bit
The project treats music generation as a scaling experiment for rectified flow Transformers, training multiple model sizes on data subsets to plot scaling curves before releasing a full 2M-step Giant checkpoint. The authors are refreshingly candid that this is a research project and point users toward a commercial application for polished, end-user results.
Key highlights
- Adapts the Flux rectified flow Transformer architecture from image to music generation
- Releases five model scales (Small, Base, Large, Giant, and Giant-Full), with the largest trained for 2M steps
- Leverages battle-tested components: AudioLDM2 VAE/vocoder, T5-XXL text encoder, and CLAP-L
- Provides training scripts, inference code, and a clean data subset via HuggingFace
- Includes scaling checkpoints (200K steps) intended for paper experiments and case studies
Caveats
- The 200K-step checkpoints were trained on a data subset for scaling experiments; full paper reproduction requires downloading copyrighted datasets yourself
- Some training scripts contain resume logic from an unplanned restart due to machine malfunction
- The authors explicitly position this as a research codebase and redirect users seeking a finished product to a third-party commercial app
Verdict
Worth a look if you are researching rectified flow architectures or scaling laws in generative audio. Skip it if you need a turnkey music generator or a fully reproducible paper pipeline without hunting down datasets.
Frequently asked
- What is feizc/FluxMusic?
- It extends Flux’s rectified flow Transformers from images to music, offering pre-trained weights and a scaling study across five model sizes.
- Is FluxMusic open source?
- Yes — feizc/FluxMusic is an open-source project tracked on heatdrop.
- What language is FluxMusic written in?
- feizc/FluxMusic is primarily written in Python.
- How popular is FluxMusic?
- feizc/FluxMusic has 1.7k stars on GitHub.
- Where can I find FluxMusic?
- feizc/FluxMusic is on GitHub at https://github.com/feizc/FluxMusic.