Gemini修图提示词精选:gemini photo editing prompts实测12条含nano banana prompts

调试这件事有个习惯,报错信息不能只看红字本身,得看这个报错是在哪个函数抛出来的,上下文对不上,光改红字没用。写gemini photo editing prompts也是这个逻辑,很多人改图效果不对,第一反应是加更多形容词,其实问题往往出在"上下文"——要保留的部分和要改的部分,有没有在提示词里分清楚。这篇整理的12条,都是从这个思路出发写的,站内素材大多数就是用Nano Banana这个模型生成的,正好拿来对照。
gemini photo editing prompts,背景替换的核心是光源一致
背景替换这个需求,报错率最高的地方不是背景选得对不对,是主体和新背景的光源方向对不上,一眼就能看出来是"贴"上去的,跟代码里两个模块接口对不齐是一个道理。
- "Replace the background with a warm indoor setting, keep the subject's pose, clothing details and lighting direction on the face unchanged, light source from the left."(把背景替换成室内暖光环境,保持主体姿态、服饰细节和脸部光照方向不变,光源来自左侧)
- "Swap the seat position of this person to the front row, keep facial identity and clothing texture consistent, blend the shadow under the new position naturally."(把这个人的座位替换到前排,保持面部身份和服装质感一致,让新位置下的阴影自然融合)
- "Change the backdrop to a deep blue night tone while keeping the flowers and the subject's pose fully intact, only adjust the ambient color temperature."(把背景换成深蓝夜色调,同时完整保留花束和人物姿态,只调整环境色温)

这里换一张站内实际案例:背景替换保留花束姿态这条思路,光源和主体没脱节,这才是gemini photo editing prompts该交代清楚的部分。
nano banana prompts,元素移除靠"填补逻辑"不是靠"删除"两个字
移除画面里多余的元素,很多人只写"去掉某某",这句话确实能触发删除,但删完之后那块空出来的区域怎么补,才是决定结果好不好的关键,跟处理一个空指针异常一样,光catch住不行,还得补上兜底逻辑。
- "Remove the drummer from this scene, extend the background pattern naturally into the empty space, keep the remaining composition balanced."(把这个场景里的鼓手移除,让背景图案自然延伸填补空出的区域,保持剩余构图的平衡)
- "Remove the extra person from this photo and reconstruct the floor texture and distant architecture lines to remain continuous."(移除照片里多余的人物,重建地面纹理和远处建筑线条使其保持连贯)
- "Erase the object in the foreground while keeping the depth of field and background blur level identical to the rest of the frame."(擦除前景中的物体,同时保持景深和背景虚化程度与画面其余部分一致)

鼓手退场的处理案例就是这个思路,删除只是第一步,补完才是完整的一次commit。
gemini image edit处理老照片,克制比鲜艳更重要
老照片修复和上色这块是站内素材最集中的一类,也是最容易因为参数给太满而翻车的场景——上色饱和度写太高,年代感直接丢掉,跟给一个函数塞了个默认值过大的参数,结果全局都跑飞了性质差不多。
- "Colorize this black and white photo naturally, muted saturation, skin tone warm but not vivid, preserve original film grain at low intensity."(自然为这张黑白照片上色,饱和度克制,肤色温暖但不鲜艳,保留低强度的原始胶片颗粒)
- "Restore this old photo: repair scratches and creases, keep facial identity and expression fully consistent with the source image, do not over-smooth skin texture."(修复这张老照片:修补划痕和折痕,保持面部身份和表情与原图完全一致,不要过度磨平皮肤质感)
- "Recreate this damaged heirloom photo at higher clarity, keep the original clothing pattern and pose exactly as captured."(把这张受损的传家宝老照片重现到更高清晰度,保持原有的服装图案和姿态与拍摄时完全一致)

纪念品修复案例划痕去掉了,画质留下了,这条边界跟写单元测试一样,得先定好哪些行为不能变。
人物合成与身份匹配,参考图是"输入源"不是"灵感"
用参考图做人物合成时,很多人把参考图当成风格灵感随便发挥,其实参考图该被当成一份精确输入——五官对不对得上,比风格像不像更重要,这跟单元测试对照预期输出是一回事,差一点就是不通过。
- "Recreate this scene using the reference face, match facial features precisely, only the pose and outfit should follow the new composition."(用参考人脸重现这个场景,精确匹配五官特征,只有姿态和服装跟随新构图变化)
- "Composite this person into the new background, keep facial proportions and skin tone exactly matched to the reference photo, adjust only the lighting to fit the new scene."(把这个人合成进新背景,面部比例和肤色与参考照片精确匹配,只调整光照以适配新场景)
- "Match this recreated portrait to the reference image exactly, keep facial landmarks aligned, allow only clothing and background to be reimagined."(让重现的肖像与参考图像精确匹配,保持面部关键点对齐,只允许服装和背景被重新构想)

五官对齐参考图的案例走的就是这条路,参考图是输入,不是随便发挥的灵感来源。
写gemini photo editing prompts和nano banana prompts这件事,跟调试代码的心态很像——出问题先别急着加参数,先看是不是上下文没交代清楚。gemini image edit这条链路上,大部分翻车案例回头看,问题都不在词汇量不够,而在没把"保留什么"这一层说明白。想再看看反向提示词该怎么写,可以翻翻负向提示词指南;提示词权重这块的具体控制方法,提示词权重那篇讲得比较细。这批案例大多来自站内修图改图和人像写真分类,首页[image.faxianai.com](/)还能翻到更多Nano Banana生成的实测案例图。
