flux-krea

krea-ai长期未更新

FLUX.1 Krea 官方开源仓库,提供基于扩散模型的文生图能力,可生成高质量图像。

Official GitHub repository for FLUX.1 Krea [dev].

暂无版本369star34fork同步于 2026-11-07 07:30 UTC

怎么上手

由 README 提炼,执行前请确认
git clone https://github.com/krea-ai/flux-krea.git
cd flux-krea
pip install -r requirements.txt
硬件要求按 README 说明

README 未说明显存、GPU 型号或 CPU 运行要求

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

Krea 与 Black Forest Labs 联合开源的 FLUX.1 Krea [dev] 文生图模型官方推理代码库

FLUX.1 Krea 官方开源仓库,提供基于扩散模型的文生图能力,可生成高质量图像。

核心能力

  • 提供 inference.py 和 Jupyter Notebook 两种推理入口
  • 12B 参数 rectified-flow 蒸馏模型,兼容 FLUX.1 [dev] 架构
  • 推荐 1024~1280 分辨率、28~32 步、CFG 3.5~5.0 的生成参数
  • 权重托管在 Hugging Face,可下载并查看模型卡

容易踩的坑

首次运行需从 Hugging Face 下载模型权重,可能耗时数分钟;uv 方式中 cd 目录写的是 kflux,与克隆出的 flux-krea 目录名不一致;README 未说明显存需求,12B 模型实际占用需自行确认

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

0 个版本

暂无 release 数据(可能没有发版,或尚未同步)。

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    FLUX-Krea

    banner


    This is the official repository for FLUX.1 Krea [dev] (AKA flux-krea).

    The code in this repository and the weights hosted on Huggingface are the open version of Krea 1, our first image model trained in collaboration with Black Forest Labs to offer superior aesthetic control and image quality.

    The repository contains inference code and a Jupyter Notebook to run the model; you can download the weights and inspect the model card here.

    Usage

    With pip

    git clone https://github.com/krea-ai/flux-krea.git
    cd flux-krea
    pip install -r requirements.txt
    

    With uv

    git clone https://github.com/krea-ai/flux-krea.git
    cd kflux
    uv sync
    

    Live Demo

    Generate on krea.ai

    Running the model

    python inference.py --prompt "a cute cat" --seed 42
    

    Check inference.ipynb for a full example. It may take a few minutes to download the model weights on your first attempt.

    Recommended inference settings

    • Resolution - between 1024 and 1280 pixels.

    • Number of inference steps - between 28 - 32 steps

    • CFG Guidance - between 3.5 - 5.0

    How was it made?

    Krea 1 was created in as a research collaboration between Krea and Black Forest Labs.

    FLUX.1 Krea [dev] is a 12B param. rectified-flow model distilled from Krea 1. This model is a CFG-distilled model and fully compatible with the FLUX.1 [dev] architecture.

    In a nutshell, we ran a large-scale post-training of the pre-trained weights provided by Black Forest Labs.

    For more details on the development of this model, read our technical blog post.

    Acknowledgements

    We would like to thank the Black Forest Labs team for providing the base model weights. None of this would be possible without their contribution. The post-training work would not be possible without the hard work of our data, infrastructure, and product team who put together a solid foundation for our post-training pipelines.

    If you are interested in building large-scale image/video/3D/world models, or the engineering and data infrastructure around it...

    We are hiring.

    Citation

    @misc{flux1kreadev2025,
        author={Sangwu Lee, Titus Ebbecke, Erwann Millon, Will Beddow, Le Zhuo, Iker García-Ferrero, Liam Esparraguera, Mihai Petrescu, Gian Saß, Gabriel Menezes, Victor Perez},
        title={FLUX.1 Krea [dev]},
        year={2025},
        howpublished={\url{https://github.com/krea-ai/flux-krea}},
    }