# black-forest-labs/flux

Official inference repo for FLUX.1 models

Repository: https://github.com/black-forest-labs/flux
Canonical: https://ross.abutalabs.com/products/black-forest-labs-flux
Language: Python
License: Apache-2.0
License Family: permissive
Last push: 2025-07-31T13:58:55+00:00

## Health v2 (maintenance only)
Score: 38/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 34, release rhythm 35, longevity 54
- inputs: {"age_days": 762, "days_push": 398, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 25912, forks 1914 (observed 2026-08-28T04:11:38.745538+00:00)

## What it is
Official minimal inference code from Black Forest Labs for running FLUX.1 open-weight image generation and editing models. It supports text-to-image, inpainting/outpainting, and structural conditioning with optional TensorRT acceleration.

## Use cases
- generate images from text prompts locally
- run FLUX.1 text-to-image inference
- inpaint or outpaint images with FLUX.1 Fill
- control image structure with canny or depth conditioning
- accelerate image generation with TensorRT
- run open-weight image models on GPU

## When to choose
- you want official, minimal inference code for FLUX.1 models
- you need text-to-image, fill, or structural conditioning with FLUX weights
- you have a GPU and want local image generation

## When to avoid
- you want a polished UI or full training/fine-tuning pipeline
- you have no GPU or limited VRAM
- you need a commercial license for FLUX.1 dev models (non-commercial license)

## Facets
- artifact type: library
- maturity: active
- function: image-processing, machine-learning, llm-inference
- domain: image-processing, artificial-intelligence, deep-learning
- platform: python, cli
- tags: text-to-image, diffusion-models, stable-diffusion, image-generation, inpainting, tensorrt, huggingface, gpu, linux

## Member repositories
- black-forest-labs/flux (main) score 38

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:38.745538+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:55:57.576918+00:00, confidence not recorded.
  - readme: https://github.com/black-forest-labs/flux (fetched 2026-08-28T04:11:38.745538+00:00, sha 88f14bcb579e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
