DEV Community

Cover image for 揭秘 Nano Banana新玩法:Google 的 AI 图像编辑新王炸
Yang ella
Yang ella

Posted on

揭秘 Nano Banana新玩法:Google 的 AI 图像编辑新王炸

你可能已经听说过“Nano Banana”这个神秘又有趣的代号——它不是水果,也不是玩具,而是 Google 最新推出的 AI 图像生成与编辑模型 Gemini 2.5 Flash Image

这个模型在 LMArena 基准测试中位列榜首,凭借角色一致性保持、自然语言精准修图、多图融合等能力,被誉为“Vibe Photoshoping”的开创者 。它不仅能生成高质量图像,还能理解图像与文字的双重输入,实现真正的对话式图像编辑

🔍 小知识:Nano Banana 是开发代号,其官方名称为 Gemini 2.5 Flash Image Preview,是 Gemini 2.0 Flash 的升级版 。由于原名太长,社区更爱叫它“Nano Banana” 。

核心能力一览

Gemini 2.5 Flash Image 支持多种高级图像操作,包括:

  • ✅ 文本生成图像(Text-to-Image)
  • ✅ 图像修复(Inpainting):移除或添加对象
  • ✅ 背景替换(Background Replacement)
  • ✅ 图像扩展(Outpainting)
  • ✅ 多轮自然语言图像编辑
  • ✅ 多图融合与组合生成
  • ✅ 高精度局部文字编辑(无需手动选区)

所有生成图像均包含隐形 SynthID 数字水印,用于标识AI生成内容 。

本文实战案例速览

以下是你将在这篇文章中看到的 9 大真实应用场景,每一项都基于 Gemini 2.5 Flash Image 的原生多模态能力实现:

  1. 🌌 超写实图像生成 ——木星轨道上的废弃空间站,细节震撼
  2. 🛍️ 电商商品合成 ——真人手持手包、沙发换色换场景,零设计门槛
  3. ✏️ 文字智能编辑 ——一键移除或替换图片中的文字,无需选区
  4. 🌅 背景自由替换 ——从阴雨天到绝美日落,氛围随心切换
  5. 🖼️ 分镜图生成 ——6格角色情绪图,打造动画级视觉叙事
  6. 🎎 手办建模渲染 ——Figma风格手办 + 博物馆展柜,IP衍生新玩法
  7. 📊 信息图自动生成 ——肌肉骨骼解剖图、手机进化史,知识可视化利器
  8. 👗 穿搭平铺图(OOTD) ——自动提取服装单品,生成电商级 flat lay
  9. 🃏 创意卡片设计 ——宝可梦卡、Q版角色卡,一键生成收藏级卡片

没有繁琐操作,没有专业软件,只有一句话 + 一张图 = 你想要的世界

接下来,我们将逐一拆解这些案例背后的 Prompt 技巧与底层逻辑,带你掌握 Google 这位“AI 视觉大脑”的真正用法。

(继续阅读,获取完整 Prompt 模板与实战技巧 →)

图片生成

超写实废弃太空站

Generate a photorealistic image of an abandoned space station orbiting Jupiter during a solar eclipse, with floating debris and emergency lights, but without any human figures or Earth visible. The image should have an eerie, isolated quality, emphasizing the scale of Jupiter and the play of light on metallic surfaces.

abandoned space station orbiting Jupiter

A photorealistic ESC keycap scene shows a miniature cozy living room setup. Inside: a glowing red Netflix screen, a plush red couch, popcorn bowl, and throw blanket. A small figure lounges with feet up, watching content. The red “N” logo glows from behind like mood lighting. Outside: cool tech-blue reflections on F1, Shift, and Q keys. The word “ESC” is subtly present in a glassy fog on top of the cap.

esc-key-cap-scene

