FLUX is Black Forest Labs’ image generation model family, and this official repository contains the inference code for its open-weight models, FLUX.1 schnell and FLUX.1 dev. The FLUX.1 models set a new bar for open text-to-image generation when they were released, with strong prompt following, typography and detail, and the family has since grown into one of the most used image model lines in both research and products. The repository holds around 26,000 stars on GitHub.
The repo provides a minimal, readable implementation for running FLUX.1 models locally: sampling scripts and a small Python package that load the checkpoints and generate images from text prompts on your own GPU. FLUX.1 schnell is a distilled, few-step model released under the Apache-2.0 license for fast generation, while FLUX.1 dev is a higher-quality guidance-distilled model released under a non-commercial license, with commercial use available through Black Forest Labs’ licensing and hosted API. The wider FLUX ecosystem includes editing and control variants, and the models are also accessible through the company’s API and major cloud platforms for teams that prefer not to self-host.
The repository code is free under the Apache-2.0 license, and FLUX.1 schnell weights are Apache-2.0 as well. FLUX.1 dev weights are free for non-commercial use; commercial use, the hosted API and the Pro model line are paid, which makes the overall offering freemium.
FLUX is for developers, artists and product teams who want top-tier open image generation they can run locally or fine-tune, and for companies that need a commercially licensed, API-accessible image model family.