GEMINI OMNI PROMPTS

博客 / 阅读约 6 分钟 · 2026-07-25

Gemini 修图提示词范例:写清三件事,修图前后对比更自然

这组 Gemini 修图提示词范例教你写清三件事:要改什么、原图里有什么、哪些地方不能动。照着写,修图前后对比更自然,效果也更稳定。

gemini-prompts photo-editing examples prompt-templates

好用的 Gemini 修图提示词,会把三件事告诉模型:要改什么、图里原本有什么、哪些地方绝对不能动。比起“把这张图弄好看点”这种一句话指令,按这个简单结构来写,修图前后的对比会利落得多。下面的范例可以直接复制,再把方括号里的内容换成你这张照片的情况就行。

稳定修图的三段式结构

一条好用的 Gemini 修图提示词分三部分:

  1. 修改目标: 写明你具体要改什么。
  2. 原图描述: 说清主体、场景、光线、颜色,以及画面里已有的重要物件。
  3. 限制条件: 哪些内容必须保持不变,效果要多自然、改动要多克制。

基础模板如下:

Edit this photo by [specific editing goal].

Original image: [describe the main subject, background, lighting, clothing, colors, and notable details].

Keep unchanged: [features, objects, composition, text, brand details, pose, or aspect ratio]. Make the result [natural, realistic, subtle, clean, etc.]. Do not add unrelated objects or change the subject’s identity.

“Keep unchanged”(保持不变)这一行很关键,等于给 Gemini 划了一条边界,修人脸、产品、室内照片和带文字的图时尤其有用。

Gemini 修图提示词范例

去掉背景里碍眼的物体

Edit this photo by removing the parked car behind the person on the left.

Original image: A full-body outdoor portrait of one person standing on a city sidewalk. The person is wearing a beige jacket and dark jeans. There are trees, storefronts, and a parked car in the background. The lighting is soft daylight.

Keep unchanged: the person’s face, body shape, pose, clothing, sidewalk, storefronts, and overall composition. Reconstruct the background naturally where the car was removed. Do not blur the entire background or add new people.

如果第一次删多了,可以接着发:

Restore the sidewalk edge and the storefront window behind the person. Keep the person exactly as shown in the original photo.

把随手拍改成职业头像

Edit this photo into a polished but realistic professional headshot.

Original image: A close-up portrait of one person taken indoors near a window. The person is wearing a dark shirt. The background contains a room with shelves and household items. Natural side lighting falls across the face.

Keep unchanged: the person’s identity, facial features, hairstyle, skin tone, expression, and clothing. Replace only the background with a softly blurred neutral office-style setting. Keep natural skin texture and avoid heavy beauty retouching.

如果要用作个人资料头像,可以再加一句:

Crop for a square profile photo while keeping the head and shoulders comfortably framed.

修旅行照,又不显得假

Enhance this travel photo by correcting the exposure, recovering detail in the bright sky, and making the colors slightly warmer.

Original image: A landscape photo of a mountain lake with trees around the shore and snow-capped mountains in the distance. The sky is bright and the foreground is a little dark.

Keep unchanged: the lake, mountains, tree positions, people, and framing. Preserve a realistic daytime appearance. Do not add dramatic clouds, extra reflections, wildlife, buildings, or a sunset.

这条提示词好用,是因为要的是具体的校正,而不是笼统的“电影感”。想要更有氛围一点,就把要求限定得窄一些:

Add a restrained film-like contrast and slightly muted greens while preserving realistic mountain colors and daylight.

清理产品图,做电商上架用

Edit this product photo for a clean online product listing.

Original image: A white ceramic mug photographed on a light wooden table. The mug has a small blue logo printed on the front. There are crumbs, a folded napkin, and a shadow near the edge of the table.

Keep unchanged: the mug’s shape, color, blue logo, handle position, and visible texture. Remove the crumbs and napkin. Use a clean light background with soft natural shadows. Do not alter the logo, add text, change the mug design, or make the surface look plastic.

修产品图时,凡是必须保持准确的品牌标识、标签或印刷文字,都要一一写明。不特意保护的话,生成式修图很容易把这些小细节改走样。

换掉灰蒙蒙的天空,场景不变

Replace the flat gray sky with a realistic pale blue sky containing soft, thin clouds.

Original image: A daytime photo of a red brick house with a green lawn, driveway, and two small trees. The house occupies the center of the image. The existing sky is overcast.

Keep unchanged: the house architecture, brick color, windows, lawn, driveway, trees, shadows, season, and camera angle. Match the new sky to the existing daytime lighting. Do not add birds, aircraft, mountains, or extra buildings.

换上的天空要和照片里原有的光线对得上。房子投的明明是正午那种平淡的阴影,却要一片灿烂的晚霞,画面通常会显得不协调。

修复一张家庭老照片

Restore this scanned old photograph carefully.