特写镜头:一只手正拿着一张设计成 VS Code 中 JSON 文件外观的名片。名片上的代码以真实的 JSON 语法高亮格式呈现。窗口界面包含典型的工具栏图标和标题栏,标题显示为 Business Card.json,整体风格与 VS Code 界面完全一致。背景略微虚化,突出展示名片内容。
名片上的 JSON 代码如下所示:
{
"name": "Jamez Bondos",
"title": "Your Title",
"email": "your@email.com",
"link": "yourwebsite"
}
Enter fullscreen mode Exit fullscreen mode

vscode-card

电商宣传图 / Product Mockup

一键生成商品图,支持颜色更改、场景替换、背景融合,适用于电商快速出图

人物和产品都还原的没有一点瑕疵

let the girl hold this handbag

girl-hand-bag-product-mockup

Change the sofa in the living room to a green velvet couch and add a modern art piece on the wall

sofa-mockup

文字编辑 / Text Edit

原图 移除文字 替换文字
hepingxiang-giel hepingxiang-girl-no-text hepingxiang-girl-replace-text

更换背景 / Change background

通过自然语言指令,轻松实现背景替换,从雨天变夕阳,一键切换氛围

悲伤下雨天 绝美艳阳天
change the background to a sad rainy day Change the background to a stunning sunset
hepingxiang-girl-rainy-day hepingxiang-girl-sunset-day

子图 / 分镜图

这个有些槽点,图片没有按照3x2排列。

Refer to the girl in this picture and create a landscape-oriented image with 6 sub images arranged in a 3×2 grid , all the images show the same character in different settings and with different expressions (e.g., happy, surprised, determined). The art style should be consistent across all depictions, and the overall composition should be balanced and visually appealing.

hepingxiang-girl-sub-emotion.webp

生成分镜图并不稳定,有时候是生成一张图,有时候是多张图。 图片多了之后,人物的连续性就会变差。

Refer to this picture and create 4 image, all the images show the same character in different settings and with different expressions (e.g., happy, surprised, determined). The art style should be consistent across all depictions, and the overall composition should be balanced and visually appealing.

dynamic-pose-for-the-animated-girl

手办 / Action figure

将人物转化为Figma风格手办或博物馆展柜风格模型,适合IP衍生设计

turn this photo into a character figure. Behind it, place a box with the character’s image printed on it, and a computer showing the Blender modeling process on its screen. In front of the box, add a round plastic base with the character figure standing on it. set the scene indoors if possible

animation-character-figure

figma 风格

turn this character into a highly detailed and articulated anime action figure, in the style of a Figma. The figure should have visible joints at the elbows, knees, and shoulders, and be posed in a dynamic action stance. Place it on a hexagonal, articulated stand with a clear posing arm. Behind it, create a sleek, modern box featuring photos of the figure in various action poses.

action-figure-figma

橱柜风格

turn this character in this photo into A pristine, masterfully crafted anime scale figure showcased as the centerpiece inside a modern, museum-style glass display cabinet. The cabinet is illuminated by clean, perfectly angled LED spotlights from above, highlighting the intricate paint job and sculpting details. Other premium figures are visible but out of focus on shelves in the background, creating a sense of a prized collection. The shot is clean and minimalist, emphasizing the figure as a work of art.

action-figure- in cabinet

信息图 / Infographics

肌肉解剖信息图 /muscle and skeleton infographic

Create a clear, educational infographic comparing the human skeletal and muscular systems in a side-by-side anatomical layout. Use a clean, scientific style with a white or light background for readability. On the left, show a detailed anterior (front) view of the skeleton with labeled major bones (skull, spine, ribcage, femur, etc.) in a neutral gray tone. On the right, display the major muscle groups (pectorals, biceps, quadriceps, etc.) in color-coded red (flexors) and blue (extensors). Include a small central inset showing how muscles attach to bones via tendons, with a magnified cross-section of a joint (e.g., elbow or knee). Add brief annotations, a color legend, and a title: 'Human Skeletal & Muscular Systems – Structure and Function'. Use sans-serif typography, subtle grid lines, and a modern medical illustration style. Ensure the layout is balanced, informative, and suitable for students or healthcare education.

