Choose the source of the background first
Adobe Photoshop lists Generate Background and Generative Fill among its generative features. Generative Fill creates content inside a selection, using a prompt or surrounding image context. Choose this route when you want to explore a setting rather than place the subject into a specific photograph you already have.
Adobe Photoshop layer masks hide or reveal portions of a layer. They offer a different workflow: place your subject and chosen background on separate layers, then control which parts of the subject layer remain visible. A mask is useful when the background must come from a particular supplied asset.
Try the generation route
- Open the source image and keep an untouched copy for comparison.
- Use the Selection Brush to define the region you intend to replace. Inspect the selection around the subject before continuing.
- Choose Generative Fill, select an available model, and describe the replacement setting. For example: “plain warm-gray studio backdrop, soft side lighting.” This is an illustrative brief, not a tested result.
- Generate and choose a variation from the Properties panel. Our recommendation is to compare it with the retained source. Reject a variation if it changes a detail you need to preserve.
Try the compositing route
With the subject layer selected, make a selection and choose Layer > Layer Mask > Reveal Selection. Use Hide Selection instead if the selected region is the part to conceal. Refine the mask while viewing it against the actual replacement background; keep the supplied background photograph available for comparison.
Decide by the requirement
For an exploratory product scene, start with a small generated-background trial. For a required location, supplied artwork, or repeatable campaign backdrop, start with the existing asset and a mask. In either case, compare the outline, contact area, label lettering, and lighting before accepting the composite. This is an editorial decision process, not a claim that either route automatically preserves every product detail.
Continue with a related guide
- Adobe Photoshop: Preserve a Subject While Editing the Surrounding Image
- Adobe Photoshop: Protect Product Logos and Labels During Background Edits
- Adobe Firefly Guide: Image 5, AI Assistant and Workspace Beta
Sources and review scope
Official documentation checked October 15, 2026. This guide does not report a hands-on product test or benchmark.
- Generative AI features in Photoshop | Photoshop
- Use Generative Fill in Photoshop on desktop | Photoshop
- Add and edit layer masks in Photoshop | Photoshop
- Combine images in Photoshop
Improve this guide
Report a problem or suggest the next question
Submissions enter a private editorial queue. They are reviewed and deduplicated before any public update or new page is created.