提示词指南

AI 产品图提示词:10 个示例

10 条产品图提示词,覆盖白底图、场景图、平铺图、微距和尺寸对比,另外讲怎样用参考图让真实商品保持原样。

迷你摄影棚里,基座上的一瓶香水,周围有柔光箱和青柠色背景
文档目录

一条好用的产品图提示词要写清五件事:产品、产品放在什么台面上、光线、镜头和背景。本文先讲这套结构,再给出 10 条可以直接粘贴到生图模型里的提示词,最后讲电商卖家绕不开的一步:把真实商品的照片作为参考图传给模型,让模型只换场景,不动商品。

示例用到 DreamTo 上的三个模型:Nano Banana Pro、GPT Image 2.6 Flare 和 Seedream 5.5。三个模型都能根据文字提示词生图,也都支持参考图。示例请求按 API 文档编写,默认 API Key 放在环境变量 DREAMTO_API_KEY 里,工作目录下有一张 product.png。

产品图提示词的五个组成部分#

按摄影师布景的顺序来写提示词。每写清一部分,模型就少猜一样东西。

部分要写什么示例写法
产品物体、材质、颜色、一个能认出它的细节“matte sage-green ceramic pour-over dripper with a wooden handle”
台面放在什么上面,以及表面质感“pale limestone slab”、“brushed oak counter”
光线方向、软硬、时间段“soft window light from the left, gentle shadow to the right”
镜头焦距、光圈、距离“85 mm lens, shallow depth of field”、“100 mm macro”
背景后面是什么、离多远“seamless white sweep”、“blurred kitchen shelf”

有两个习惯比任何关键词都管用。第一,按产品的样子描述,不要按卖点描述:“brushed steel bottle with a black cap”给了模型具体可画的东西,“premium eco bottle”没有。第二,交代图的用途。GPT Image 2.6 Flare 模型页上的使用建议是:先说明图会用在哪里、宽高比是多少,再描述主体;如果之后要在图上排文案,还要指出留白区域。

同一份建议还把“硬性要求”和“偏好”分开:产品形状、必须出现的文字、物品数量是验收标准;光线和质感是可以自由发挥的部分。检查时先核对硬性要求,别让强烈的风格掩盖了缺失的细节。

十条常见场景的提示词#

示例里的产品是一只虚构的陶瓷咖啡滤杯,有两条换成了不锈钢水瓶。把产品换成你自己的,其余照抄即可。每条提示词后面用一句话说明为什么这样写。

白底图和简洁的商品目录图#

text
A matte sage-green ceramic pour-over coffee dripper with a pale wooden handle, centered on a seamless pure white background. Shot straight on at eye level with an 85 mm lens, even softbox light from both sides, a faint soft contact shadow under the base, no reflections, no props. Square frame, product filling about 70 percent of the height.

写明产品占画面高度的百分比,四周留多少白就定下来了;底部的接触阴影让产品不显得悬空。

text
A matte sage-green ceramic pour-over coffee dripper with a pale wooden handle at a three-quarter angle, seen from slightly above, on a pure white surface fading into a white background. Large diffused light from the upper left, a soft shadow falling right, crisp edges, true-to-life glaze color. 4:5 portrait frame.

从上方看的四分之三视角,能同时露出把手和滤杯内部。产品描述要重复写一遍,因为每次请求都是独立的,模型看不到上一次的内容。

场景图#

text
A ceramic pour-over coffee dripper resting on a brushed oak kitchen counter next to a glass carafe, steam rising from freshly brewed coffee. Early morning window light from the left, a blurred shelf of mugs and a plant behind. 50 mm lens, shallow depth of field, focus on the dripper, warm neutral color palette. 3:2 landscape frame.

只用一个光源并写明方向,画面就统一;虚化的架子提供了环境信息,又不会和产品抢视线。

text
A ceramic coffee dripper sitting on a mug in a bright apartment kitchen, a hand pouring water into it from a gooseneck kettle. Natural daylight, cream-colored tiles in the background, slight motion in the water stream, no face visible. 35 mm lens, candid documentary feel, 4:5 portrait frame.

画面里不出现人脸,产品就始终是主体,也少了一样需要检查的东西。

平铺图#

text
Top-down flat lay on a pale grey linen cloth: a ceramic coffee dripper, a paper filter, a small brass scoop of ground coffee, two whole beans and a folded linen napkin, arranged on a loose grid with even spacing. Soft overhead daylight, no harsh shadows, muted palette. 1:1 square frame, plenty of empty cloth near the edges for cropping.

