1.nanobanana官方提示词教程

Nano banana正火爆全球,谷歌立马推出官方提示词指南。

Nano Banana官方提示词来了,附完整代码示例(插图

2.nano 官网

下面先进行一些效果展示,看看它的强大之处。借助Nano-banana、Seedance和Kling,梵高、蒙娜丽莎、戴珍珠耳环的少女都能在纽约中央公园里合照。

Nano Banana官方提示词来了,附完整代码示例(插图1

3.nano portal

不仅如此,还能生成十分炫酷的动画视频。

Nano Banana官方提示词来了,附完整代码示例(插图2

4.nanopool官方网站

甚至能毫无痕迹的换脸?!

Nano Banana官方提示词来了,附完整代码示例(插图3

5.nano nano

好家伙,香蕉这波真是让我开眼了感觉官方再不出教程,网友们自己都能搞个“百科全书”了正值香蕉热度爆棚之际,谷歌总结其5大核心功能,助你轻松玩转这一创新工具文本转图像:从文本描述生成高质量图像图像 文本转图像(编辑):可通过文本提示对图像进行添加、删除或修改元素,还能改变风格和调整色彩。

6.nano_official

多图像到图像(构图和风格转换):使用多张输入图像来组成一个新场景或将风格从一张图像转换到另一张图像迭代细化:可通过多次对话逐步微调图像,直至完美高保真文本渲染:准确生成清晰且布局合理的文字图像,适用于 logo、图表和海报等。

7.nanobanana官方提示词

谷歌还特别提示了,描述场景,不要仅仅列出关键词。相比简单、不连贯的关键词列表,一段叙事性强、描述详细的段落通常能生成更好、更连贯的图像。对于此指导,网友可谓十分喜欢。

Nano Banana官方提示词来了,附完整代码示例(插图4

下面让我们一起看看具体提示词是什么样的。6类Nano banana提示词生成图像最常见的方法,就是告诉它你想看什么。先看看官方生成的图片,猫猫在双子座星空下的豪华餐厅里吃香蕉。

Nano Banana官方提示词来了,附完整代码示例(插图5

哇哦,猫猫桌子上还摆着刀叉和酒杯,餐厅里其他桌子上也有客人,真是充满了细节如果你也想用纳米香蕉生成如此惊艳的效果,就一起来学学谷歌的6大类提示词吧逼真的场景要获得逼真的图像,最好像摄影师一样思考提及相机角度、镜头类型、光线和精细细节,这将使模型达到最逼真的效果。

通用提示如下所示: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.

不仅如此,谷歌还特意给出了API代码复制1from google import genai
2from google.genai import types
3from PILimport Image
4from io 。

import BytesIO
5
6client = genai.Client()78# Generate an image from a text prompt
9response = client

.models.generate_content(10 model=”gemini-2.5-flash-image-preview”,11 cnotallow=”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 with pottery wheels and shelves of clay pots in the background. The scene is illuminated by soft, golden hour light streaming through a window, highlighting the fine texture of the clay and the fabric of his apron. Captured with an 85mm portrait lens, resulting in a soft, blurred background (bokeh). The overall mood is serene and masterful.”

,12)13
14image_parts =[15 part.inline_data.data
16for part in response.candidates[0].content.parts

17if part.inline_data
18]19
20if image_parts:21 image = Image.open(BytesIO(image_parts[0]))22 image

.save(photorealistic_example.png)23 image.show()1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.16.17.18.19.20.

21.22.23.以下为官方生成的一位老年陶瓷艺术家的特写。

Nano Banana官方提示词来了,附完整代码示例(插图6

柔和的金色阳光透过窗户洒进画面,照亮了陶土的细腻质感和老人脸上的皱纹风格化的插图和贴纸如果你想为项目创建贴纸、图标或其他素材,务必明确指定风格,并在需要时要求使用白色背景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 white.。

复制1from google import genai
2from google.genai import types
3from PILimport Image
4from io import BytesIO

5
6client = genai.Client()78# Generate an image from a text prompt
9response = client.models.generate_content

(10 model=”gemini-2.5-flash-image-preview”,11 cnotallow=”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 with pottery wheels and shelves of clay pots in the background. The scene is illuminated by soft, golden hour light streaming through a window, highlighting the fine texture of the clay and the fabric of his apron. Captured with an 85mm portrait lens, resulting in a soft, blurred background (bokeh). The overall mood is serene and masterful.”

,12)13
14image_parts =[15 part.inline_data.data
16for part in response.candidates[0].content.parts

17if part.inline_data
18]19
20if image_parts:21 image = Image.open(BytesIO(image_parts[0]))22 image

.save(photorealistic_example.png)23 image.show()1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.16.17.18.19.20.

21.22.23.以下为一张卡哇伊风格的快乐小熊贴纸。

Nano Banana官方提示词来了,附完整代码示例(插图7

背景为设定的白色,整体采用清晰轮廓和大胆配色,整个设计十分生动和吸引人图像中的准确文本在渲染文本时,需具体描述文本内容、字体风格,以及整体设计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].。

复制1from google import genai
2from google.genai import types
3from PILimport Image
4from io import BytesIO

5
6client = genai.Client()78# Generate an image from a text prompt
9response = client.models.generate_content

(10 model=”gemini-2.5-flash-image-preview”,11 cnotallow=”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 a coffee bean seamlessly integrated with the text. The color scheme is black and white.”

,12)13
14image_parts =[15 part.inline_data.data
16for part in response.candidates[0].content.parts

17if part.inline_data
18]19
20if image_parts:21 image = Image.open(BytesIO(image_parts[0]))22 image

.save(logo_example.png)23 image.show()1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.16.17.18.19.20.21.22.23.

以下是为名为“The Daily Grind”的咖啡店创建的一个现代简约风格的标志。

Nano Banana官方提示词来了,附完整代码示例(插图8

此图整体采用黑白风格,中间的咖啡豆图标成为了整个设计的焦点,非常符合咖啡店的品牌形象产品模型和商业摄影纳米香蕉还能为电子商务、广告或品牌创建清晰、专业的产品照片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].。

复制1from google import genai
2from google.genai import types
3from PILimport Image
4from io import BytesIO

5
6client = genai.Client()78# Generate an image from a text prompt
9response = client.models.generate_content

(10 model=”gemini-2.5-flash-image-preview”,11 cnotallow=”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.”

,12)13
14image_parts =[15 part.inline_data.data
16for part in response.candidates[0].content.parts

17if part.inline_data
18]19
20if image_parts:21 image = Image.open(BytesIO(image_parts[0]))22 image

.save(product_mockup.png)23 image.show()1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.16.17.18.19.20.21.22.23.

以下为一张高分辨率、工作室灯光下的简约陶瓷咖啡杯产品照片。

Nano Banana官方提示词来了,附完整代码示例(插图9

此图可以清晰地看到杯内升起的蒸汽,整体线条简约,画面极其逼真极简主义和空间设计它还非常适用于创建网站、演示文稿或营销材料的背景,并在这些背景上覆盖文本加以修饰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].。

复制1from google import genai
2from google.genai import types
3from PILimport Image
4from io import BytesIO

5
6client = genai.Client()78# Generate an image from a text prompt
9response = client.models.generate_content

(10 model=”gemini-2.5-flash-image-preview”,11 cnotallow=”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.”

,12)13
14image_parts =[15 part.inline_data.data
16for part in response.candidates[0].content.parts

17if part.inline_data
18]19
20if image_parts:21 image = Image.open(BytesIO(image_parts[0]))22 image

.save(minimalist_design.png)23 image.show()1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.16.17.18.19.20.21.22.

23.以下是一张极简主义构图,右下角以一片精致的红色枫叶为特色。

Nano Banana官方提示词来了,附完整代码示例(插图10

连环画(漫画面板/故事板)通过清晰的场景描述,逐帧创建引人入胜的视觉叙事,特别适合制作故事板、漫画或任何形式的连环画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].。

复制1from google import genai
2from google.genai import types
3from PILimport Image
4from io import BytesIO

5
6client = genai.Client()78# Generate an image from a text prompt
9response = client.models.generate_content

(10 model=”gemini-2.5-flash-image-preview”,11 cnotallow=”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.”

,12)13
14image_parts =[15 part.inline_data.data
16for part in response.candidates[0].content.parts

17if part.inline_data
18]19
20if image_parts:21 image = Image.open(BytesIO(image_parts[0]))22 image

.save(comic_panel.png)23 image.show()1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.16.17.18.19.20.21.22.23.以下是一幅黑色艺术风格的漫画书面板。

Nano Banana官方提示词来了,附完整代码示例(插图11

此漫画中,主人公身穿风衣站在路灯下,背景中,一家荒凉酒吧的灯牌映照在水中,整体充满了浓厚的隐秘与危险氛围这些提示词指南和效果展示难道还没有引起你的兴趣吗?心动不如行动,赶紧去体验一下这项创新技术的强大吧~。

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。