刚刚!谷歌推出Nano Banana官方终极指南:六条保姆级权威提示教程,拿走不谢(谷歌新规)

刚刚!谷歌推出Nano Banana官方终极指南:六条保姆级权威提示教程,拿走不谢(谷歌新规)

直接和官方学习最顶级的nano banana 提示技巧,这比你看多少碎片文章和视频都强

Nano Banana 太火了,谷歌趁热打铁,刚刚推出了官方认证的的Nano Banana使用指南,指南一共有六条提示词模板和具体示例,可以在 Google AI Studio (ai.studio/banana) 中立即体验这些功能,或通过官方文档中的代码进行调用

不熟悉的同学可以速览一下Nano Banana(即 Gemini 2.5 Flash Image 图像模型) 的核心功能:

文生图 (Text-to-image):从简单或复杂的文本描述中生成高质量图像

图+文生图 (编辑):提供一张图片,通过文本指令添加、移除或修改元素,改变风格或调整色彩

多图生图 (合成与风格迁移):使用多张输入图像来构图新场景,或将一张图像的风格迁移到另一张上

迭代优化:通过多轮对话逐步优化图像,进行微调直至完美

文字渲染:生成包含清晰、位置得当文字的图像,非常适合用于徽标、图表和海报

本指南将教会你如何编写有效的提示词 (prompt) 和指令,以充分发挥 nano banana 的潜力。这一切都始于一个基本原则:

描述场景,而非罗列关键词,nano banana 的核心优势在于其深度的语言理解能力。与一堆零散的关键词相比,一段叙事性的、富有描述力的段落几乎总能生成更优质、更连贯的图像

废话不多说,直接上干货

Nano Banana 六大提示词技巧 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.

示例提示词:

一张照片级的特写肖像,主角🎭️是一位年迈的日本陶艺家,他脸上布满被阳光雕刻出的深深皱纹,带着温暖而会意的微笑。他正在仔细端详一个刚上釉的茶碗。背景是他那间充满阳光的乡村风格工作室。柔和的金色黄昏光线从窗户射入,照亮了黏土的细腻纹理。使用 85mm 人像镜头拍摄,背景柔和模糊(焦外成像)。整体氛围宁静而充满大师风范。竖向构图

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.

代码调用:

from google import genai from google.genai import types from PIL import Image from io import BytesIO client = genai.Client Generate an image from a text prompt response = client.models.generate_content( model="gemini-2.5-flash-image-preview", contents="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.", ) image_parts = [ part.inline_data.data for part in response.candidates[0].content.parts if part.inline_data ] if image_parts: image = Image.open(BytesIO(image_parts[0])) image.save('red_panda_sticker.png') image.show3. 在图像中精准渲染文字

Gemini 非常擅长渲染文字。在提示词中清晰地写出文本内容、描述字体风格以及整体设计。

模板 :

为[品牌/概念]创建一个[图像类型],包含文字“[要渲染的文本]”,字体为[字体风格]。整体设计应为[风格描述],配色方案为[配色方案]

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].

示例提示词 :

为一家名为“The Daily Grind”的咖啡店设计一个现代、极简的标志。文字应采用干净、粗体的无衬线字体。设计中包含一个与文字无缝融合的、简约风格化的咖啡豆图标。配色方案为黑白。

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 should feature a simple, stylized icon of a coffee bean seamlessly integrated with the text. The color scheme is black and white

代码调用:

from google import genai from google.genai import types from PIL import Image from io import BytesIO client = genai.Client Generate an image from a text prompt response = client.models.generate_content( model="gemini-2.5-flash-image-preview", contents="A high-resolution, studio-lit product photograph of a minimalist ceramic coffee mug in matte black, presented on a polished concrete surface. The lighting 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.", ) image_parts = [ part.inline_data.data for part in response.candidates[0].content.parts if part.inline_data ] if image_parts: image = Image.open(BytesIO(image_parts[0])) image.save('product_mockup.png') image.show5. 极简主义与留白设计