Original image: A faded color family photo from an indoor gathering. There are four people standing in front of patterned wallpaper. The image has dust marks, small scratches, faded colors, and low contrast.

Keep unchanged: every person’s identity, facial features, clothing, pose, background pattern, and original composition. Remove dust and scratches, improve clarity, and gently restore natural-looking color. Do not change expressions, add details that are not visible, smooth faces heavily, or modernize clothing.

修有年头的老照片,先要求保守修复。稍作改善的原图,通常比一张看着惊艳、却把人脸或衣服都改了样的图更有价值。

去除眼镜反光

Reduce the glare on the glasses in this portrait.

Original image: A close-up indoor portrait of one person wearing rectangular glasses. A bright window reflection covers part of both lenses. The person is facing the camera with a neutral expression.

Keep unchanged: the person’s identity, eyes, glasses frame, face shape, skin texture, hairstyle, expression, lighting direction, and background. Remove only the reflection blocking the eyes and preserve realistic lens transparency. Do not change eye color or create an unnatural sharpness around the eyes.

换衣服颜色,衣服本身不变

Change the color of the person’s jacket from bright red to deep navy blue.

Original image: A person standing outdoors wearing a zip-up red jacket, black trousers, and white sneakers. The jacket has visible seams, a small chest pocket, and a silver zipper.

Keep unchanged: the person’s face, body, pose, background, trousers, shoes, jacket material, seams, pocket, zipper, fit, and folds. Change only the jacket color to deep navy blue with realistic lighting and shadows. Do not add logos or alter the jacket design.

怎样让修图前后对比更好

先从最小的有效改动做起。一条提示词里同时要求清杂物、换天空、改房间、换衣服颜色、再修脸,一旦出现不想要的变化,你很难判断是哪条指令造成的。

比较实用的流程是:

  1. 上传原图,只提一项主要修改。
  2. 仔细检查结果,尤其是人脸、手、文字、Logo 和建筑的直线。
  3. 用追加提示词只修正出错的地方。
  4. 满意的版本先存下来,再去尝试更大胆的变化。

比如修一张餐厅照片,可以分几轮来:

First, remove the empty cups and crumpled napkins from the table. Keep all food, plates, people, and lighting unchanged.

然后:

Now brighten the image slightly and reduce the yellow color cast from the indoor lighting. Keep the food colors realistic.

这样比直接要“一张完美的 Instagram 修图”好控制得多。

常见翻车的补救提示词

Gemini 改了你想保留的东西时,直接说。先指出哪里错了,再把要保护的细节重申一遍。

Keep the edited background, but restore the original facial features, hairstyle, and expression from the uploaded photo. Do not retouch the face further.
Keep the object removal, but restore the original text on the product label exactly as visible in the source image.
Undo the changes to the building windows and roofline. Keep only the improved sky and original camera perspective.
Make the color adjustment subtler. Preserve the original skin tone, white balance, and contrast of the photo.

也可以在不偏离原要求的前提下,让 Gemini 多出几个版本:

Create two restrained variations of this edit: one with slightly warmer colors and one with neutral colors. Keep all other edits identical.

如果你经常用 Gemini 修图,可以借助提示词图库或图片提示词工具,把这些写法存成能反复套用的模板,人像、商品图、旅行照、清理杂物都用得上。

常见问题

Gemini 修图提示词可以写得很短吗?

可以,但提示词越短,模型乱改的空间就越大。图片简单的话,“去掉背景里的人”就够用;要是主体、构图或产品细节必须一点不差,就得加上限制条件。

修人像照片,提示词里要写什么?

先说要怎么改,再把跟长相有关的细节保护起来:五官、肤色、发型、表情、体型、衣服和姿势。不想被磨皮磨过头,就要求保留自然的皮肤纹理。

怎么防止 Gemini 改动产品 Logo 或文字?

在原图描述里写明 Logo、标签或文字,并再强调一遍必须保持不变。重要的商用素材,发布前一定要仔细检查,小字和小标记可能还得手动修正。

风格和修改能写在同一条提示词里吗?

可以,前提是风格简单、和原照片搭得上。要写具体:“略带暖调的胶片对比度”比“弄得有艺术感一点”好控制。风格改动比较大时,另外单独出一个版本,这样手里始终留着一张只做了基础修改的图。

修完的图为什么看着假?

你要求的改动,可能和原图的光线、透视或场景有冲突。让 Gemini 匹配原有的光线方向、阴影、机位角度、色温和景深,再把修改力度调低一些。

结语

好的 Gemini 修图提示词要具体,但不必为了长而写长。写明要改什么、描述原图、划清哪些不能动。一次只改一处,检查结果,再用有针对性的追加提示词把前后对比图一步步修到位。

同系列还有:Gemini Notebook 示例、Gemini 修图提示词,也可以逛逛提示词图库。