Generative fill makes something new where you select. Select an area with the Select tool (M), press Generate in the , and say what should go there, such as “a wooden bench” or “calm sea”. Leave it empty to fill it in like its surroundings, which also removes things.
The result goes on a new layer called Generated, masked to your selection with its soft edge, so the photo itself is untouched. A bar above the photo offers Try again for another version; earlier versions are kept, and the arrows go back and forth between them. Done keeps the one showing. Hide or delete the layer to take it away.
Expand adds room around the photo and fills it. In size, make the canvas larger, turn on Fill the new room with AI, and press Expand. The new room goes on its own layer, Expanded.
Both use your own key from OpenAI (GPT Image, the default, which keeps exactly to the selection) or Google Gemini. Add it in Settings › AI help. It stays in this browser, goes only to that company, and each picture is billed to its account. Only the part of the photo around the selection is sent (the whole photo for Expand), never your file or its layers. The new part is made at about 1,000 pixels across, so a very large selection in a big photo comes out softer than the rest; Remove, which works on this device, is often better for small things.