【炸裂更新】FLUX.1Kontext开源实测!10种神级修图指令一键搞定|AI绘画革命

614 阅读2分钟

大家好,FLUX.1Kontext 终于发布了开源版本。

模型有哪些能力呢?这里我第一时间给大家测试总结了一下。

主要有10个方向的能力(附提示词),仅需要一句话就可以修改图像,后续会继续测试其它能力。

一、Kontext 十大能力

1、图片参考生成

提示词:Using this elegant style, create a portrait of a swan, maintaining the same refined quality and soft color tones.

2、风格转化

提示词:transform to a realistic photo

提示词:transform to a Ghibli photo

3、移除物体

提示词:Remove the first person on the left in the image.

4、改变发色

提示词:change the girl hair to pink

5、改变着装

提示词:Change the girl's clotheg to a white long dress while preserving her facial features,hairstyle,and pose.

6、修改文字

提示词:change the text on the pager sign to "piano"

7、改变视角

提示词:maintaining realistic style unchange, Rotate the camera 90 degrees to view directly from side the woman.

8、改变打光

提示词:soft window light from upper left, gentle falloff, visible light rays, ambient occlusion in corners

9、老照片修复

提示词:Repair this old photo, keep the appearance of the characters unchanged to the greatest extent, eliminate cracks, enhance clarity, correct colors, restore the original photo, and achieve ultra-high-definition quality.

10、图片去水印

提示词:Remove the watermark from the picture

二、体验Kontext

第一时间体验Kontext,可以直接在云端体验,我已经把工作流部署,大家可以直接使用。

www.runninghub.cn/user-center…

以上链接注册即送 1000RH币,每日送100RH币,可以免费体验。

三、本地部署

要使用 Kontext 开源版本,需要:

1、ComfyUI 更新到最新版

2、下载 Kontext 开源模型

模型文件:flux1-dev-kontext_fp8_scaled.safetensors

下载链接:pan.quark.cn/s/e7ba58497…

Kontext模型:桔子AIGC/模型/Flux

显卡较弱可以下载 fp8 11.9G 版本,性能差异不大

放置目录:ComfyUI/models/diffusion_models

3、工作流

通过菜单-工作流-浏览模版,选择左侧 Flux 标签,点击第一个 Flux Kontext Dev 创建工作流。

这是官方 Kontext 默认工作流,工作流有备注帮助信息,大家可以学习提示词编写

参数基本不需要修改,其中,guidance 默认 2.5,可以调整,偏写实建议2.0,偏动漫一点建议3.0

还有一个优化技巧:

可以加载 Flux-Turbo 加速模型,这样步数可以改为8步,生图速度会更快。

总结

Kontext 发布以来,很多人说之前学习的 ComfyUI 白学了,但是我要说

虽然 Kontext 在改图方面功能强大,给设计师带来了很大的便利

但是,Kontext 虽然一致性保持的不错,对于超高清、像素级控制的图像,还是很难精确控制

所以说,Kontext 是 AI绘画的一个重要补充

接下来我们需要在某一领域去深耕,才可能不会快速取代