ComfyUI FLUX.1 Kontext 模型和工作流下载

FLUX.1核心功能

FLUX.1 Kontext 是 Black Forest Labs (BFL) 推出的专注于上下文感知图像生成与编辑的多模态模型套件。其官方版本主要通过 API 提供服务(Pro、Max),同时也提供了开源的研究版本(Dev)。

  • FLUX.1 Kontext Pro
  • 定位:旗舰版本,提供最顶级的图像生成性能。
  • 特点:在提示词遵循、视觉质量、图像细节和输出多样性方面表现卓越,尤其适合专业用途和企业定制。
  • 获取与使用:仅能通过 API 调用使用,无法下载模型到本地。Black Forest Labs 官网及其合作伙伴平台(如 Replicate、FAL AI、Mystic AI 等)提供 API 服务。
  • FLUX.1 Kontext Max
  • 定位:实验性版本,在某些方面追求极致。
  • 特点:官方资料显示其在排版生成(文字渲染)、提示词遵循的精确度以及生成速度上相比 Pro 版本有进一步提升。
  • 获取与使用:同样仅能通过 API 调用使用。
  • FLUX.1 Kontext Dev:
  • 定位:开源开发版本,供社区研究、学习和非商业用途。
  • 特点:拥有120亿参数,性能与 Pro 版本相似但更高效。需要注意的是,其提示词可能需要更精细的调试才能达到最佳效果,且不可商用(除非购买商用许可)。
  • 获取与使用:可以下载模型权重,支持在本地设备(如配备足够显存的消费级显卡)上运行,提供了无与伦比的灵活性和数据隐私性。

Flux.1 Kontext Dev 与社区开源版本下载

版本名称显存要求开源社区下载百度分流
black-forest-labs/FLUX.1-Kontext-dev24G及以上开源社区下载提取码: iwnx
Comfy-Org/flux1-kontext-dev_ComfyUI小于等于16G开源社区下载提取码: 6br7
bullerwins/FLUX.1-Kontext-dev-GGUF小于等于12G开源社区下载提取码: frke
mit-han-lab/nunchaku-flux.1-kontext-dev小于等于6G开源社区下载

Flux.1 Kontext Dev 模型和工作流下载

Flux.1 Kontext Dev 模型和工作流下载
文件名称储存位置百度分流备注说明
flux1-kontext-dev.safetensorsComfyUI\models\diffusion_models提取码: iwnx
ae.safetensorsComfyUI\models\vae提取码: ggr2与FLUX.1D共用
clip_l.safetensorsComfyUI\models\text_encoders提取码: 6bbd与FLUX.1D共用
t5xxl_fp8_e4m3fn_scaled.safetensorsComfyUI\models\text_encoders提取码: acxd]与FLUX.1D共用,与t5xxl_fp16选其一
t5xxl_fp16.safetensorsComfyUI\models\text_encoders提取码: 9r41与FLUX.1D共用,与t5xxl_fp8选其一

Comfy-Org/flux1-kontext-dev 模型和工作流下载

Comfy-Org的模型和Flux.1 Kontext Dev官方共用一个工作流

Flux.1 Kontext Dev 模型和工作流下载
文件名称储存位置百度分流备注说明
flux1-dev-kontext_fp8_scaled.safetensorsComfyUI\models\diffusion_models提取码: 6br7
ae.safetensorsComfyUI\models\vae提取码: ggr2与FLUX.1D共用
clip_l.safetensorsComfyUI\models\text_encoders提取码: 6bbd与FLUX.1D共用
t5xxl_fp8_e4m3fn_scaled.safetensorsComfyUI\models\text_encoders提取码: acxd与FLUX.1D共用,与t5xxl_fp16选其一
t5xxl_fp16.safetensorsComfyUI\models\text_encoders提取码: 9r41与FLUX.1D共用,与t5xxl_fp8选其一

bullerwins/FLUX.1-Kontext-dev-GGUF 模型和工作流下载

GGUF模型需要安装ComfyUI-GGUF插件,下载下方工作流通过 ComfyUI Manager 进行下载

bullerwins/FLUX.1-Kontext-dev-GGUF 模型和工作流下载
文件名称储存位置百度分流备注说明
FLUX.1-Kontext-dev-GGUFComfyUI\models\diffusion_models提取码: frke根据显卡性能选择蒸馏版本
ae.safetensorsComfyUI\models\vae提取码: ggr2与FLUX.1D共用
clip_l.safetensorsComfyUI\models\text_encoders提取码: 6bbd与FLUX.1D共用
t5xxl_fp8_e4m3fn_scaled.safetensorsComfyUI\models\text_encoders提取码: acxd与FLUX.1D共用,与t5xxl_fp16选其一
t5xxl_fp16.safetensorsComfyUI\models\text_encoders提取码: 9r41与FLUX.1D共用,与t5xxl_fp8选其一

模型对比

提示词
Transform to Rainy and overcast day, while maintaining character unchanged.

种子 1012905265308002
步数 20
cfg 1.0
采样器名称 euler
调度器 simple

