EGAKU AIBeta
创作简单工具画廊定价博客更新日志Discord
首页 / 专栏 / 用 AI 把商品照片放进新场景(实例·提示词·没做好的地方)
how-to6 分钟阅读·2026-11-18

用 AI 把商品照片放进新场景(实例·提示词·没做好的地方)

用 EGAKU 的「参考图生成」,保留商品的标签和外形,把它放到大理石台面或海边岩石上。附上实际使用的提示词和设置,以及三个没做好的地方。

E
EGAKU AI Team
product-photoreference-imagee-commercebackgroundinteriorsmall-business
用你自己的商品照片试试「参考图生成」→

能做什么,需要什么

参考图生成用 1~4 张图片和一段指令生成一张新图。指令中按添加顺序用 <image-1>、<image-2> … 指代图片。

需要付费方案(Starter 及以上)。每张 10 积分,每张参考图再加 10 积分:1 张参考 20 积分,2 张 30,4 张 50。被拦截或生成失败时积分会退回。

本文中我们制作了一个虚构的精华液瓶(品牌名 AURA 也是虚构的)和一个虚构的客厅,用作参考图。如果是你自己的商品,请用你自己的照片。

参考:贴着奶油色 AURA 标签的磨砂玻璃精华液瓶
<image-1>:参考瓶

例 1:把同一个瓶子放进两个场景

  1. 打开参考图生成,添加瓶子照片,它会显示为 <image-1>。
  2. 粘贴下面的指令。把不能变的东西(这里是瓶形、瓶盖和标签)写出来。
  3. 选择比例(第一张方形,第二张竖版),点「生成」。

我们用英文写指令进行了测试,下面是原文。

Put the bottle from <image-1> on a white marble bathroom counter next to a folded linen towel, soft morning window light from the left. Keep the bottle shape, the black dropper cap and the AURA label exactly as in <image-1>.
Put the bottle from <image-1> on a dark wet rock by the sea at sunset, warm backlight, shallow depth of field. Keep the bottle shape, the black dropper cap and the AURA label exactly as in <image-1>.
方形·20 积分:大理石台面
方形·20 积分:大理石台面
竖版·20 积分:夕阳下的岩石
竖版·20 积分:夕阳下的岩石

两张图中,瓶形、黑色滴管瓶盖和 AURA 字样都保留了下来。每张大约 20~30 秒。每次都从不同的随机数开始,所以同样的指令结果也会略有不同。

没做好 1:强光改变了标签颜色

看夕阳那张的标签:纸从浅奶油色变成了暖米色,因为夕阳的光也照到了标签上。用在商品页上,看起来像另一个标签。

有效的做法:再加一句写明颜色的话。

Put the bottle from <image-1> on a dark wet rock by the sea at sunset, warm backlight, shallow depth of field. Keep the bottle shape, the black dropper cap and the AURA label exactly as in <image-1>. The label paper stays the same pale cream as in <image-1>, not tinted orange by the sunset.
之前:标签变成米色
之前:标签变成米色
加了一句之后:标签保持奶油色
加了一句之后:标签保持奶油色

标签保持了奶油色。副作用是岩石和海面也变了,因为指令变了,画面也会变。想保留喜欢的场景的话,颜色这句最好一开始就写进去,而不是事后再补。

例 2 和没做好 2:只换沙发,墙也变了

这次以房间照片为参考,只换沙发的面料。

Change only the sofa upholstery in <image-1> to deep green velvet, including the cushions. Keep the room, the coffee table, the vase, the floor, the light and the camera angle exactly as in <image-1>.
<image-1>:参考房间
<image-1>:参考房间
横版·20 积分:沙发变成丝绒,但墙变了
横版·20 积分:沙发变成丝绒,但墙变了

沙发变成了绿色丝绒。可是白色的素墙变成了斑驳的灰色灰泥质感,整张图的对比度也变强了。而指令里写了「房间保持不变」。

我们加了一句关于墙的话,重新生成:

Change only the sofa upholstery in <image-1> to deep green velvet, including the cushions. Keep the room, the coffee table, the vase, the floor, the light and the camera angle exactly as in <image-1>. The wall stays smooth plain white paint with no texture.
加了墙的说明后墙的纹理仍在
重试:墙还是变了

没有修好。在我们的测试中,这个工具会重画整张图,所以改房间里的一样东西,其他部分也可能跟着变。把商品放进新场景(例 1)比只修改照片的一部分要合适得多。如果只想改一个区域,用涂抹来指定区域的工具,比如查找替换,是另一个办法(这张图我们没有测试)。

例 3 和没做好 3:两张图合成后没有阴影

用两张参考图,可以把商品放进指定的房间。先加瓶子,再加房间,瓶子就是 <image-1>,房间是 <image-2>。

Place the bottle from <image-1> on the round wooden coffee table in <image-2>, next to the vase, at a natural size for a 30 ml bottle. Keep the room from <image-2> and the bottle and AURA label from <image-1> unchanged.
把瓶子放在房间的茶几上·30 积分
横版·2 张参考·30 积分

瓶子以合理的大小放在了茶几上,标签也能看清。问题有两个:瓶子下面几乎没有阴影,看起来像贴上去的;墙和例 2 一样变了。

总结:设置和指令写法

  • 适合:保留商品外形和标签,放进新场景。
  • 不太适合:只改房间照片的一部分,其他部分也可能变。
  • 要保留的东西一定写出来:外形、瓶盖、标签、颜色。用 <image-1> 说明是哪张图。
  • 容易被光改变的颜色(白色、奶油色、品牌色)在第一次的指令里就写明。
  • 比例:方形 1024×1024,竖版 832×1216,横版 1216×832。
  • 积分:1 张参考 20,2 张 30,4 张 50。Starter 方案及以上。

可以用你自己的商品照片,在参考图生成里试试。

亲手试一试

Starter 及以上方案可用。1 张参考图 20 积分。

打开参考图生成

更多文章

how-to

用 AI 做传单,怎样才没有 AI 味

5 分钟阅读 · 2026-11-15

how-to

AI 角色一致性生成:用 Character Set 让同一个角色换姿势、换服装、换场景

7 分钟阅读 · 2026-11-05

how-to

用AI移除和替换背景

3 分钟阅读 · 2026-04-28

how-to

中文、韩文字都正确的 AI 传单和招牌

5 分钟阅读 · 2026-11-20