最近,相信大家的朋友圈和社交媒體都被一個叫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圖像生成技術的不斷成熟,提示工程的重要性越來越明顯。谷歌這次發布的官方模板,不僅提供了實用工具,也為整個行業的提示詞設計提供了很好的參考。