AI 图像编辑提示词指南:人像换装实战
在 AI 图像编辑领域,尤其是使用 Flux Kontext 这类工具时,'服饰换装'是人像局部重绘中最实用的功能之一。无论是更换四季服装、调整配色,还是增添帽饰鞋袜,关键在于如何撰写精准的提示词。合理的指令能精确控制变换内容,同时确保人物的外貌、姿势、光影和背景等要素保持不变。

核心提示词结构
建议采用以下公式组织提示词,以平衡'变更'与'保留'的关系:
Convert/Transform/Change [图像或对象] to [目标服装或配饰] while keeping [不变内容] unchanged
常用动词搭配包括:
convert ... to ...:将……转换为……transform to ...:转换为……change the image to ... style:将图像改为……风格make it look like ...:使其看起来像……replace the background/style with ...:替换背景或风格为……
为了锁定画面其他部分,可附加限制用语:
while keeping ... unchanged:保持……不变do not change ...:不要更改……keep everything else the same:保持其他不变without modifying any other part of the image:不改变图像其他部分while preserving facial features and pose:保持面部特征与姿势without altering lighting or shadows:不改变光影效果
场景化提示词示例
季节性换装
春季: 尝试用浅色风衣搭配碎花裙,同时保持动作和环境一致。
Replace the outfit with a light trench coat over a floral dress, while keeping posture and environment the same. 关键词库:trench coat(风衣)、floral dress(碎花裙)、chiffon blouse(雪纺上衣)、light cardigan(轻薄开衫)。
夏季: 将人物服饰换为白色无袖夏日连衣裙,确保姿势、发型和光线不变。
Change the woman's outfit to a white sleeveless summer dress, while keeping her pose, hairstyle, and lighting unchanged. 关键词库:summer dress(夏日连衣裙)、denim shorts(牛仔短裤)、linen shirt(亚麻衬衫)、off-shoulder top(露肩上衣)。
秋季: 替换为米色针织衫与格纹裙,其余细节维持原样。
Replace the current clothes with a beige knit sweater and plaid skirt, while keeping everything else the same. 关键词库:knit sweater(针织衫)、corduroy jacket(灯芯绒外套)、turtleneck(高领毛衣)、checked blazer(格纹西装外套)。
冬季: 换上厚羽绒外套与围巾,重点保留面部特征与背景。
Change her outfit to a thick padded coat with a scarf, while keeping facial features and background unchanged. 关键词库:padded coat(羽绒外套)、scarf(围巾)、thermal sweater(保暖毛衣)、shearling coat(羊羔毛外套)。
风格与特殊服饰
古装: 将服饰改为传统浅色系中国汉服,保持面部、背景与光线不变。
Transform the outfit into a traditional Chinese hanfu in soft pastel tones, while keeping face, background, and lighting unchanged. 若追求飘逸感,可描述为丝绸长袍配宽袖刺绣。 Transform her outfit into a flowing pastel silk robe inspired by traditional Chinese clothing, with wide sleeves and floral embroidery, while keeping her pose and lighting unchanged. 现代旗袍也是不错的选择,强调刺绣领口。 Replace her outfit with a modern qipao with embroidered neckline, while keeping the face, posture and lighting unchanged. 关键词库:traditional Chinese robe(中式传统长袍)、ruqun(襦裙)、modern qipao(现代旗袍)、Tang dynasty dress(唐风服饰)。
配饰与细节调整
帽饰: 添加草编太阳帽,注意不改变发型和表情。
Add a straw sun hat to her head, without changing her hairstyle or facial expression. 也可替换为贝雷帽,保留发丝走势。 Replace the cap with a beret, keeping hair flow and color unchanged. 关键词库:beret(贝雷帽)、sun hat(遮阳帽)、bucket hat(渔夫帽)、veil(面纱)。
包袋: 在右侧添加帆布肩包,手部姿势与阴影方向保持一致。
Add a canvas shoulder bag on her right side, while keeping hand position and shadow direction unchanged. 关键词库:tote bag(手提袋)、backpack(背包)、crossbody bag(斜挎包)、clutch(手拿包)。
鞋袜: 将凉鞋换为白色运动鞋,腿部姿势与服装不变。
Replace her sandals with white sneakers, while keeping leg position and clothing unchanged. 关键词库:sneakers(运动鞋)、boots(靴子)、ankle socks(短袜)、fishnet tights(网状连裤袜)。
首饰与发饰: 添加珍珠耳环与银色细项链,保持脸部与光照一致。
Add a pair of pearl earrings and a thin silver necklace, while keeping face and lighting unchanged. 关键词库:pearl earrings(珍珠耳环)、gold necklace(金项链)、hairpin(发卡)、flower crown(花环)。
颜色变换
修改颜色时需关注材质纹理的一致性。例如将外套改为黑色,但要保留面料质感。
Change the coat color to black, while keeping the fabric texture and all other parts of the image unchanged. 或者调整裙子为浅蓝色,注意阴影与褶皱的自然过渡。 Replace the dress color with light blue while keeping shadows and folds consistent. 关键词库:black(黑色)、pastel pink(粉彩粉)、olive green(橄榄绿)、gradient(渐变)、stripes(条纹)。

实际应用中,结合具体需求微调上述模板,往往能获得更理想的生成结果。
