跳到正文
DEV Community· Wu Maker·· 35 分鐘前AI 評分55

我如何用 AI 圖像編輯整理商品照片:實用提示詞

How I Clean Up Product Photos With AI Image Editing (Prompts That Actually Work)

AI 導讀

Wu Maker 分享以 AI 圖像編輯整理商品照片的三步流程,依次清理背景、移除多餘物件及重新打光。每次編輯只設定一項任務,明確指出要保留與更改的部分,並在 100% 縮放時檢查邊緣和陰影。作者使用 Retouchia,並建議保留原始檔、另存修改版本,勿改動商品的實際特徵。

正文

Product photos sell products, but a messy background, a stray cable or flat lighting can make a great item look cheap. Over the past few months I've settled on a simple three-pass workflow for cleaning up product shots with AI image editing. Each pass does one job, and the prompts are short and specific. Here is exactly how I do it.

Before you start: shoot for the edit

AI editing is forgiving, but it still works best when the source is decent:

  • Shoot at the highest resolution your camera allows.
  • Keep the product fully in frame with a little breathing room around it.
  • Use one main light source (a window works) so shadows are consistent.
  • Take two or three angles; you will usually pick the cleanest one.

Pass 1: Background cleanup

The goal is a clean, neutral backdrop that does not fight the product. Resist the urge to describe a dramatic scene. Say what to keep, then what to change.

Prompts that work:

Keep the product exactly as it is. Replace the background with a seamless
light grey studio backdrop. Keep the natural contact shadow under the product.
Remove the cluttered desk behind the ceramic mug. Replace it with a soft
off-white surface and a blurred, neutral wall. Do not change the mug.

Tips:

  1. Always include "keep the product exactly as it is" (or similar). It reduces the chance of logos or textures being redrawn.
  2. Ask for a contact shadow. Products with no shadow look like stickers floating on the page.
  3. Pick one background colour per catalogue and reuse the same prompt, so your listings look consistent.

Pass 2: Object removal

Dust, fingerprints, price tags, cables and reflections of the photographer are the usual suspects. Be literal about location and about what should fill the gap.

Remove the black charging cable on the right side of the table and fill the
area with the same wooden surface texture.
Remove the fingerprints and dust specks from the glass bottle. Keep the label
and the reflections of the window unchanged.
Remove the price sticker from the bottom-left of the box. Keep the printed
design continuous across that area.

Tips:

  • Remove one object per edit when the area is complicated. Stacked requests are where you get odd fills.
  • Name the texture to continue (wood, fabric, paper). The model then has a clear target.
  • Zoom to 100% afterwards and check edges, especially around text and straight lines.

Pass 3: Relighting

Flat or yellow lighting is the most common reason a good product looks dull. Describe the light the way a photographer would: direction, softness and colour temperature.

Relight the product with a large soft light from the upper left, gentle fill
from the right, and neutral white balance. Keep colours true to the original.
Remove the warm yellow cast. Make the whites in the image neutral, and add a
subtle highlight along the top edge of the product.
Brighten the shadows slightly so the product's underside is visible, but keep
a soft shadow on the surface for depth.

Tips:

  • "Keep colours true to the original" matters for e-commerce. Customers return items that look different from the photo.
  • Make small changes. Two gentle relighting passes beat one extreme one.

A quick checklist before you export

  1. Compare against the original side by side. Is the product's shape, colour and branding unchanged?
  2. Check edges and shadows at 100% zoom.
  3. Keep your original file; save edits as new versions.
  4. Export at the size your marketplace requires (many want a square image of 2000 px or more).
  5. Be honest. Cleanup is fine; do not alter the product's actual features.

Tools

You can run these prompts in most modern AI image editors. I use Retouchia, an AI image editor and generator with models like SparkPix, Nano Banana 2 and GPT Image 2.5 Flare. It works on credit packs: you get 5 trial credits a day, and paid packs are Basic at $9.99 for 350 credits and Pro at $29.99 for 1,200 credits. It handles images only, which suits this workflow fine. Any editor that accepts plain-language instructions will follow the same approach.

Wrap-up

The pattern behind all of this is simple: one job per pass, say what to keep, say what to change, and verify at full zoom. Start with background cleanup, then remove distractions, then fix the light. Once you have a prompt that works for your product type, save it and reuse it across your catalogue. Consistency across listings often matters more than perfection in any single photo.

What prompts have worked for your product photos? Share them in the comments.

來源:DEV Community · dev.to