🎨 Hình ảnh & Thiết kế•Mã nguồn mở•Đang hoạt động
FLUX
Bộ model tạo ảnh open-weight từ Black Forest Labs, dẫn đầu về photorealism và hỗ trợ nhiều task editing
#flux
Danh mục
🎨 Hình ảnh & Thiết kế
Giá
Mã nguồn mở
GitHub Stars
⭐ 26,005
Ngôn ngữ
Python
License
Apache-2.0
Ngày thêm
2026-03-28
Tóm tắt từ README GitHub
FLUX
by Black Forest Labs: https://bfl.ai.
Documentation for our API can be found here: docs.bfl.ai.
This repo contains minimal inference code to run image generation & editing with our Flux open-weight models.
Local installation
Local installation with TensorRT support
If you would like to install the repository with TensorRT support, you currently need to install a PyTorch image from NVIDIA instead. First install enroot, next follow the steps below:
Open-weight models
We are offering an extensive suite of open-weight models. For more information about the individual models, please refer to the link under Usage .
Name Usage HuggingFace repo License
--------------------------- ---------------------------------------------------------- -------------------------------------------------------------- ---------------------------------------------------------------------
Text to Image https://huggingface.co/black-forest-labs/FLUX.1-schnell apache-2.0
Text to Image https://huggingface.co/black-forest-labs/FLUX.1-dev FLUX.1-dev Non-Commercial License
In/Out-painting https://huggingface.co/black-forest-labs/FLUX.1-Fill-dev FLUX.1-dev Non-Commercial License
Structural Condition
Xem thêm từ README.mdThu gọn README.md
Đánh giá chi tiết
Tổng quan
FLUX là bộ model tạo ảnh open-weight từ Black Forest Labs (đội ngũ cũ của Stability AI). Với nhiều variant từ schnell (nhanh) đến dev (chất lượng cao), FLUX dẫn đầu về photorealism trong giới image generation open-source.
Tính năng chính
- FLUX.1 [schnell]: Apache-2.0, tối ưu tốc độ cho text-to-image
- FLUX.1 [dev]: chất lượng cao cho text-to-image, non-commercial license
- FLUX.1 Fill [dev]: inpainting và outpainting
- FLUX.1 Canny/Depth [dev]: structural conditioning từ edge maps và depth maps
- FLUX.1 Redux [dev]: image variation
- FLUX.1 Kontext [dev]: image editing qua text instruction
- FLUX.1 Krea [dev]: text-to-image mới nhất
Stack kỹ thuật
Python, hỗ trợ TensorRT acceleration. Cài đặt qua pip, chạy local với GPU NVIDIA. API tại docs.bfl.ai cho tất cả models kể cả Pro tier.
Điểm mạnh
- Photorealism vượt trội, được tích hợp trong Adobe Photoshop Generative Fill
- Bộ model đa dạng cho nhiều use case: tạo ảnh, edit, variation, conditioning
- Schnell variant miễn phí hoàn toàn (Apache-2.0)
- Commercial licensing với usage tracking tự động
Hạn chế
- Dev variants chỉ dùng non-commercial, cần mua license cho production
- Yêu cầu GPU mạnh để chạy local (VRAM >= 12GB khuyến nghị)
Phù hợp khi nào
Cần model tạo ảnh photorealistic chạy local, hoặc tích hợp image generation vào pipeline qua API.