你的位置:万博体育max·(中国)官方网站 APP下载 > 新闻 > 万博体育比拟苟简、不连贯的要害词列表-万博体育max·(中国)官方网站 APP下载
新闻
万博体育比拟苟简、不连贯的要害词列表-万博体育max·(中国)官方网站 APP下载
发布日期:2026-08-14 17:54    点击次数:86

Nano banana 正火爆大家,谷歌立马推出官方教导词指南。

底下先进行一些截止展示,望望它的弘大之处。

借助 Nano-banana、Seedance 和 Kling,梵高、蒙娜丽莎、戴珍珠耳饰的青娥王人能在纽约中央公园里合照。

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

甚而能毫无踪影的换脸?!

好家伙,香蕉这波确凿让我开眼了。嗅觉官方再不出教程,网友们我方王人能搞个"百科全书"了。

恰恰香蕉热度爆棚之际,谷歌回来其5 大中枢功能,助你轻易玩转这一改进用具。

文本转图像:从文本描摹生成高质料图像。

图像 + 文本转图像(裁剪):可通过文本教导对图像进行添加、删除或修改元素,还能更正作风和调整颜色。

多图像到图像(构图和作风调治):使用多张输入图像来构成一个新场景或将作风从一张图像调治到另一张图像。

迭代细化:可通过屡次对话渐渐微调图像,直知交意思满。

高保真文本渲染:准确生成显明且布局合理的笔墨图像,适用于 logo、图表和海报等。

谷歌还突出教导了,描摹场景,不要只是列出要害词。

比拟苟简、不连贯的要害词列表,一段叙事性强、描摹详备的段落经常能生成更好、更连贯的图像。

关于此指令,网友可谓十分心爱。

底下让咱们全部望望具体教导词是什么样的。

生成图像最常见的纪律,便是告诉它你想看什么。

先望望官方生成的图片,猫猫在双子座星空下的豪华餐厅里吃香蕉。

哇哦,猫猫桌子上还摆着刀叉和羽觞,餐厅里其他桌子上也有来宾,确凿充满了细节。

