# FLUX

CreateWithAI Hub page: https://createwithaihub.com/ai-models/flux
Latest version of this file: https://createwithaihub.com/ai-models/flux.md

- Type: AI model · Category: AI Models
- Publisher: Black Forest Labs
- Pricing: Free plan plus paid plans
- Runs on: Linux, API (cloud)

Black Forest Labs' image and video generation models, offered as API models and some open-weight releases.

FLUX is Black Forest Labs' family of generative models for text-to-image generation, image editing and, in newer releases, video. Some models are available only through the BFL API, while others (such as the Klein line and FLUX.1 [schnell]) are released as open weights that can run on your own hardware. Licenses differ by model, from Apache-2.0 to non-commercial terms.

Useful for: Generating or editing images and short videos through an API, or running an open-weight image model locally in tools like ComfyUI.

## Key features

- Text-to-image generation and image editing
- Multi-reference and in-context editing (Kontext, FLUX.2)
- Video generation in the newest API models
- Open-weight models for local use
- Minimal official inference code on GitHub
- Task-specific APIs for upscaling, erasing and extending

## Connection

- Capability: Image generation, Video generation
- Modality: Image, Video
- Weights: Open-weight, Proprietary
- Local or hosted: Can run locally, Hosted
- API availability: Official API
- Free usage: Free usage available
- Provider: Black Forest Labs
- Model family: FLUX

## Install steps from the official documentation

Local install of reference code:

```
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]"
```

## Limitations

- Some open-weight models (e.g. FLUX.1 [dev]) use a non-commercial license
- Top-tier models are API-only

## Official links

- Website: https://bfl.ai
- Source repository: https://github.com/black-forest-labs/flux
- Documentation: https://docs.bfl.ai
- Source: https://bfl.ai/models (Current and earlier models, which are open-weight vs API)
- Source: https://github.com/black-forest-labs/flux (Inference code (Apache-2.0 repo), install steps, model license table)
- Source: https://huggingface.co/api/models?author=black-forest-labs (FLUX.1 [schnell] apache-2.0; [dev] variants under other license)
