thinkhard.SI

Prompt repository Image & video

Edit a product photo: new background, product unchanged

You have a real photo of a product and need it on a clean or styled background for a listing or a slide, without the product itself being altered.

Registry no.
MED-004
Collection
Image & video
Laid out for
Image model, plain language
Score
10 out of 10
Blanks to fill
5
Added

Image & videoImage, plain

The prompt

Score 10 of 10, Excellent

Use it when You have a real photo of a product and need it on a clean or styled background for a listing or a slide, without the product itself being altered.

  • {{product}}
  • {{use}}
  • {{new_background}}
  • {{light_direction}}
  • {{aspect_ratio}}
Full prompt and why it works
Prompt
Edit the attached photo of {{product}} so that it can be used as {{use}}. Change only the background: replace it with {{new_background}}.

Keep the product exactly as it is in the original photo: the same shape, proportions, color, materials, labels, text and logo, the same angle and the same position in the frame. Use the original photo as the reference for everything about the product. Do not redraw, retouch, sharpen or restyle it, and do not add or remove any part of it.

Match the light on the new background to the light already on the product, which comes from {{light_direction}}, so the result looks like a single photograph. Add a soft, natural contact shadow where the product meets the surface, falling in the same direction as its existing shadows. The background should be in slightly softer focus than the product.

Output the image at an aspect ratio of {{aspect_ratio}}, with the product centered and taking up no more than two thirds of the frame height. If the new aspect ratio needs more background than the original shows, extend only the background. If it is unclear where the product's edge ends, for example around glass or fine detail, keep the original pixels there rather than redrawing them.

Leave out any added text, props, hands, extra reflections and watermarks.

Variables

{{product}}
What the product is, for example "a glass bottle of olive oil with a paper label".
{{use}}
Where the image will be used, for example "the main image of a marketplace listing" or "a sales slide".
{{new_background}}
The new background, described concretely, for example "a plain warm-white studio backdrop" or "a pale marble counter by a window".
{{light_direction}}
Where the light on the product comes from in your photo, for example "the upper left".
{{aspect_ratio}}
The shape you need, for example 1:1 for a listing or 16:9 for a slide. Set the same ratio in the tool's size setting if it has one.

Why it works

  • What to avoid. It names the one thing to change and lists everything about the product that must stay the same, which is how Google's and OpenAI's guidance says to write an edit.
  • Background facts. Matching the new background to the light already on the product, with a contact shadow, is what makes the edit read as one photograph rather than a cutout.
  • If unsure. Unclear edges such as glass or fine detail keep the original pixels, so the model does not redraw the product where it cannot see it clearly.

How to use it

  1. Press Fill in variables and type your details into each blank. What you type stays in this browser.
  2. Copy the filled prompt into the AI tool you already use, such as ChatGPT, Claude or Gemini, or open it in the Grader or the Prompt Tester here.
  3. Before you rely on it, try it on three or four real examples. The Prompt Tester runs them all at once and shows which ones go wrong.