把每件物品和排列规则(“loose grid, even spacing”)都列出来,模型就不太会自作主张多加东西。

text
Overhead shot of a ceramic coffee dripper and a mug on a dark slate surface, with scattered coffee beans forming a diagonal line from the lower left to the upper right. Low-key lighting from the top left, one soft highlight on the glaze. 16:9 landscape frame, empty dark space on the right third for a headline.

写明右侧三分之一留空,这张图就能直接当横幅背景用,前面那条留白建议在这里就派上了用场。

微距和细节图#

text
Extreme close-up of the glazed rim of a ceramic coffee dripper, where the sage-green glaze thins to bare clay at the edge. 100 mm macro lens, f/4, shallow depth of field with the rim in focus and the rest falling off. Raking light from the right to show the glaze texture and tiny speckles. 3:2 landscape frame.

掠射光能把表面质感打出来,提示词里还点明了必须清晰的那一道边缘。

text
Macro shot of a stainless steel bottle cap with a laser-engraved line pattern, droplets of water on the metal, a pale blue-grey gradient background. 100 mm macro lens, crisp focus on the engraving, soft side light. 1:1 square frame.

水珠让金属表面有了具体可反射的东西,对焦指令则保证刻纹始终是主体。

尺寸对比和使用场景图#

text
A ceramic coffee dripper standing next to a plain white coffee mug on a light wooden table, both fully in frame, so the size relation is clear. Side-on view at table height, soft daylight, neutral background. 3:2 landscape frame.

在产品旁边放一件大家熟悉的物品,就能看出产品有多大。发布前,请把画面里的比例和真实物品对一下。

text
A tall stainless steel water bottle on a desk next to a laptop, a notebook and a pair of glasses, seen from the front at desk height. Natural light from a window on the left, softly blurred office background. 35 mm lens, realistic proportions, 4:5 portrait frame.

日常物品相当于一把尺子;镜头正对产品、与桌面等高,可以避免角度太陡带来的变形。

画幅要写进请求参数,不要只写在提示词里#

每条提示词的末尾都带有画幅,比如“3:2 landscape frame”。Nano Banana Pro 和 GPT Image 2.6 也支持用参数指定画幅:

画幅Nano Banana Pro aspectRatioGPT Image 2.6 size
正方形1:11024x1024
4:5 竖版4:51024x1280
3:2 横版3:21536x1024
16:9 横版16:91536x864

不传 aspectRatio 时,Nano Banana Pro 的文生图默认用 1:1,编辑图片则沿用输入图的比例。Seedream 5.5 的文档推荐选一个分辨率档位(1K、1.5K 或 2K),再在提示词里描述比例:模型自己决定具体尺寸,并写在 data[].size 里返回。也可以直接传 WIDTHxHEIGHT 指定尺寸。

保住真实商品:把它作为参考图传进去#

提示词只能描述产品,参考图则是直接让模型看到产品。如果你卖的是某一款贴着特定标签的水瓶,上面那些提示词只能生成一只看起来说得过去的水瓶,而不是你的那一只。所以要传一张干净的商品实拍图,并告诉模型保留商品、只改场景。

这时提示词要写明哪些保留、哪些修改:

text
Keep the product from the reference image exactly as it is: its shape, proportions, color, label text and logo. Place it on a brushed oak kitchen counter in early morning window light from the left, with a blurred shelf behind. Do not redraw, restyle or recolor the product. 3:2 landscape frame.

Seedream 5.5 模型页上的使用建议也是这个思路:先指出要修改的区域和要保留的元素,再分别检查主体、背景、文字和光线。

三个模型处理参考图的方式如下:

Nano Banana ProGPT Image 2.6 FlareSeedream 5.5
接口POST /v1beta/models/gemini-3-pro-image:generateContentPOST /v1/images/editsPOST /api/v3/images/generations
参考图数量最多 14 张(最多 6 张物体图、5 张人物图、3 张风格参考图)最多 16 张,每个文件一个 image[] 字段image 里最多 10 张
传图方式inlineData 里放 Base64,或在 fileData.fileUri 里放公开的 https 链接multipart/form-data 文件(png、jpeg 或 webp,每张不超过 50 MB);暂不支持 JSON 的 images 写法公开图片链接,或 data:image/png;base64,... 字符串,每张不超过 30 MB
输出尺寸imageSize 为 1K(默认)/ 2K / 4K,支持 10 种宽高比size:auto(默认)或 WIDTHxHEIGHT,最长边最大 3840size:1K / 1.5K / 2K(默认)或 WIDTHxHEIGHT
透明背景文档中未列出background: transparent,配合 png 或 webpbackground: transparent,配合 png

