GPT-6 Sol、Claude Opus 5.5 已上线GPT-6 Sol 价格仅为 5.6 Sol 的一半

Nano Banana 产品图怎么做:8 组电商提示词实测

8 组提示词、22 次改图、两个模型:哪些图保住了标签文字,鞋在哪一步被镜像,每种任务该选哪个模型。

Kiki, OmniaKey COO10 分钟阅读
本页内容

Nano Banana 产品图的做法是:拿真实的产品照片去改,而不是用文字描述产品,并在提示词里写明标签不能改。2026 年 11 月 2 日,我们在 Nano Banana 2.1 和 Nano Banana Pro 上跑了 8 组提示词:14 张带标签的图里 13 张每个字都对,漏掉的那张点名文字后就修好了。

先说结论

  • 提示词顺序: 先说用途,再说哪些不能变,然后是背景、光线、构图,最后写要出现的文字。
  • 选哪个模型: 两个模型各有胜负,先从 Nano Banana 2.1 开始。Google 价格页上 2K 图每张 $0.0504,Pro 是 $0.134(2026 年 11 月 2 日核对)。
  • 标签和细节: 水、手、道具靠近产品时,把确切的文字、朝向和颜色写进提示词。
  • 发布前: 每张图和真实产品对一遍,我们的测试里鞋被镜像过一次,咖啡滤纸也多出一张。

Nano Banana 产品图提示词怎么写

拿一张真实产品照片当起点,按下面的顺序写提示词。Google 的产品图模板会写清产品、放在什么上面、用什么光(图片生成指南,2026 年 11 月 2 日核对),改图时则要求详细描述哪些地方不能变。

部分要写什么我们的提示词原文
用途这张图拿来做什么"Turn this phone photo into a clean e-commerce main image."
不能变的部分产品、标签、每一个字"Keep the bottle, the dropper and every word on the label exactly as they are."
背景或场景纯白、房间、台面"a pure white background (#FFFFFF)"
光线方向、软硬、阴影"Even studio lighting from the front and both sides"
构图角度、裁切、占画面多少"Center the bottle, straight on, filling about 85% of the frame height."
要出现的文字写什么字、什么样子"the headline "Roasted every Monday" in a bold cream serif font"

85% 的画面高度是我们自己定的构图,电商平台没有这条规定。

我们怎么测的

每组提示词都在两个模型上以 2K 改同一张原图,2026 年 11 月 2 日通过 OmniaKey API 跑。第 6 组每个模型跑两次,一共 18 次改图,没有一次失败;中位耗时 2.1 是 41.9 秒,Pro 是 46.0 秒。

原图看起来像手机拍的,其实由 GPT Image 2 生成,AURELLE 和 HILLTOP ROAST 都是虚构品牌。每张标签我们都按原尺寸逐字看过。每组提示词在生成的图上跑 1 到 2 次,换成你自己的产品照片,结果可能不同。

三张原图:厨房台面上的琥珀色精华瓶、木地板上薄荷绿鞋底的白鞋、桌上的牛皮纸咖啡袋。
三张原图。看起来像手机拍的,其实由 GPT Image 2 生成,品牌都是虚构的。2026 年 11 月 2 日制作。

图上印的秒数是每次调用的耗时。

8 组提示词和出图结果

每组都给出我们发的提示词原文,以及按原尺寸看到的结果。

1. 白底主图

商品列表用的主图:白底上的精华瓶。

