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.
A photorealistic close-up portrait of an elderly Japanese ceramicist...(一位日本年迈陶艺家的超写实特写肖像...)
2. 风格化插画与贴纸 (Stylized Illustrations & Stickers)
制作贴纸、图标或素材时,必须明确艺术风格,并指定透明背景以便后续使用。
Prompt 模板:
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.
A kawaii-style sticker of a happy red panda...(一只卡哇伊风格的开心小熊猫贴纸...)
3. 精准文字渲染 (Accurate Text in Images)
Gemini 等新一代模型非常擅长处理文字。你需要清晰地描述文案内容、字体风格以及整体设计感。配合Gemini 3 Pro Image Preview这类工具效果更佳。
Prompt 模板:
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].
Create a modern, minimalist logo for a coffee shop called 'The Daily Grind'...(为一家名为 'The Daily Grind' 的咖啡店设计一个现代极简风格的 Logo...)
4. 产品样机与商业摄影 (Product Mockups)
电商和广告人的福音。通过描述专业布光(如三点布光)和高分辨率,可以生成极具质感的产品图。
Prompt 模板:
A high-resolution, studio-lit product photograph of a[product description]on a[background surface/description]. The lighting is a[lighting 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].
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].
A minimalist composition featuring a single, delicate red maple leaf...(极简构图,展示一片精致的红枫叶...)
6. 连环画与分镜 (Sequential Art)
利用模型对角色一致性和场景描述的理解,制作多格漫画或故事板。
Prompt 模板:
Make a 3 panel comic in a[style]. Put the character in a[type of scene].
中文释义:用[风格]制作一个 3 格漫画。将角色置于[场景类型]中。
第二部分:像修图师一样编辑图像
除了无中生有,我们还可以上传参考图,要求模型进行修改、合成或风格迁移。
1. 增删元素 (Adding and Removing)
上传图片,直接告诉模型你想加什么、减什么。模型会自动匹配原图的光影和透视。
Prompt 模板:
Using the provided image of[subject], please[add/remove/modify][element]to/from the scene. Ensure the change is[description of how the change should integrate].
Using the provided image, change only the[specific element]to[new element/description]. Keep everything else in the image exactly the same, preserving the original style, lighting, and composition.
Transform the provided photograph of[subject]into the artistic style of[artist/art style]. Preserve the original composition but render it with[description of stylistic elements].
Create a new image by combining the elements from the provided images. Take the[element from image 1]and place it with/on the[element from image 2]. The final image should be a[description of the final scene].
Using the provided images, place[element from image 2]onto[element from image 1]. Ensure that the features of[element from image 1]remain completely unchanged. The added element should[description of how the element should integrate].
prompt ="Create a photorealistic image of a siamese cat with a green left eye and a blue right one" # 可选比例: "1:1", "2:3", "3:2", "3:4", "4:3", "4:5", "5:4", "9:16", "16:9", "21:9" aspect_ratio ="16:9"
Nano Banana Pro 最具颠覆性的功能之一,就是它的Search Grounding(搜索溯源)能力。
别以为模型只能“背书” —— Nano Banana Pro 不会被困在过时的训练数据里。它能直接调用 Google Search 的实时数据,生成既准确又时效性极强的图像。想要现在的天气图?没问题。
举个例子,我们可以让它直接把东京未来 5 天的天气预报可视化,甚至贴心地画出每天的穿搭建议:
prompt ="Visualize the current weather forecast for the next 5 days in Tokyo as a clean, modern weather chart. add a visual on what i should wear each day"
# 混合多张图片 response = client.models.generate_content( model=PRO_MODEL_ID, contents=[ # 提示词:给这些人拍张办公室合影,大家都在做鬼脸 "An office group photo of these people, they are making funny faces.", PIL.Image.open('John.png'), PIL.Image.open('Jane.png'), # ... 这里最多可以塞进 14 张图 ], )
"Show me an infographic about how sonnets work, using a sonnet about bananas written in it, along with a lengthy literary analysis of the poem. Good vintage aesthetics"
Prompt:"A photo of a program for the Broadway show about TCG players on a nice theater seat, it's professional and well made, glossy, we can see the cover and a page showing a photo of the stage."(一张百老汇演出的节目单照片,放置在精致的剧院座椅上,剧目关于 TCG 玩家。要求专业、做工精良、有光泽感,画面需展示封面及印有舞台剧照的内页。)
Nano Banana Pro 可以生成光影精准、材质纹理逼真的印刷品 Mockup,非常适合用于设计方案的提案展示。
11. 玩转 Nano Banana 系列:最佳实践与 Prompt 技巧
想要榨干 Nano Banana 与 Nano Banana Pro 的潜力,获得最佳生成效果,以下这些 Prompt 黄金法则你必须掌握: