
black-forest-labs /
flux
Why it matters
- The repository holds the minimal code to generate and edit images with the open-weight FLUX models.
- Several models are listed, for text to image, in/out-painting, editing and image variation.
- An API also gives access to every model, including the Pro tier whose weights are not released.
Before you start
- The README says commercial use of the open-weight models needs a license and usage tracking.
- Most listed models use the non-commercial FLUX.1-dev license; only schnell is under Apache 2.0.
Try it
cd $HOME && git clone https://github.com/black-forest-labs/flux
cd $HOME/flux
python3.10 -m venv .venv
source .venv/bin/activate
pip install -e ".[all]"This is the local install described in the README. Model weights are then downloaded from Hugging Face, and the README uses Python 3.10. Commands copied from the official README (December 2, 2026).
Install it with your AI agent

Let your agent get angry at the dependencies, it has no blood pressure. ^^
White Rose
Hi, White Rose from Silicium Rose sent me. Help me install black-forest-labs/flux: https://github.com/black-forest-labs/flux
1. Read the official README at that address (not from memory) and tell me in two sentences what it does and what it touches on my machine.
2. Check that my machine is suitable (system, versions, memory, graphics card, disk space). If anything is missing, say so before you start.
3. Install in its own folder, with an isolated environment if the project needs one.
4. Show me each command and wait for my go-ahead before any downloaded script, admin rights, large download or key. Never ask me to paste a key into the chat.
5. Finish with a very simple test, show me the result, and tell me how to run it and uninstall it.
Commands from the README, check them before running:
cd $HOME && git clone https://github.com/black-forest-labs/flux
cd $HOME/flux
python3.10 -m venv .venv
source .venv/bin/activate
pip install -e ".[all]"
Good to know:
- The README says commercial use of the open-weight models needs a license and usage tracking.
- Most listed models use the non-commercial FLUX.1-dev license; only schnell is under Apache 2.0.Paste it into Claude Code, Codex, Cursor, Gemini CLI or any agent with access to your terminal. Read what it proposes before you say yes.
Articles that cover it
Krea, quelle version choisir ? Turbo pour les photos. Sept modèles d'images sous un seul nom, quatre qu'on ne télécharge même pas, et un FLUX.1 Krea [dev] qui colle un téléphone dans les mains sans qu'on le lui demande
Flux, quelle version choisir ? Trois générations, quatre licences et un « BONJUUR »
Flux ou Krea 2 ? Pour tes photos en local, Krea 2 Turbo, avec une licence qui permet l'usage commercial
SDXL ou Flux ? Lequel choisir, pancarte en main
Similar repositories
CompVisstable-diffusion
The original Stable Diffusion repository, a model that creates images from a sentence. It is for people who want to run it themselves with a reference script.
1 articlehuggingfacediffusers
Diffusers is the Hugging Face Python library for generating images, audio and other content with diffusion models, the model family behind many image generators. It is for developers who want to run a model in a few lines or build their own.
2 articles
Tongyi-MAIZ-Image
A family of 6-billion-parameter image models, with a fast “Turbo” version. For people who want to generate images locally without a huge machine, or train their own tweaks.
Tested5 articles