AI 商品圖提示詞怎麼寫:10 個可直接套用的範例
整理白底圖、生活場景、平拍、微距與大小對照共 10 個商品圖提示詞,並說明如何用參考圖保留真實商品,只改場景不動商品。

文件目錄
好用的商品圖提示詞會講清楚五件事:商品、擺放的檯面、光線、鏡頭和背景。這篇文章會說明這套結構、提供十個可直接貼進圖像模型的提示詞,也會談到賣家不能略過的一步:把真實商品的照片當成參考圖送進去,讓模型只更換場景,不去動商品本身。
範例以 DreamTo 上的三個模型為對象:Nano Banana Pro、GPT Image 2.6 Flare 和 Seedream 5.5。三者都能從文字提示詞生成圖片,也都支援參考圖。範例請求照 API 文件的寫法,並假設你的金鑰放在 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" |
有兩個習慣比任何關鍵字都重要。第一,描述商品要寫它看起來的樣子,而不是行銷話術:「黑色瓶蓋的髮絲紋不鏽鋼水瓶」讓模型有東西可畫,「頂級環保水瓶」就沒有。第二,要說明這張圖的用途。GPT Image 2.6 Flare 模型頁的使用建議提到,要先交代圖片會用在哪裡、比例多少,再描述主體;如果之後有人要在圖上放文案,也要指出留白區在哪裡。
同一份使用建議還把「必要條件」和「偏好」分開來看。商品外形、必須出現的文字、物品數量屬於驗收標準;光線與質感則是可以自由發揮的部分。請先檢查必要條件,免得強烈的風格掩蓋了漏掉的細節。
十個常見拍法的提示詞#
範例商品是一個虛構的陶瓷咖啡濾杯,其中兩個提示詞改用不鏽鋼水瓶。請換成你自己的商品,其餘保持不變。每個提示詞後面的那句話,說明了它為什麼這樣寫。
白底圖與乾淨的型錄照#
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.商品佔畫面的百分比決定四周要留多少空白,底部的接觸陰影則讓商品不會像是飄在半空中。
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.從斜上方看的四分之三角度,能同時拍到把手和濾杯的錐形內側。商品描述刻意重複寫一次,因為每次請求都是獨立的,模型看不到上一次的內容。
生活場景照#
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.只用一個方向明確的光源,場景才會協調;失焦的層架交代了情境,又不會搶走商品的風采。
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.畫面裡沒有人臉,主角就還是商品,檢查時也少一樣要看的東西。
平拍(Flat Lay)#
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.把每件物品和排列規則(「鬆散的網格、等距」)都列出來,模型就比較沒有空間自行加料。
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.點明哪三分之一要留白,這張圖就能直接當橫幅背景,前面提到的留白區建議在這裡就派上用場了。
微距與細節#
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.低角度的側光(raking light)能凸顯表面質感,提示詞也點明了哪一道邊緣必須銳利。
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.水珠讓金屬表面有具體的東西可以反射,對焦的指示則讓雷雕紋路始終是主角。
大小對照與使用情境#
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.在商品旁邊放一個大家熟悉的東西,大小就一目了然。發布前,請拿實物對照一下畫面中的比例。
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 aspectRatio | GPT Image 2.6 size |
|---|---|---|
| 正方形 | 1:1 | 1024x1024 |
| 4:5 直式 | 4:5 | 1024x1280 |
| 3:2 橫式 | 3:2 | 1536x1024 |
| 16:9 橫式 | 16:9 | 1536x864 |
沒有指定 aspectRatio 時,Nano Banana Pro 在文字生圖會用 1:1,編輯圖片時則沿用輸入圖的比例。Seedream 5.5 的文件建議使用解析度等級(1K、1.5K 或 2K),再在提示詞裡描述比例:模型會自己決定尺寸,並在 data[].size 回報。也可以直接指定 WIDTHxHEIGHT。
保留真實商品:把它當成參考圖傳進去#
文字提示詞只是描述商品,參考圖才是把商品給模型看。如果你賣的是某一款有特定標籤的水瓶,上面那些提示詞產生的只是「看起來合理的水瓶」,不是你的水瓶。請傳一張乾淨的實品照,並告訴模型保留商品、只改場景。
這時提示詞要寫明哪些保留、哪些要改:
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 Pro | GPT Image 2.6 Flare | Seedream 5.5 | |
|---|---|---|---|
| 端點 | POST /v1beta/models/gemini-3-pro-image:generateContent | POST /v1/images/edits | POST /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,最長邊最大 3840 | size:1K / 1.5K / 2K(預設)或 WIDTHxHEIGHT |
| 透明背景 | 文件中未列出 | background: transparent,搭配 png 或 webp | background: transparent,搭配 png |
Nano Banana Pro 搭配物件參考圖#
Nano Banana Pro 把參考圖放在 inlineData 區塊,與文字區塊並列。下面這支腳本會讀取本機的商品照片,要求產生 2K 的 3:2 生活場景圖,並把結果寫入磁碟。
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)。
使用多張參考圖時,請在提示詞裡替每一張指派用途:「第一張圖是商品,第二張是必須保持不變的標誌,第三張是光線參考」。模型頁上的商品模擬圖(product mockup)使用情境就是這樣做的:一張商品照、一個已核准的標誌,加上一張構圖草圖。想進一步了解參考圖與編輯,可以看 Nano Banana Pro API 指南。
GPT Image 2.6 Flare 搭配編輯請求#
GPT Image 2.6 的參考圖要以 multipart 檔案的形式送到 /v1/images/edits;要送多張就重複 image[]。兩種規格裡,文件說 Sunburst 用於精細的視覺工作,Flare 用於快速迭代;要替同一件商品試好幾種場景,Flare 正合用。請把 model 設為 gpt-image-2.6-flare。
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,或兩邊都是 16 的倍數的 WIDTHxHEIGHT,所以 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,文件也說明參考圖本身不需要有透明通道。請把 background 設為 transparent,output_format 設為 png;若用 jpeg 搭配透明背景,會回傳 400。
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 的使用建議就是這麼說的。三個模型的使用建議都要你用實際展示的尺寸檢查成品。
如何選擇 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 | 每 100 萬 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 金鑰的說明在驗證頁面,所有參數則列在 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 張。之後請用實際發布的尺寸,把標誌和標籤文字拿來和原稿對照。
商品去背圖可以輸出透明背景嗎?#
可以,用 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 計費,所以成本會隨請求而異。最新價格請見價格頁。