prompt
Turn this phone photo into a clean e-commerce main image. Keep the bottle, the dropper and every word on the label exactly as they are. Place it on a pure white background (#FFFFFF) with only a soft, natural contact shadow under the base. Even studio lighting from the front and both sides, no reflections of the kitchen in the glass. Center the bottle, straight on, filling about 85% of the frame height.
两个模型出的白底精华瓶。Nano Banana 2.1 的背景是纯白,Nano Banana Pro 的背景上半部分是浅灰。
Nano Banana 2.1(左)和 Nano Banana Pro(右),通过 OmniaKey API,改图,1:1,2K,2026 年 11 月 2 日制作。

设置:改图,1:1,2K,精华瓶照片。Nano Banana 2.1 32.5 秒,Pro 38.2 秒。

2.1 把 7 个抽样背景点全部出成 #FFFFFF。Pro 出的是浅灰,左上 #F0EEF1 到右下 #FCFBFB,标签文字都对。

提示:在 Pro 上用 "solid pure white (#FFFFFF) from edge to edge, with no gradient" 这句写法。

2. 留出标题位置的影棚主视觉

带标题留白的主视觉图。

prompt
Use the serum bottle in this photo as the product for a premium studio hero shot. The bottle stands on a terracotta-colored stone block in front of a warm sand-colored seamless backdrop. A single hard key light from the upper left casts a crisp diagonal shadow to the right, and a thin rim light traces the edge of the amber glass. Keep the label text "AURELLE", "Vitamin C Serum" and "30 ml" unchanged. Leave clear empty space above the bottle for a headline.
两个模型出的精华瓶:陶土色石块上,沙色背景,斜向硬阴影,上方留白。
Nano Banana 2.1(左)和 Nano Banana Pro(右),通过 OmniaKey API,改图,4:5,2K,2026 年 11 月 2 日制作。

设置:改图,4:5,2K,精华瓶照片。Nano Banana 2.1 35.3 秒,Pro 44.8 秒。

两个模型都出了陶土色石块、沙色背景、斜向阴影和上方留白,标签文字都对。

3. 浴室搁板上的场景图

产品详情页用的场景图。

prompt
Place this exact serum bottle on a white marble bathroom shelf next to a folded oatmeal linen towel and a small sprig of eucalyptus. Soft morning sunlight comes through a frosted window on the right and casts gentle leaf shadows across the shelf. Shallow depth of field: the bottle is the sharpest thing in the frame, with the label facing the camera and fully readable. Photorealistic, shot like an 85 mm lens at eye level.
两个模型出的场景图:白色大理石搁板上的精华瓶,旁边是叠好的亚麻毛巾和尤加利,柔和窗光。
Nano Banana 2.1(左)和 Nano Banana Pro(右),通过 OmniaKey API,改图,4:5,2K,2026 年 11 月 2 日制作。

设置:改图,4:5,2K,精华瓶照片。Nano Banana 2.1 82.9 秒,Pro 43.3 秒。

两个模型都把瓶子放在大理石搁板上,旁边是毛巾和尤加利,窗光柔和,标签清楚。2.1 那次 82.9 秒的调用记录了一次网络错误,最后还是出图了。

4. 俯拍平铺图

带咖啡道具的俯拍平铺图。

prompt
Create an overhead flat lay for a coffee shop's product page using this coffee bag. Lay the bag flat in the center of a light oak table, surrounded by a ceramic pour-over dripper, a small pile of roasted coffee beans, a white cup of black coffee and a folded paper filter. Soft daylight from the top of the frame, gentle shadows, balanced spacing, nothing touching the edges. Keep the label design and all of its text exactly as in the photo.
两个模型出的俯拍平铺图:浅色橡木桌上的咖啡袋。Nano Banana 2.1 画了白色陶瓷滤杯和两张滤纸。Nano Banana Pro 画的滤杯像马克杯,里面放着一张滤纸,留白更多。
Nano Banana 2.1(左)和 Nano Banana Pro(右),通过 OmniaKey API,改图,1:1,2K,2026 年 11 月 2 日制作。

设置:改图,1:1,2K,咖啡袋照片。Nano Banana 2.1 45.1 秒,Pro 48.4 秒。

两张的标签都准确。2.1 画了像样的陶瓷滤杯,却配了两张滤纸;Pro 的像一个装着滤纸的马克杯,留白更多。

5. 跑者脚上

运动广告用的使用场景图。

prompt
Show this exact sneaker being worn by a runner mid-stride on a red running track at golden hour. Crop from the knee down with the camera low near the ground. The shoe is in sharp focus and keeps the white upper, the mint-green sole, laces and heel tab from the photo; the track lines behind are blurred with motion. Photorealistic sports campaign look, no logos added.
两个模型出的运动鞋:日落时红色跑道上的白鞋。Nano Banana 2.1 从正面画了两只脚,扬起尘土。Nano Banana Pro 从侧面画了一只脚,带动态模糊。
Nano Banana 2.1(左)和 Nano Banana Pro(右),通过 OmniaKey API,改图,3:2,2K,2026 年 11 月 2 日制作。

设置:改图,3:2,2K,运动鞋照片。Nano Banana 2.1 29.8 秒,Pro 50.8 秒。

两个模型颜色都对,也没加 logo。2.1 从正面画了两只脚,还扬起尘土;Pro 从侧面画了一只脚,带动态模糊,保住了薄荷绿后跟提环,更接近原图。

提示:后跟必须和照片一致时,用 Pro。

6. 带文字的社媒广告

带主标题和副标题的方形社媒广告。

prompt
Make a square social media ad for this coffee bag. Put the bag on the right side of the frame on a deep forest-green background with a few scattered coffee beans. On the left, set the headline "Roasted every Monday" in a bold cream serif font, and under it, in smaller cream sans-serif text, "Free shipping over $30". Keep the bag's own label unchanged. Clean layout with generous margins and no other text.
四张方形广告:深绿背景上的咖啡袋,主标题是 Roasted every Monday。Nano Banana Pro 第一次的副标题折成两行,Nano Banana 2.1 第二次的地面是深藏青。
每个模型跑两次。Nano Banana 2.1(左)和 Nano Banana Pro(右),通过 OmniaKey API,改图,1:1,2K,2026 年 11 月 2 日制作。

设置:改图,1:1,2K,咖啡袋照片。Nano Banana 2.1 46.5 和 41.9 秒,Pro 33.5 和 46.0 秒。

4 张图的主标题、副标题和标签都对。Pro 第一次把副标题折成两行;2.1 第二次把地面出成炭蓝,没有用森林绿。

提示:Google 的提示词技巧建议写明确切的文字和它的样子。

7. 一双鞋出三种配色

产品页用的三种配色并排图。

prompt
Using this sneaker as the base design, create a product lineup of three colorways side by side on a light gray studio background: on the left the original white with mint-green sole and laces, in the middle an all-black version with a white sole, on the right a sand-beige version with a brown sole. Same side-profile angle and same size for all three, evenly spaced, soft shadows under each. Keep the shape, stitching and sole pattern identical to the photo.
两个模型各出一排三种配色的运动鞋。Nano Banana 2.1 的图里鞋头朝右,和原图一样。Nano Banana Pro 的图里三只鞋都被镜像,朝左。
Nano Banana 2.1(左)和 Nano Banana Pro(右),通过 OmniaKey API,改图,16:9,2K,2026 年 11 月 2 日制作。

设置:改图,16:9,2K,运动鞋照片。Nano Banana 2.1 76.1 秒,Pro 66.6 秒。

两个模型颜色都对。2.1 保住了朝右的鞋头和压印标记;Pro 把三只鞋都镜像了,压印也没了。

提示:加上 "every toe pointing right exactly as in the photo" 和 "Do not mirror the shoe"。

8. 水花图

带水花的广告图。

prompt
Create a bold advertising shot of this serum bottle: it stands in a shallow pool of clear water while a crown of water splashes up around it, frozen in mid-air, with two thin orange slices floating nearby. Bright citrus-orange gradient background, high-speed flash lighting, every droplet crisp. Keep the bottle, the dropper and the label exactly as in the photo.
两个模型出的水花图:精华瓶立在水花中间,旁边漂着橙子片。Nano Banana 2.1 的水盖住了标签下部,小字糊了。Nano Banana Pro 的整张标签都清楚。
Nano Banana 2.1(左)和 Nano Banana Pro(右),通过 OmniaKey API,改图,4:5,2K,2026 年 11 月 2 日制作。

设置:改图,4:5,2K,精华瓶照片。Nano Banana 2.1 35.8 秒,Pro 54.2 秒。

2.1 让水盖住了标签下部,"30 ml" 也糊了,背景比 "bright citrus-orange" 暗。Pro 的标签文字全都清楚。

提示:水可能盖住标签时,把标签上的字写进提示词。

三次失败,以及修正它们的措辞

三次失败都出在换措辞、模型没换的时候。Google 提醒自家模型“在小脸、准确拼写和细微细节上仍可能出错”(DeepMind 的模型页),一位用户在 Google 论坛上 2025 年 9 月 30 日写道,“不管提示词怎么强调要让产品‘完全一样’,logo 都会被改掉”(论坛帖)。

水把标签弄花了

在 2.1 上,水盖住了标签下部,"30 ml" 糊了。

prompt
Create a bold advertising shot of this serum bottle: it stands in a shallow pool of clear water while a crown of water splashes up around it, frozen in mid-air, with two thin orange slices floating nearby. Bright citrus-orange gradient background, high-speed flash lighting, every droplet crisp. Keep the bottle and the dropper exactly as in the photo. The label stays dry, fully visible above the splash and faces the camera. It reads "AURELLE", "Vitamin C Serum" and "30 ml", with no other text on it.
三张 Nano Banana 2.1 的水花图:原提示词的小字糊了,点名标签文字后两次运行的标签文字都在水面上方,清楚可读。
Nano Banana 2.1,通过 OmniaKey API,改图,4:5,2K,2026 年 11 月 2 日制作。

两次运行里,标签三行都清楚(42.0 秒和 29.2 秒),背景也更亮。

鞋被镜像了

在 Pro 上三只鞋都镜像了,鞋头朝左,压印标记消失。

prompt
Using this sneaker as the base design, create a product lineup of three colorways side by side on a light gray studio background: on the left the original white with mint-green sole and laces, in the middle an all-black version with a white sole, on the right a sand-beige version with a brown sole. Same side-profile angle and same size for all three, every toe pointing right exactly as in the photo, evenly spaced, soft shadows under each. Do not mirror the shoe. Keep the shape, stitching, the embossed mark on the side of the heel and the sole pattern identical to the photo.
两张 Nano Banana Pro 的配色图:原提示词的鞋朝左,改写后的鞋头全部朝右。
Nano Banana Pro,通过 OmniaKey API,改图,16:9,2K,2026 年 11 月 2 日制作。

三只鞋头都朝右,薄荷绿后跟提环和压印标记都保住了(32.0 秒);原图的蝴蝶结鞋带变成了整齐的交叉鞋带。

白底出成了灰色

在 Pro 上背景是浅灰渐变,从 #F0EEF1 到 #FCFBFB。

prompt
Turn this phone photo into a clean e-commerce main image. Keep the bottle, the dropper and every word on the label exactly as they are. The background is solid pure white (#FFFFFF) from edge to edge, with no gradient, no vignette and no gray in the corners. The only shadow is a soft, natural contact shadow directly under the base. Even studio lighting from the front and both sides, no reflections of the kitchen in the glass. Center the bottle, straight on, filling about 85% of the frame height.
两张 Nano Banana Pro 的白底图:原提示词出的是浅灰渐变,改写后是纯白。
Nano Banana Pro,通过 OmniaKey API,改图,1:1,2K,2026 年 11 月 2 日制作。

7 个抽样点全是 #FFFFFF,之前是 #F0EEF1–#FCFBFB,标签文字也准确(31.6 秒)。

三次修正都在提示词里点名要保住的东西:标签文字、鞋头朝向、确切颜色。水花那次两次运行都成立,另外两次各跑了一次。同一论坛上也有用户在 2026 年 6 月报告过 4K 白底出现模糊方块(帖子 171932),用 4K 白底图之前先放大看一眼。

产品图选 Nano Banana 2.1 还是 Pro?

两个模型没有一边倒:8 组提示词里各赢 2 组,3 组打平,1 组各有得失。

任务我们的结果里更好的一方
白底主图Nano Banana 2.1
影棚主视觉打平
场景图打平
平铺图各有得失
跑者脚上Nano Banana Pro
广告文字打平
配色Nano Banana 2.1
水花Nano Banana Pro

Google 的标价(2026 年 11 月 2 日核对):2.1 每张 2K 图 $0.0504,Pro $0.134。Pro 在 1K 和 2K 同价,只有 4K 更贵。中位耗时:2.1 41.9 秒,Pro 46.0 秒。

先从 Nano Banana 2.1 开始:它更便宜,在我们的测试里赢了白底和配色两项。某张图失败时,先改措辞再换模型,三次失败都是这样修好的。

想看产品图之外更全面的对比,可以读 Nano Banana 2.1 vs Pro。OmniaKey 的当前价格见 Nano Banana 2.1 和 Nano Banana Pro 模型页。

用 API 跑这些提示词

不想写代码,可以用 AI 图片生成器,把照片当参考图传上去。走 API 的话,OmniaKey media API 文档 里的流程是创建、轮询、下载:POST /v1/media/tasks 返回任务 id,之后用 GET /v1/media/tasks/{id} 查进度直到完成。请求体带 model、type、operation、input 和 parameters,请求头需要 Idempotency-Key。

python
"""Edit one product photo with Nano Banana through the OmniaKey media API.

Usage:
    export OMNIAKEY_API_KEY="your-omniakey-api-key"
    python3 nb_product_edit.py photo.jpg prompt.txt product.jpg

The photo is a JPEG under 700 KB, sent inline as Base64.
"""
import base64
import json
import os
import sys
import time
import urllib.error
import urllib.request
import uuid

API = "https://api.omniakey.com/v1/media/tasks"
MODEL = "gemini-nano-banana-2.1"  # or "gemini-3-pro-image" for Nano Banana Pro
HEADERS = {
    "Authorization": "Bearer " + os.environ["OMNIAKEY_API_KEY"],
    "Content-Type": "application/json",
    "User-Agent": "nano-banana-product-example/1.0",
}
POLL_SECONDS = 5
GIVE_UP_AFTER = 5 * 60  # most of our edits finished in under 90 seconds


def call(method, url, body=None, extra_headers=None):
    data = json.dumps(body).encode() if body is not None else None
    req = urllib.request.Request(url, data=data, method=method, headers={**HEADERS, **(extra_headers or {})})
    for attempt in range(3):
        try:
            with urllib.request.urlopen(req, timeout=60) as resp:
                return json.load(resp)
        except urllib.error.HTTPError as err:
            sys.exit(f"HTTP {err.code}: {err.read().decode(errors='replace')}")
        except (urllib.error.URLError, TimeoutError, ConnectionError) as err:
            if attempt == 2:
                raise
            print("network error, retrying:", err)  # a retried POST keeps its Idempotency-Key
            time.sleep(5)


def main(photo, prompt_file, out_path):
    raw = open(photo, "rb").read()
    if len(raw) > 700_000:  # Base64 adds a third, and the whole request must stay under 1 MiB
        sys.exit("The photo is over 700 KB. Resize it first, for example to 1024 px on the long side.")
    task = call("POST", API, {
        "model": MODEL,
        "type": "image",
        "operation": "edit",
        "input": {
            "prompt": open(prompt_file, encoding="utf-8").read().strip(),
            "image": {"data": base64.b64encode(raw).decode(), "mime_type": "image/jpeg"},
        },
        "parameters": {"aspect_ratio": "1:1", "image_size": "2K"},
    }, {"Idempotency-Key": str(uuid.uuid4())})
    print("task", task["id"], task["status"])

    start = time.time()
    while task["status"] in ("queued", "processing"):
        if time.time() - start > GIVE_UP_AFTER:
            sys.exit(f"Still {task['status']} after 5 minutes. Do not submit it again; "
                     f"check it later with GET {API}/{task['id']}")
        time.sleep(POLL_SECONDS)
        task = call("GET", f"{API}/{task['id']}")
    print(task["status"], "after", round(time.time() - start), "s")
    if task["status"] != "succeeded":
        sys.exit(json.dumps(task.get("error") or task))

    # The signed download URL is short-lived, so save the file right away.
    asset = task["assets"][0]
    req = urllib.request.Request(asset["url"], headers={"User-Agent": HEADERS["User-Agent"]})
    with urllib.request.urlopen(req, timeout=120) as resp, open(out_path, "wb") as f:
        f.write(resp.read())
    print("saved", out_path, asset.get("mime_type"))


if __name__ == "__main__":
    main(*sys.argv[1:4])
bash
export OMNIAKEY_API_KEY="your-omniakey-api-key"
python3 nb_product_edit.py photo.jpg prompt.txt product.jpg
text
task task_UdWluqJc0prstORG3z2PpK51OhMrW3Oc queued
succeeded after 25 s
saved data/t1-check.jpg image/jpeg
  • 一次运行,2.1 上的白底提示词:输入一张 158,554 字节、1024 px 的 JPEG,输出一张 739,044 字节的 2048×2048 JPEG。
  • 整个请求连同 Base64 之后的照片要控制在 1 MiB 以内,所以脚本在 700 KB 处就停下。
  • 换任务时改 aspect_ratio 和 MODEL:我们用了 1:1、4:5、3:2 和 16:9。Google 的 Nano Banana 2.1 模型页 列了 4:1 和 8:1 的横幅比例,Pro 的 10 种比例里这两个都没有。
  • Google 的模型一般返回 JPEG,真实格式看 assets[].mime_type。
  • 这个脚本跑了一次;其他改图用的是同一个 API 上的批量工具。

国内怎么用

OmniaKey 支持人民币直充(支付宝、微信支付),一个 key 就能调用多家模型,包括 Nano Banana 2.1 和 Nano Banana Pro,不用自己再去申请 Google 的 API 账号。同一段代码改一下 MODEL,就能在两个模型之间切换。

常见问题

Nano Banana 能保住我的 logo 和标签文字吗?

大多数时候能。14 张带标签的图里 13 张每个字都对,漏掉的那张点名文字后就修好了。Google 的改图建议是把 logo 的细节写得很具体,和改图要求放在一起,它列出的限制里也提到拼写和细微细节。做法是把标签文字写进提示词,每张图按原尺寸检查。

Nano Banana 产品图有水印吗?

API 出的每张图都带不可见的 SynthID 标记,所以看不到水印。Google 在 2025 年 11 月的 Pro 发布文章里说,Gemini 应用里免费用户和 Google AI Pro 用户生成的图保留可见的 Gemini 星标,AI Ultra 订阅用户和 Google AI Studio 里的图会去掉(发布文章)。

这些图能用在自家店铺吗?

Google 的 Gemini API 条款说它不对生成的图片主张所有权,但可能给其他人生成同样或相似的内容,怎么使用由你负责。它的禁止使用政策禁止声称图片完全由人制作来误导他人,也禁止未经法定同意使用个人数据或生物特征。每张图还要和真实产品对一遍:我们的测试里鞋被镜像过,咖啡滤纸也多出一张。

一次能用几张参考图?

Google 允许一次请求最多 14 张参考图,按模型分配:2.1 是 10 张物体加 4 张人物,Pro 是 6 张物体、5 张人物加 3 张风格参考。OmniaKey 把整个请求限制在 1 MiB 以内,Base64 后的图片也算在内,所以多张参考图每张都要小。

Nano Banana 2 还能用吗?

目前还能。Google 在 2026 年 10 月 6 日把 Nano Banana 2(gemini-3.1-flash-image)标为弃用,没有给下线日期,并建议迁移到 Nano Banana 2.1(更新日志)。它的标价还在 Google 价格页上(2026 年 11 月 2 日核对)。

参考来源

OmniaKey 自己的文档,2026 年 11 月 2 日核对:图片 API 和 media API 概览。

文中提到的模型

Nano BananaNano Banana 2.1Nano Banana Pro产品摄影AI 图片提示词指南

相关文章

最新文章

热门指南