这种风格非常适合为网站、ppt或需要叠加文字的营销材料创建背景

模板:

一幅极简主义构图,画面中只有一个[主体],位于画面的[右下角/左上角等位置]。背景是一块巨大的、空白的[颜色]画布,创造出大量的留白空间。光线柔和而微妙。[宽高比]。

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 positioned 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

from google import genai from google.genai import types from PIL import Image from io import BytesIO client = genai.Client Generate an image from a text prompt response = client.models.generate_content( model="gemini-2.5-flash-image-preview", contents="A single comic book panel in a gritty, noir art style with high-contrast black and white inks. In the foreground, a detective in a trench coat stands under a flickering streetlamp, rain soaking his shoulders. In the background, 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.", ) image_parts = [ part.inline_data.data for part in response.candidates[0].content.parts if part.inline_data ] if image_parts: image = Image.open(BytesIO(image_parts[0])) image.save('comic_panel.png') image.show

参考:

https://x.com/googleaistudio/status/1962957615262224511

特别声明:[刚刚!谷歌推出Nano Banana官方终极指南:六条保姆级权威提示教程,拿走不谢(谷歌新规)] 该文观点仅代表作者本人,今日霍州系信息发布平台,霍州网仅提供信息存储空间服务。

猜你喜欢

乐基儿穿白裙现身港姐决赛,刻意跟异性保持距离,曾志伟表情奇怪(乐基儿视频)

2025年香港小姐总决赛现场,一位久违的身影吸引了全场目光——阔别娱乐圈️多年的乐基儿以一袭纯白礼服惊艳亮相。 历经两次婚姻的乐基儿,如今将全部心力倾注在6岁儿子身上。在塞班岛的碧海蓝天下,这位曾经的"玩咖…

乐基儿穿白裙现身港姐决赛,刻意跟异性保持距离,曾志伟表情奇怪(乐基儿视频)

TVB公开下半年重点剧集!多部合拍剧吸睛,多产小花手握3部作品(2025年下半年tvb新剧)

由于合拍剧的制作经费比较宽松,场景方面观众自然不担心,加上为了吸睛,大台必要时也会请一些已经离巢的艺人担正,黑色月光就是比较典型的代表,视后杨茜尧时隔多年再次回到老东家,联合视帝王浩信以及视后林夏薇主演了这…

TVB公开下半年重点剧集!多部合拍剧吸睛,多产小花手握3部作品(2025年下半年tvb新剧)

滤芯FBX.BH-630×20Y HX-RLYC-160×600-BZ180Μ替代EATON伊顿川润(樱花动漫网官网)

Oil filter 630-1-04 (630-1-14) Regotmas 3FGM32-40建议售价:元 定冷水滤芯SZ2-1-205配定子SG111-651.0水过滤器图号Q5D431F1248…

滤芯FBX.BH-630×20Y HX-RLYC-160×600-BZ180Μ替代EATON伊顿川润(樱花动漫网官网)

沈巍观察19:沈巍导演盛大的传位之秀,究竟葫芦里卖的什么药?(沈巍 一)

我们可以看到,5808电商基地的老总向沈巍挥起了足够的善意的橄榄枝,他在直播间里直接喊话沈巍:他可以在他的直播基地大厦里,为沈巍开辟一个工作室,只要关起门来,就可以为沈巍提供一个接纳他、关心他、让他轻松自在…

沈巍观察19:沈巍导演盛大的传位之秀,究竟葫芦里卖的什么药?(沈巍 一)

淘宝店铺反向运营到底怎么玩?新手如何避开常见误区?(淘宝正向反向都报会叠加吗)

淘宝店铺反向运营是一种以用户需求为导向的运营模式,近年来逐渐成为中小卖家突围的重要手段。本文解析反向运营的核心逻辑、实操流程与常见误区,帮助新手快速掌握低成本、高转化的运营方法,提升店铺竞争力。

淘宝店铺反向运营到底怎么玩?新手如何避开常见误区?(淘宝正向反向都报会叠加吗)