MidassAI

Nano Banana 提示词:复制、编辑与创作图像

MidassAI Team · 2026年9月20日 · 9 分钟阅读

Start using Nano Banana 2
Nano Banana prompts for creating and editing images

Nano Banana 是 Google 对其 Gemini 图像生成模型的命名。当前 Gemini 图像生成文档 描述了一个接受文本、图像、视频或其组合作为输入的工作流,并支持对话式编辑。本文中的产品详情已于 2026-09-20 核实。这使得提示词的质量不在于寻找一句“魔法咒语”,而在于向模型提供清晰的简报、检查图像并要求进行聚焦的修改。

本页收集了您可以复制和改编的 Nano Banana 提示词。它们是用于规划和迭代的可复用示例;并非展示为在本站生成的结果。模型名称、限制和可用性可能会发生变化,因此在集成 API 工作流之前,请查看 Google 当前的 Gemini 图像生成文档。

保持可编辑的提示词结构

一个有用的提示词通常回答五个问题:

  1. 主体是什么? 命名人物、产品、地点或场景。
  2. 观众应该看到什么? 描述姿势、相机角度、构图和重要细节。
  3. 适合什么视觉处理? 指定媒介、光线、颜色、纹理或艺术指导。
  4. 图像将用于何处? 说明纵横比、留白或布局需求。
  5. 什么必须保持不变? 编辑参考图像时,识别要保留的元素。

例如:

以下是一个包含产品、场景、光线、构图、布局和约束的示例提示词:

Create a clean product photograph of a matte black travel mug on a pale stone table. Use soft morning window light, a three-quarter camera angle, realistic materials, and generous empty space on the left for a headline. Keep the mug logo simple and legible, with no extra objects in the background. Use a 4:5 portrait composition.

该提示词在一次传递中描述了产品、场景、光线、构图、布局和约束。如果结果接近但背景太杂乱,下一个请求可以只更改该问题。

用于常见任务的复制粘贴提示词

文生图概念

以下是用于文生图概念创作的提示词示例:

Create a cinematic editorial illustration of a lone cyclist crossing a foggy bridge at dawn. Use a muted teal and amber palette, clear depth between foreground and background, realistic wet pavement, and a calm reflective mood. Compose it as a 16:9 hero image with open space on the right for a short title.

产品样机

以下是用于产品样机制作的提示词示例:

Create a realistic studio mockup of this packaging design on a white pedestal. Use soft directional light, subtle contact shadows, accurate paper texture, and a three-quarter view. Keep the supplied brand mark and all label text unchanged. Do not invent extra logos, badges, or claims. Use a 1:1 square composition.

编辑提供的图像

以下是用于编辑现有图像的提示词示例:

Edit the supplied photo by replacing the cloudy sky with a warm late-afternoon sky. Keep the person, clothing, building edges, camera perspective, and color of the foreground unchanged. Match the new light direction to the existing shadows and blend the horizon naturally.

添加或移除对象

以下是用于添加或移除对象的提示词示例:

In the supplied kitchen photo, remove the blue plastic bowl from the counter. Reconstruct the counter surface and keep every other object, reflection, and camera angle unchanged. Preserve the original warm indoor lighting.

图表或故事板

以下是用于创建图表或故事板的提示词示例:

Create a four-panel storyboard for a short product demo. Panel 1 shows a close-up of the device, panel 2 shows a hand pressing one button, panel 3 shows the result on a laptop, and panel 4 shows the product on a clean desk. Keep the same character, props, color palette, and camera direction in every panel. Leave a small caption area under each frame and use clear, readable placeholder text only.
Start using Nano Banana 2

保留意图的多轮编辑

Gemini 的图像工作流支持对话式更改。将第一次生成视为基础,并使每个后续请求变得狭窄。“保持主体、相机角度和调色板;将夹克从红色改为橄榄色”比用不同形容词重述整个场景的新段落更容易评估。

一个实用的序列是:

  1. 生成包含主体、设置和构图的画面。
  2. 纠正最大的视觉问题,例如姿势、布局或光线。
  3. 添加小的样式细节或移除干扰元素。
  4. 内容稳定后请求最终输出尺寸和纵横比。

当细节必须保持准确时,在编辑请求中重复保留指令。对于参考图像,识别哪些对象是权威的,哪些部分可以更改。如果模型更改了徽标或人物身份,请提供更清晰的参考并要求其明确保留这些特征。

参考图像、文本和布局约束

Google 当前的文档描述了对多个参考图像和图像编辑的支持。为每个参考使用简短的角色:“产品形状”、“材质纹理”、“角色面部”或“调色板”。这可以防止模型猜测哪个图像应该控制哪个细节。如果您需要图像内的文本,请写下确切的措辞、大写和放置位置。然后在最终输出尺寸下检查每个字符;生成的排版可能仍然需要单独的设计传递。

对于营销布局,说明目的地:社交卡片、竖版海报、应用横幅或演示幻灯片。要求在指定侧留白并指定大致裁剪。解释布局的提示词比添加通用质量形容词更有用。

选择模型和输出尺寸

Google 的文档目前列出了 Nano Banana 2 (Gemini 3.1 Flash Image)、Nano Banana 2 Lite (Gemini 3.1 Flash Lite Image)、Nano Banana Pro (Gemini 3 Pro Image) 和旧版 Nano Banana 模型。正确的选择取决于任务、速度、成本和细节要求。使用当前的模型文档获取确切的限制和 API 名称,而不是从博客文章中复制过时的配置。

同一文档描述了纵横比控制和 Gemini 3 图像模型高达 4K 的输出尺寸。选择与发布表面匹配的纵横比,然后仅在图像将被裁剪或打印时请求更大的尺寸。更大的输出无法修复不清晰的构图,因此先确定主体和布局。

最终审查清单

在保存 Nano Banana 结果之前,检查主体、手和脸、徽标和标签、文本拼写、编辑对象周围的边缘以及实际显示尺寸下的裁剪。将结果与提示词的保留要求进行比较。将提示词放在图像旁边,以便下一次编辑可以精确而不是重新开始。

开始使用 Nano Banana 2

相关文章

Start using Nano Banana 2