Nano Banana Pro:传入物体参考图#

Nano Banana Pro 的参考图以 inlineData part 的形式和文本 part 并列传入。下面这段脚本读取本地的商品照片,请求一张 2K、3:2 的场景图,并把结果保存为本地文件。

python
import base64import osimport requestsURL = "https://api.dreamto.ai/v1beta/models/gemini-3-pro-image:generateContent"HEADERS = {"x-goog-api-key": os.environ["DREAMTO_API_KEY"]}with open("product.png", "rb") as f:    product_b64 = base64.b64encode(f.read()).decode()prompt = (    "Keep the product from the reference image exactly as it is: shape, color, "    "label text and logo. Place it on a brushed oak kitchen counter in early "    "morning window light from the left, blurred shelf behind, 50 mm lens, "    "shallow depth of field. Do not redraw or recolor the product.")payload = {    "contents": [        {            "role": "user",            "parts": [                {"inlineData": {"mimeType": "image/png", "data": product_b64}},                {"text": prompt},            ],        }    ],    "generationConfig": {        "responseModalities": ["IMAGE"],        "imageConfig": {"aspectRatio": "3:2", "imageSize": "2K"},    },}response = requests.post(URL, headers=HEADERS, json=payload, timeout=300).json()for part in response["candidates"][0]["content"]["parts"]:    if "inlineData" in part:        with open("lifestyle.png", "wb") as f:            f.write(base64.b64decode(part["inlineData"]["data"]))

这个模型会先思考再出图,文档说明思考功能始终开启,无法关闭。Gemini 官方接口的三个参数目前还不支持,传了会返回 400,不扣费:systemInstruction(指令请写进提示词)、safetySettings 和 tools(Google 搜索 grounding)。

传多张参考图时,要在提示词里说明每张图的用途,比如“第一张是产品,第二张是必须保持不变的 logo,第三张是光线参考”。模型页上的产品样机用例就是这么做的:一张产品照、一个已定稿的 logo 和一张构图草图。参考图和编辑的更多用法见 Nano Banana Pro API 使用指南。

GPT Image 2.6 Flare:用编辑请求传参考图#

GPT Image 2.6 的参考图要以 multipart 文件的形式发到 /v1/images/edits;传多张就重复写 image[]。这个模型有两个规格,文档说 Sunburst 适合精细的视觉创作,Flare 主打快速迭代,正好用来给同一件产品多试几个场景。把 model 设为 gpt-image-2.6-flare。

bash
curl -X POST "https://api.dreamto.ai/v1/images/edits" \  -H "Authorization: Bearer $DREAMTO_API_KEY" \  -F "model=gpt-image-2.6-flare" \  -F "prompt=Keep the product from the first image exactly as it is. Place it on a pale limestone slab in soft window light, blurred kitchen shelf behind, 85 mm lens. Do not change the label." \  -F "image[][email protected]" \  -F "size=1536x1024" \  -F "quality=medium"

响应里每张图都以 Base64 放在 data[].b64_json 中。size 可以传 auto,也可以传 WIDTHxHEIGHT(宽和高都必须是 16 的倍数),所以 1536x1024 对应 3:2 的画幅。quality 方面,模型目录给 Flare 列出的是 auto、low、medium 和 high;文档里还有 xhigh 和 max 两档,模型目录把它们列在 Sunburst 上,这两档更耗时,输出 token 也更多。文档说 low 是最快最便宜的档位,适合出草稿。其他参数见 GPT Image 2.6 API 接入指南。

Seedream 5.5:输出透明抠图#

如果要交付的是抠图,就用 Seedream 5.5:它返回带 alpha 通道的 PNG,文档说参考图本身不需要带 alpha 通道。把 background 设为 transparent,output_format 设为 png;如果用 jpeg 搭配透明背景,会返回 400。

python
import base64import osimport requestsURL = "https://api.dreamto.ai/api/v3/images/generations"HEADERS = {"Authorization": f"Bearer {os.environ['DREAMTO_API_KEY']}"}with open("product.png", "rb") as f:    data_uri = "data:image/png;base64," + base64.b64encode(f.read()).decode()payload = {    "model": "seedream-5.5",    "prompt": (        "Keep the product from the reference image unchanged. Output the product "        "alone with a soft contact shadow, isolated on a transparent background."    ),    "image": data_uri,    "size": "2K",    "output_format": "png",    "background": "transparent",    "response_format": "url",    "watermark": False,}result = requests.post(URL, headers=HEADERS, json=payload, timeout=600).json()for image in result["data"]:    print(image["url"], image["size"])

