🖌️Flux.1-kontext能力探索-持续更新中

模型下载地址: https://huggingface.co/black-forest-labs/FLUX.1-Kontext-dev/tree/main
23.8G模型本体,双clip、vae用之前flux.1的三件套

Flux kontext prompt: 🖌️Flux Kontext 助手

MagCache加速可用 https://github.com/Zehong-Ma/ComfyUI-MagCache
按照官方推荐配置即可。
magcache_thresh:0.24
retention_ratio:0.1
magcache_K:5
加速效果:原官方流参数不动的情况下26秒加速至9秒
image.png

image.png

image.png

个人感觉加速可用用来做抽卡,确定种子后,不开加速跑一下。加速多多少少损失部分细节,但是不加速同一条件下的结果也不一定一样。还得继续探索。

遇到的一些疑难问题
目前模型在处理表情编辑上,表情都过于夸张,可能是素材都是外国人的原因,比如微笑哭泣等表情,都不自然,不符合亚洲人审美。

基础功能
编辑元素 edit (物体、颜色、表情、动作、天气、时间)
change a to b
e.g
change blue to red
change the cake to an apple

增删元素 add/remove
add A (区位描述)/ remove A (特征描述)
e.g
Add a hat on a woman's head
Remove the background of the building

一致性
人脸一致性 face consistenty
A(人物描述)+B(所处情境)如:动作、环境、交互
e.g
this woman raises her both hands(单一人物)
the woman wearing red dress holding a bunch of white flower(多人强化描述特征)

物品一致性 object consistenty
A(物品描述)+B(所处情境)如:特诊、环境、视角
e.g
this rece cooker is placed in a kitchen setting
a female model wearing this dress
ps:反向提取物品
extract only the green cloth of the female over a white background,poduct photography style

风格一致性 style consistenty
using this (风格描述) style generate a + A(新内容)

风格迁移 style transfer
transform to A style

LEGO style 乐高
3D chibi style 3D Q版
ghibli style 吉卜力
American Cartoon style 美国经典动画
Chinese Ink style 中国传统水墨画
JOJO's Bizarre Adventure style JOJO风格
Clay Toy style 粘土风
Fabric style 失败 布料质感
Irasutoya style 失败
Line style 失败
Macaron style 失败
Oil Painting style 油画
Origami style 折纸风格
Picasso style 毕加索风格
Pixel 8-bit style 8bit像素风格
polygonal art style 多边形艺术风格
Pop Art style 波普艺术风格
Rick Morty style 瑞克-莫蒂风格
Snoopy style 史努比风格
Van Gogh style 凡高风格
Vector style 失败
Real Photography Photos 真实照片风格(2D转真人)
艺术风格转化
色彩质感转化

文字编辑 text edit
change the text “A“ to ”B“

改换背景(环境) change background
change the background to A(背景描述)

替换背景+光线融合,需要分成两步

多图参考
双图参考 using 2 pics

三图参考 using 3 pics


局部编辑 416个示例

全局编辑 262个示例

字符参考 92个示例

风格参考 63个示例
给定一张输入图像,模型提取其艺术风格,并将其应用于生成多样化的新场景,同时保留原始的风格特征。
Using this style,
提取xx在白色背景,摄影风格
extract only xxxxx over a white background,product photography style
展示xxx极端特写
show me an extreme closeup of the xxx
给我做一个匹配的xxx,产品摄影背景是xxx
make me a matching xxx ,product photography set against xxxx,

文本编辑 92个示例
Replace ‘XXXX’ with ‘ZZZZ’

角色参考 193个示例
把头转向镜头
tilt her head towards the camera
让她笑
make her laugh

边界框作为视觉线索,进行编辑。通过红色椭圆等几何标记来引导目标修改,它还提供高级文本编辑功能,包括标志优化、拼写纠正和风格调整,同时保留周围上下文。