谷歌nano banana爆火后,官方终于放出Prompt模板!
最近,相信大家的朋友圈和社交媒体都被一个叫nano banana的AI图像生成工具刷屏了。从精致的手办模型到名画人物穿越,再到中土世界场景还原,nano banana已然成为了最火爆的"整活工具之一。
刚刚,谷歌为nano banana推出了官方Prompt模板,包含写实、贴纸、文字、产品、留白与分镜六大场景。每个模板都配有详细示例,让我们能够轻松套用,生成高质量图片。

nano banana作为谷歌的AI图像生成工具,近期带来的创作热潮让我们看到了AI创作的无限可能。而官方Prompt模板的发布,让这个工具变得更加易用,输出效果也更加稳定。
六个超实用的场景模板
1. 写实摄影
运用写实模板,需要详细描述机位、镜头、光线等要素,可以让我们像摄影师一样思考。比如想要生成一张照片级的特写肖像,就需要描述主体表情、环境光线、镜头型号和画面比例,这样才能获得逼真的图像效果。
官方模板:
A photorealistic [shot type] of [subject], [action or expression], set in [environment]. The scene is illuminated by [lighting description], creating a [mood] atmosphere. Captured with a [camera/lens details], emphasizing [key textures and details]. The image should be in a [aspect ratio] format.
示例Prompt:
A photorealistic close-up portrait of an elderly Japanese ceramicist with deep, sun-etched wrinkles and a warm, knowing smile. He is carefully inspecting a freshly glazed tea bowl. The setting is his rustic, sun-drenched workshop. The scene is illuminated by soft, golden hour light streaming through a window, highlighting the fine texture of the clay. Captured with an 85mm portrait lens, resulting in a soft, blurred background (bokeh). The overall mood is serene and masterful. Vertical portrait orientation.
生成图片:

2. 风格化插画和贴纸
贴纸模板则需要明确风格和背景要求。想要创建贴纸、图标或设计素材,应当说明所需的风格,并指定白色背景。示例中展示了如何生成一个卡哇伊风格的小熊猫贴纸,包括轮廓线、着色方式和色彩搭配等细节。
官方模板:
A [style] sticker of a [subject], featuring [key characteristics] and a [color palette]. The design should have [line style] and [shading style]. The background must be transparent.
示例Prompt:
A kawaii-style sticker of a happy red panda wearing a tiny bamboo hat. It's munching on a green bamboo leaf. The design features bold, clean outlines, simple cel-shading, and a vibrant color palette. The background must be white.
生成图片:

3. 文本渲染
文字渲染模板则要说明字体风格和设计需求。产品拍摄模板强调商业感,建议使用干净背景和可控布光,适合电子商务和广告用途。留白设计模板适合制作网站背景和简约风格设计。分镜模板可用于创作漫画和故事板,为内容创作者提供便利。
官方模板:
Create a [image type] for [brand/concept] with the text "[text to render]"in a [font style]. The design should be [style description], with a[color scheme].
示例Prompt:
Create a modern, minimalist logo for a coffee shop called 'The Daily Grind'.The text should be in a clean, bold, sans-serif font. The design shouldfeature a simple, stylized icon of a a coffee bean seamlessly integratedwith the text. The color scheme is black and white.
生成图片:

4. 商业摄影
产品拍摄模板强调商业感,可使用干净背景和可控布光,适合电子商务和广告用途。
官方模板:
A high-resolution, studio-lit product photograph of a [product description] on a [background surface/description]. The lighting is a [lighting setup, e.g., three-point softbox setup] to [lighting purpose]. The camera angle is a [angle type] to showcase [specific feature]. Ultra-realistic, with sharp focus on [key detail]. [Aspect ratio].
示例Prompt:
A high-resolution, studio-lit product photograph of a minimalist ceramiccoffee mug in matte black, presented on a polished concrete surface. Thelighting is a three-point softbox setup designed to create soft, diffused highlights and eliminate harsh shadows. The camera angle is a slightly elevated 45-degree shot to showcase its clean lines. Ultra-realistic, with sharp focus on the steam rising from the coffee. Square image.
生成图片:

5. 极简风格与留白设计
留白设计模板适合制作网站背景和简约风格设计。
官方模板:
A minimalist composition featuring a single [subject] positioned in the[bottom-right/top-left/etc.] of the frame. The background is a vast, empty [color] canvas, creating significant negative space. Soft, subtle lighting. [Aspect ratio].
示例Prompt:
A minimalist composition featuring a single, delicate red maple leafpositioned in the bottom-right of the frame. The background is a vast, empty off-white canvas, creating significant negative space for text. Soft, diffused lighting from the top left. Square image.
生成图片:

6. 漫画分格/故事板
分镜模板可用于创作漫画和故事板,为内容创作者提供便利。
官方模板:
A single comic book panel in a [art style] style. In the foreground,[character description and action]. In the background, [setting details]. The panel has a [dialogue/caption box] with the text "[Text]". The lighting creates a [mood] mood. [Aspect ratio].
示例Prompt:
A single comic book panel in a gritty, noir art style with high-contrastblack and white inks. In the foreground, a detective in a trench coat stands under a flickering streetlamp, rain soaking his shoulders. In thebackground, the neon sign of a desolate bar reflects in a puddle. A caption box at the top reads "The city was a tough place to keep secrets." The lighting is harsh, creating a dramatic, somber mood. Landscape.
生成图片:

除了官网提示词模板,谷歌还提供了调用API生图的Python代码示例。
通过谷歌发布的提示词指南,可以看到描述场景而非罗列关键词是nano banana的核心使用原则。与一堆零散的关键词相比,一段叙事性的、富有描述力的段落更容易生成优质、连贯的图像。
有效的Prompt需要包含足够的上下文和具体指示。提供拍摄类型、主体描述、动作表情、环境设置、光线描述、氛围营造、相机镜头细节、关键纹理和细节以及宽高比格式等信息,能够引导模型创造出照片级的效果。
这些模板不仅让普通用户更容易上手,也为专业创作者提供了标准化工作流程。通过多轮对话逐步优化图像,进行微调直至完美,这个功能特别适合需要精细调整的商业项目。
目前,大家可以通过Google AI Studio进行体验或通过官方文档中的代码进行调用。
随着AI图像生成技术的不断成熟,提示工程的重要性越来越明显。谷歌这次发布的官方模板,不仅提供了实用工具,也为整个行业的提示词设计提供了很好的参考。