flux1-kontext-devflux1-kontext-dev-Q8_0fp8
https://attachment.mechdoglab.cn/2025/10/20251016222803237.pnghttps://attachment.mechdoglab.cn/2025/10/20251016222837675.pnghttps://attachment.mechdoglab.cn/2025/10/20251016222847836.png

Kontext提示词核心原则

  • 越具体越好,避免模糊词汇,Kontext 擅长理解详细指令并保持一致性,并且使用英文
错误示例 Make the car look better. 让这辆车看起来更好。
推荐示例 Change the car color to metallic red and add sporty racing stripes. 将汽车颜色改为金属红色,并添加运动风格赛车条纹。
  • 说明哪些要保持不变
错误示例 Change the background to a snowy mountain. 将背景改为雪山。
推荐示例 Change the background to a snowy mountain, while keeping the woman’s exact facial features, pose, and clothing unchanged. 将背景改为雪山,同时保持女士的面部特征、姿势和服装完全不变。
  • 用”更改”、”替换”而非”转换”
Change/Replace(改变/替换) Replace the vase on the table with a lamp.​​ 将桌子上的花瓶替换成一盏灯。
Transform(转换)​​ Transform to a realistic photographic style. 转变为现实主义的摄影风格。
  • 复杂修改分为多个简单步骤

Kontext使用实例-1 (使用Kontext改变图像的时间、天气或呈现)

原始图片
转化为雨天
转换为夜晚
转换风格


| https://attachment.mechdoglab.cn/2025/10/20251016223528017.png | https://attachment.mechdoglab.cn/2025/10/20251016223544341.png | https://attachment.mechdoglab.cn/2025/10/20251016223555542.png | https://attachment.mechdoglab.cn/2025/10/20251016223609093.png |

原始图片来源:https://civitai.com/images/102603255

  • Transform to Rainy and overcast day, while maintaining character unchanged.
    转换为下雨的阴天,同时保持角色不变。
  • Transform the scene to nighttime with a full moon and starry sky.
    将场景转换为满月和星空的夜晚。
  • Transform the character into a 3D Chibi style.
    将风格转换为3D Chibi风格。

Kontext使用实例-2 (使用Kontext修改图片的艺术风格转换)


| https://attachment.mechdoglab.cn/2025/10/20251016223757756.png |

原始图片来源:https://civitai.com/images/101725242

  • Transform the image to a watercolor painting style with soft color blends and visible brushstrokes.
    将图像转换为具有柔和色彩混合和可见笔触的水彩画风格
  • Transform to Bauhaus art style, while maintaining the original composition.
    转变为包豪斯艺术风格,同时保持原有的构图。
  • Transform to anime animation style, while maintaining the original composition.
    转换为2D动漫风格,同时保持原有的构图。

Kontext使用实例-3 (使用Kontext对图像进行大幅度改编--分步修改)


| https://attachment.mechdoglab.cn/2025/10/20251016224025852.png | https://attachment.mechdoglab.cn/2025/10/20251016224144862.png | https://attachment.mechdoglab.cn/2025/10/20251016224157933.png | https://attachment.mechdoglab.cn/2025/10/20251016224216198.png | https://attachment.mechdoglab.cn/2025/10/20251016224226444.png | https://attachment.mechdoglab.cn/2025/10/20251016224239049.png |

原始图片来源:https://civitai.com/images/100460241

  • Replace the background with a quiet coffee shop in the morning, while maintaining the original composition.
    将背景替换为早上安静的咖啡厅,同时保持原始构图。
  • Change the underwear of the woman on the left to school uniform, while maintaining the original composition.
    将左边女士的内衣修改为校服,同时保持原始构图。
  • Modify the woman’s underwear on the right to a black female flight attendant uniform and add black stockings on her legs, while maintaining the original composition.
    将右边边女士的内衣修改为黑色的女性空乘服,并在腿上添加黑色丝袜,同时保持原始构图。
  • Remove the woman on the right side of the picture, keep only the woman on the left side, and let her hands hang naturally, while maintaining the original composition.
    移除图片中右侧女士,仅保留左侧女士,并且双手自然下垂,同时保持原始构图。
  • Modify the pattern on the woman’s chest to a cute knitted puppy, while maintaining the original composition.
    将女士胸前的图案修改为一只可爱的针织小狗,同时保持原始构图。

Kontext使用实例-4 (图像合并)

提示词 “The lady held a vase and bouquet in both hands.”
打开 “空latent图像(SD3)”,并连接到K采样器
尺寸设置为1024*1024
原始图片来源: https://civitai.com/images/102603257 https://civitai.com/images/302931

提示词 “Two women sitting side by side, facing the camera, changing the background to a daytime park”
打开 “空latent图像(SD3)”,并连接到K采样器
尺寸设置为1024*1024
原始图片来源:https://civitai.com/images/360423 https://civitai.com/images/360424


| https://attachment.mechdoglab.cn/2025/10/20251016224533402.png | https://attachment.mechdoglab.cn/2025/10/20251016224540829.png | https://attachment.mechdoglab.cn/2025/10/20251016224548558.png |


| https://attachment.mechdoglab.cn/2025/10/20251016224708853.png | https://attachment.mechdoglab.cn/2025/10/20251016224732664.png | https://attachment.mechdoglab.cn/2025/10/20251016224742729.png |