Distinguish the selection from the mask
Adobe Photoshop documents the Selection Brush as a way to define the area for Generative Fill. The selection tells the generative operation where to work. Review that region before generating, especially when an important object sits near its boundary.
Adobe Photoshop layer masks hide or reveal parts of an existing layer. They can be created from a selection and later refined. Use a mask when the issue is which existing layer content should remain visible, rather than what new content should be generated.
For a local generative replacement
- Open the image and retain the source for comparison.
- Define the intended replacement region with the Selection Brush. Keep the task focused on one visible problem.
- Choose Generative Fill, pick an available model, and enter a description or leave the prompt blank for context-based generation.
- Generate and choose a variation from Properties. Our recommendation is to compare it with the retained source. If the wrong region changed, revise the selection before revising a long prompt.
For a visibility correction
With the intended layer selected, use Layer > Layer Mask > Reveal Selection to show the selected area, or Hide Selection to conceal it. Inspect the resulting composite against the background you will actually use. The Photoshop mask documentation also describes creating masks from transparency and refining them with painting.
Choose the next correction deliberately
Our recommendation is to ask one question after each trial: is the problem the selected region, the generated replacement, or the visibility of an existing layer? A region problem calls for a revised selection. A replacement problem calls for another generation decision. A visibility problem calls for mask refinement. This keeps the process understandable without claiming that one brush control can repair every boundary or preserve every source detail.
Continue with a related guide
- Adobe Photoshop Generative Fill: Remove a Distracting Object
- Adobe Photoshop: Preserve a Subject While Editing the Surrounding Image
Sources and review scope
Official documentation checked October 15, 2026. This guide does not report a hands-on product test or benchmark.
- Use Generative Fill in Photoshop on desktop | Photoshop
- Add and edit layer masks in Photoshop | 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.