返回的链接有效期是 24 小时,拿到后请及时下载文件。watermark 默认为 true,会在右下角加上“AI 生成”标记,脚本里把它设成了 false。这个请求是同步的,直接返回图片,不用轮询;文档说明生成一张图通常要 10 到 60 秒。

响应里的 data[].background 也要看一下:它反映的是图片实际的透明情况,可能和你请求的值不一样。然后照 Seedream 5.5 使用建议里说的,把素材分别放到浅色和深色背景上预览,检查边缘、阴影和细小的形状。其他参数见 Seedream 5.5 API 使用指南。

让整套产品图保持一致的四条规则#

  • 固定参考图。同一套图里的每次请求都用同一张干净的商品照,在纯色背景下拍摄,商品完整入镜。
  • 固定光线。各条提示词复用同一句光线描述(“soft window light from the left”),阴影方向才会一致。
  • 每轮只改一处。这一次请求改台面,下一次再改背景,出了问题就知道是哪次修改引起的。
  • 检查文字。按 Seedream 5.5 使用建议所说,把标签拼写和 logo 与原始设计稿对一遍。三个模型的使用建议都要求按最终展示的尺寸来检查结果。

AI 生图 API 怎么选 把这几个模型与 DreamTo 上的其他生图模型做了对比,Nano Banana 提示词指南则进一步讲了图片编辑和图中文字。本文的每条提示词都可以不写代码,直接在 Nano Banana Pro、GPT Image 2.6 Flare 和 Seedream 5.5 的 Playground 里试。

价格与请求限制#

以下是截至 2026 年 12 月的 DreamTo 价格,单位为美元,已算上 /prices 页面当前显示的优惠。价格会变动,请以该页面的最新数字为准。

模型计费单位价格
Nano Banana Pro每次请求1K 和 2K 为 0.03,4K 为 0.05
GPT Image 2.6 Flare每百万 token文本输入 2,图片输入 3.2,图片输出 12
Seedream 5.5每张图输出图 1.5K 及以下为 0.016,2K 为 0.028;输入图 0.0064

三个模型对无效请求和生成失败都不收费。Seedream 5.5 把每张参考图都算作一张输入图,所以上面那个用一张参考图做的 2K 抠图,费用是 0.028 + 0.0064 = 0.0344。GPT Image 2.6 按 token 计费,一张图的费用取决于具体请求。其他生图模型见模型列表。

另外还有两条限制:Nano Banana Pro 不支持通过 Files API 上传的参考图;Seedream 5.5 每次请求只返回一张图,不支持组图和流式输出(stream: true 会返回 400)。API Key 的说明见鉴权页面,所有参数见 Nano Banana Pro、GPT Image 2.6 和 Seedream 5.5 的文档页。

FAQ#

产品图提示词应该包含哪些内容?#

五样:产品(写上材质和颜色)、它放在什么台面上、光线的方向和软硬、镜头,以及背景。再补上宽高比和图片的用途。没写到的部分,模型会自己猜。

用 AI 生成产品图时,怎样让真实商品保持原样?#

把一张干净的商品照作为参考图传进去,并在提示词里写明哪些保留、哪些修改。Nano Banana Pro 最多支持 14 张参考图,GPT Image 2.6 最多 16 张,Seedream 5.5 最多 10 张。之后按发布时的尺寸,把 logo 和标签文字与原图对一遍。

产品抠图能输出透明背景吗?#

可以,用 Seedream 5.5 或 GPT Image 2.6。Seedream 5.5 需要设置 background: transparent 和 output_format: png;GPT Image 2.6 需要 background: transparent,并输出 png 或 webp。Nano Banana Pro 的文档中没有列出透明背景选项。

做产品图该选哪个生图模型?#

要看具体任务。文档说 Nano Banana Pro 适合复杂构图和精确的图中文字,最高支持 4K。GPT Image 2.6 Flare 是主打快速迭代的规格。Seedream 5.5 原生支持透明输出,多轮编辑也稳定。拿同一条提示词和参考图在三个模型上各跑一遍,用你自己的产品比较结果。

生成一张产品图要花多少钱?#

截至 2026 年 12 月,以美元计:Nano Banana Pro 每次请求 1K 和 2K 为 0.03,4K 为 0.05。Seedream 5.5 每张输出图 1.5K 及以下为 0.016,2K 为 0.028,另加每张参考图 0.0064。GPT Image 2.6 Flare 按每百万 token 计费,所以费用随请求而变。最新价格见价格页。

  • Prompts
  • Product Photography
  • Image API