LibreAI / 画像 / flux
// image · black-forest-labs/flux

flux

fluxは、black-forest-labsが公開しているオープンソースの画像プロジェクトです(GitHub: black-forest-labs/flux)。GitHubスターは26,009、フォークは1,925で、Apache-2.0ライセンスの下で公開されています。GitHubでの最終更新は2025年7月31日です。

Black Forest Labs' official inference repo for the FLUX.1 image generation models

★ 26.0k スター⑂ 1.9k フォークApache-2.0更新 2025年7月
▦ ビジュアル — このプロジェクトのREADMEには埋め込み可能なスクリーンショットがないため、
ここではプレースホルダーを表示しています。下のガイド自体は完全な内容です。
// プロジェクトの基本情報

プロジェクト基本情報

リポジトリ
black-forest-labs/flux
GitHubスター
26,009
フォーク
1,925
ライセンス
Apache-2.0
GitHubでの最終更新
2025年7月31日
カテゴリ
画像
掲載タイプ
完全なインストールガイド
// 仕組み

仕組み

  1. Clarify your goal

    Decide what you want to achieve with flux and check the README on GitHub for requirements before installing.

  2. Get the code

    Clone the repository from GitHub (or take the packaged install route in step 3 if the README offers one).

  3. Install and configure

    Follow the project's documented install commands — the Run section below lists the exact ones — and add any required API keys or models.

  4. Run your first task

    Work through the README's quickstart example end to end, then adapt it to your own project or data.

// 機能

選ばれる理由

Official FLUX.1 inference

The reference implementation from the model's creators for running FLUX.1 locally.

Open-weight model support

Covers the open-weight FLUX.1 variants with their individual licenses explained in the repo.

FLUX.1 Kontext examples

Includes examples for Kontext, the image editing/context model, including usage-tracking notes.

TensorRT option

A documented TensorRT installation path for NVIDIA performance setups.

API usage guidance

Explains when and how to use the hosted FLUX API instead of local weights.

Commercial licensing clarity

A dedicated section explains licensing the models for commercial use.

Advertisement
// 自分で実行

自分で実行してみる

  1. Clone the repository

    Get the official FLUX inference code.

    git clone https://github.com/black-forest-labs/flux.git
    cd flux
  2. Create a venv and install

    Use Python 3.10 and install the package with all extras, exactly as the README documents.

    python3.10 -m venv .venv
    source .venv/bin/activate
    pip install -e ".[all]"
  3. Run an example

    Download an open-weight model's weights as directed and run the README's example inference for that model.

    # see the README's model sections for the exact example command per model
// 活用例

作れるもの

Advertisement
// よくある質問

よくある質問

Who maintains flux?

flux is maintained by the black-forest-labs organization/account on GitHub, together with open-source contributors, in the public repository black-forest-labs/flux.

Is flux free to use?

Yes — the code is open source under the Apache-2.0 license. You can use, modify and redistribute it under that license's terms.

Does flux need a paid API key?

Local open-weight models need no API key (weights download from Hugging Face under each model's license); the hosted API and some models require an account and commercial licensing.

How does flux compare to Stable Diffusion (SDXL) tooling?

SDXL has a larger community ecosystem; FLUX.1 is chosen for its prompt fidelity and quality, with this repo as the vendor's reference implementation.

How do I get started with flux?

Clone the repository from GitHub, follow the install commands in the Run section (taken from the project's README), and complete the documented quickstart example before adapting it to your own use case.

// さらに探索

似ているツール

画像

stable-diffusion.cpp

Diffusion model(SD,Flux,Wan,Qwen Image,Z-Image,...) inference in pure C/C++

★ 7.5k スターMIT
ガイドを見る →
画像

diffusers

🤗 Diffusers: State-of-the-art diffusion models for image, video, and audio generation in PyTorch.

★ 34.6k スターApache-2.0
ガイドを見る →
画像

aidea

An APP that integrates mainstream large language models and image generation models, built with Flutter, with fully open-source code.

★ 6.9k スターMIT
ガイドを見る →
画像

Bagel

ByteDance's open-source unified multimodal model for understanding, generation and image editing.

★ 6.2k スターApache-2.0
ガイドを見る →
画像

HunyuanImage-3.0

Tencent's HunyuanImage-3.0 — a powerful native multimodal model for image generation.

★ 3.3k スターNOASSERTION
ガイドを見る →
画像

OmniGen

OmniGen: one unified model for text-to-image, editing, subject-driven and identity-preserving generation

★ 4.3k スターMIT
ガイドを見る →
// 代替候補

代替候補: 画像

LibreAIカタログに掲載された画像プロジェクトの中で最もスターの多いもの — fluxが合わなかった場合に検討したい、現実的な候補リストです。

// さらに見る image

さらに見る: 画像

カタログの中でfluxとスター数が近い画像プロジェクト — 前後の棚もそのまま見て回れます。

fluxを入手する

無料でオープン — ソースコードを入手して、リポジトリにスターを付け、作り始めましょう。