若是你也想用纳米香蕉生成如斯惊艳的截止,就全部来学学谷歌的 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   PIL   import   Image

  4from   io   import   BytesIO

  5

  6client = genai.Client ( )

  7

  8# Generate an image from a text prompt

  9response = client.models.generate_content (

10     model="gemini-2.5-flash-image-preview",

11     contents="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 )

14image_parts = [

15     part.inline_data.data

16      for   part   in   response.candidates [ 0 ] .content.parts

17      if   part.inline_data

18 ]

20if   image_parts:

21     image = Image.open ( BytesIO ( image_parts [ 0 ] ) )

22     image.save ( 'photorealistic_example.png' )

23     image.show ( )

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

柔柔的金色阳光透过窗户洒进画面,照亮了陶土的精细质感和老东谈主脸上的皱纹。

作风化的插图和贴纸

若是你想为名堂创建贴纸、图标或其他素材,务必明确指定作风,并在需要时条目使用白色布景。

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   PIL   import   Image

  4from   io   import   BytesIO

  5

  6client = genai.Client ( )

  7

  8# Generate an image from a text prompt

  9response = client.models.generate_content (

10     model="gemini-2.5-flash-image-preview",

11     contents="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 )

14image_parts = [

15     part.inline_data.data

16      for   part   in   response.candidates [ 0 ] .content.parts

17      if   part.inline_data

18 ]

20if   image_parts:

21     image = Image.open ( BytesIO ( image_parts [ 0 ] ) )

22     image.save ( 'photorealistic_example.png' )

23     image.show ( )

以下为一张卡哇伊作风的惬心小熊贴纸。

布景为设定的白色,合座继承显明概括和骁勇配色,通盘这个词规画十分灵活和眩惑东谈主。

图像中的准确文本

在渲染文本时,需具体描摹文本实质、字体作风,以及合座规画。

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   PIL   import   Image

  4from   io   import   BytesIO

  5

  6client = genai.Client ( )

  7

  8# Generate an image from a text prompt

  9response = client.models.generate_content (

10     model="gemini-2.5-flash-image-preview",

11     contents="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 )

14image_parts = [

15     part.inline_data.data

16      for   part   in   response.candidates [ 0 ] .content.parts

17      if   part.inline_data

18 ]

20if   image_parts:

21     image = Image.open ( BytesIO ( image_parts [ 0 ] ) )

22     image.save ( 'logo_example.png' )

23     image.show ( )

以下是为名为" The Daily Grind "的咖啡店创建的一个当代检朴作风的标记。

此图合座继承吊祭作风,中间的咖啡豆图标成为了通盘这个词规画的焦点,极端稳健咖啡店的品牌形象。

产物模子和交易影相

纳米香蕉还能为电子商务、告白或品牌创建显明、专科的产物像片。

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   PIL   import   Image

  4from   io   import   BytesIO

  5

  6client = genai.Client ( )

  7

  8# Generate an image from a text prompt

  9response = client.models.generate_content (

10     model="gemini-2.5-flash-image-preview",

11     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.",

12 )

14image_parts = [

15     part.inline_data.data

16      for   part   in   response.candidates [ 0 ] .content.parts

17      if   part.inline_data

18 ]

20if   image_parts:

21     image = Image.open ( BytesIO ( image_parts [ 0 ] ) )

22     image.save ( 'product_mockup.png' )

23     image.show ( )

以下为一张高分辩率、使命室灯光下的检朴陶瓷咖啡杯产物像片。

此图不错显明地看到杯内升空的蒸汽,合座线条检朴,画面极其传神。

极简办法和空间规画

它还极端适用于创建网站、演示文稿或营销材料的布景,并在这些布景上袒护文本加以修饰。

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   PIL   import   Image

  4from   io   import   BytesIO

  5

  6client = genai.Client ( )

  7

  8# Generate an image from a text prompt

  9response = client.models.generate_content (

10     model="gemini-2.5-flash-image-preview",

11     contents="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 )

14image_parts = [

15     part.inline_data.data

16      for   part   in   response.candidates [ 0 ] .content.parts

17      if   part.inline_data

18 ]

20if   image_parts:

21     image = Image.open ( BytesIO ( image_parts [ 0 ] ) )

22     image.save ( 'minimalist_design.png' )

23     image.show ( )

以下是一张极简办法构图,右下角以一派细腻的红色枫叶为特质。

连环画(漫画面板 / 故事板)

通过显明的场景描摹,逐帧创建太空有天的视觉叙事,突出得当制作故事板、漫画或任何花式的连环画。

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   PIL   import   Image

  4from   io   import   BytesIO

  5

  6client = genai.Client ( )

  7

  8# Generate an image from a text prompt

  9response = client.models.generate_content (

10     model="gemini-2.5-flash-image-preview",

11     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.",

12 )

14image_parts = [

15     part.inline_data.data

16      for   part   in   response.candidates [ 0 ] .content.parts

17      if   part.inline_data

18 ]

20if   image_parts:

21     image = Image.open ( BytesIO ( image_parts [ 0 ] ) )

22     image.save ( 'comic_panel.png' )

23     image.show ( )

以下是一幅玄色艺术作风的漫画书面板。

此漫画中,主东谈主公身穿风衣站在街灯下,布景中,一家陌生酒吧的灯牌照射在水中,合座充满了浓厚的逃避与危境氛围。

这些教导词指南和截止展示难谈还莫得引起你的酷好酷好吗?

心动不如看成,马上去体验一下这项改进技艺的弘大吧~

参考荟萃:

[ 1 ] https://x.com/googleaistudio/status/1962957615262224511

[ 2 ] https://ai.google.dev/gemini-api/docs/image-generation

一键三连「点赞」「转发」「注意心」

接待在挑剔区留住你的想法!

—  完  —

专属 AI 产物从业者的实名社群,只聊 AI 产物最落地的真问题   扫码添加小助手,发送「姓名 + 公司 + 职位」请求入群~

进群后,你将径直得到:

  � � 最新最专科的 AI 产物信息及分析 � �  

  � �   不如期披发的热点产物内测码 � �

  � �   里面专属实质与专科商酌 � �

� � 点亮星标 � �

科技前沿阐扬逐日见万博体育



Powered by 万博体育max·(中国)官方网站 APP下载 @2013-2022 RSS地图 HTML地图

Copyright Powered by365建站 © 2013-2024