stable-diffusion.cpp
Diffusion model(SD,Flux,Wan,Qwen Image,Z-Image,...) inference in pure C/C++
flux ist ein Open-Source-Projekt aus der Kategorie Bild von black-forest-labs (black-forest-labs/flux auf GitHub). Es hat 26.009 Sterne auf GitHub und 1.925 Forks, wird unter der Lizenz Apache-2.0 veröffentlicht und wurde zuletzt am 31. Juli 2025 auf GitHub aktualisiert.
Black Forest Labs' official inference repo for the FLUX.1 image generation models
Decide what you want to achieve with flux and check the README on GitHub for requirements before installing.
Clone the repository from GitHub (or take the packaged install route in step 3 if the README offers one).
Follow the project's documented install commands — the Run section below lists the exact ones — and add any required API keys or models.
Work through the README's quickstart example end to end, then adapt it to your own project or data.
The reference implementation from the model's creators for running FLUX.1 locally.
Covers the open-weight FLUX.1 variants with their individual licenses explained in the repo.
Includes examples for Kontext, the image editing/context model, including usage-tracking notes.
A documented TensorRT installation path for NVIDIA performance setups.
Explains when and how to use the hosted FLUX API instead of local weights.
A dedicated section explains licensing the models for commercial use.
Get the official FLUX inference code.
git clone https://github.com/black-forest-labs/flux.git
cd fluxUse 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]"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 modelflux is maintained by the black-forest-labs organization/account on GitHub, together with open-source contributors, in the public repository black-forest-labs/flux.
Yes — the code is open source under the Apache-2.0 license. You can use, modify and redistribute it under that license's terms.
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.
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.
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.
Diffusion model(SD,Flux,Wan,Qwen Image,Z-Image,...) inference in pure C/C++
🤗 Diffusers: State-of-the-art diffusion models for image, video, and audio generation in PyTorch.
An APP that integrates mainstream large language models and image generation models, built with Flutter, with fully open-source code.
ByteDance's open-source unified multimodal model for understanding, generation and image editing.
Tencent's HunyuanImage-3.0 — a powerful native multimodal model for image generation.
OmniGen: one unified model for text-to-image, editing, subject-driven and identity-preserving generation
Die anderen Projekte der Kategorie Bild mit den meisten Sternen im LibreAI-Katalog — die realistische Auswahl, falls flux nicht das Richtige ist.
Stable Diffusion web UI
The node-graph powerhouse for precise, professional AI image and video generation.
High performance self-hosted photo and video management solution
PhotoCraft — a clean-room Photoshop reimplementation in pure Rust: layers, masks, adjustment layers, type, vectors, brushes and real PSD files, offline, MIT / Apache-2.0
Focus on prompting and generating
Verwandte Projekte der Kategorie Bild im Katalog, die flux bei den Sternen am nächsten stehen — zum Weiterstöbern auf beiden Seiten.
A polished creative studio for professionals who want power without the node spaghetti.
Make images smaller using best-in-class codecs, right in the browser.
State-of-the-art 2D and 3D Face Analysis Project
The classic PyTorch implementation of CycleGAN and pix2pix for image-to-image translation
Multi functional app to find duplicates, empty folders, similar images etc.
Rembg is a tool to remove images background
Kostenlos und offen — hol dir den Quellcode, gib dem Repository einen Stern und leg los.