muscle-and-skeleton-infographic.webp

手机进化史

Content: Create a timeline infographic showing the evolution of the smartphone from the first IBM Simon Personal Communicator in 1994 to the latest models.
Visual Style: A clean, chronological timeline with illustrations of each key device. Use a modern, tech-oriented color palette (blues, greys, and a bright accent color).

infographics-smart-phone-evolution.webp

穿搭 / OOTD平铺图

Create a clean, well-organized flat lay photography composition featuring all the clothing items from the reference image, arranged neatly on a plain white or light-gray seamless background. Include every garment (e.g., top, pants, dress, jacket, skirt) and visible accessories (shoes, bag, hat, jewelry) laid flat and fully visible. Use soft, even lighting with subtle shadows to maintain a realistic yet minimalist aesthetic. Ensure accurate colors, textures, and proportions. Style: modern, editorial fashion look — ideal for e-commerce, lookbooks, or wardrobe planning. Do not include people, mannequins, or cluttered backgrounds.

girl-with-white-weather flat-lay-outfits-white-weather
gitl-skirt flat-lay-outfits-blue-skirt
gitl-orange-shirt flat-lay-outfits-orange-shirt

卡片 / Cards

支持生成宝可梦卡、Q版角色卡等创意卡片,适用于IP设计与内容营销。

Pokemon Cards


A custom Pokémon card featuring a 3D chibi character inspired by the uploaded image. The card design should be in the classic Pokémon TCG style, with all thematic elements generated based on the character's appearance.

**Image Composition:**
The entire Pokémon card is displayed against a **clean, minimalist, pure white background.** The card itself should cast a **soft, subtle drop shadow** beneath it, giving it a sense of depth as if it is floating slightly above the surface.

**Card Layout:**
Analyze the character in the image to determine the most fitting Pokémon type (e.g., Fire, Water, Grass, Psychic, Electric, etc.). The card's border color and all energy symbols used must correspond to this chosen type. At the top, include the character's name "Kella" in a bold font, and generate a plausible HP value (e.g., HP 90, HP 120). The aspect ratio should be 2.5:3.5 (standard card size).

**Character Illustration:**
The central artwork should be a high-quality 3D render of the chibi character. The style should be playful and dynamic, similar to modern Pokémon illustrations. The character should have a polished, smooth texture, set against a holographic background with abstract energy swirls that match the card's chosen type.

**Attacks Section:**
Based on the character's design and chosen type, generate two unique and thematically appropriate attacks. For each attack, create a creative name, a logical energy cost (using the corresponding type symbol and colorless symbols), and a balanced damage number.

**Bottom Info Bar:**
Generate a logical Weakness, Resistance, and Retreat Cost that would be appropriate for the character's determined Pokémon type. Use the standard, official symbols from the Pokémon TCG for this section.

**Overall Feel:**
Authentic, official Pokémon TCG card design, high detail, vibrant colors, clean and sharp text.

--no blurry text, incorrect symbols, misaligned elements, watermark, signature, poorly drawn, bad anatomy
Enter fullscreen mode Exit fullscreen mode

pokemon-cards-animal-girl

使用真人照片

pokemon-cards-cool-siting-girl

pokemon-cards-cool-one-knee-girl

Q版卡片:

q-card-yellow
q-card-orange

q-card-red

结语

“Nano Banana”不是玩笑,而是 Google 在 AI 图像领域的一次重大突破。作为 Gemini 2.5 Flash Image,它代表了当前最快、最高效、最具创意控制力的原生多模态图像模型之一 ,生成速度通常在10秒内

无论是设计师、电商运营,还是内容创作者,掌握这一工具,都将极大提升你的AI生产力。

原文链接:https://yeekal.com/ai/nano-banana-prompt-guidebook/
nano banana 试用链接:

Top comments (0)