Sub topic 1
What Generative Fill and Generative Expand do
Photoshop’s Generative Fill and Generative Expand use Adobe Firefly to create image content. Both tools analyze the visible image around an area, then generate pixels that fit the scene. They are useful for adding objects, removing distractions, replacing areas, or extending a photo beyond its original borders.
This chapter assumes you know how to navigate Photoshop, use basic selection tools, work with layers and masks, and open the Contextual Task Bar. You also need a Photoshop version with generative AI features and an Adobe account.
Prerequisites
Before starting, make sure you can:
- Open an image and identify its image layer.
- Make a selection with the Lasso, Marquee, or Object Selection tool.
- Resize the canvas or use the Crop tool.
- Inspect the Layers panel.
- Understand that a selection limits where an edit can occur.
Generative tools work best when the image has enough surrounding detail to analyze. A sharp, well-exposed photograph usually gives Firefly more useful information than a small, blurry, or heavily compressed image.
Generative Fill: creating pixels inside a selection
Generative Fill changes an area that you select. The selection tells Photoshop where to place the generated result. The surrounding image supplies context such as color, lighting, perspective, texture, and nearby objects.
A typical workflow looks like this:
- Open an image.
- Make a selection around an area to change.
- Use the Generative Fill control in the Contextual Task Bar.
- Enter a description, or leave the prompt empty when the surrounding context is enough.
- Select Generate.
- Review the generated variations.
For example, select an empty area in a landscape and enter “a small wooden footbridge.” Photoshop attempts to create a bridge that matches the scene’s perspective, lighting, and colors. The result is not copied from a specific nearby region. Firefly synthesizes new pixels based on its model and the visual context.
The selection boundary is important. A selection that is too tight may cut off shadows, reflections, or contact with nearby objects. A selection that is too large gives Photoshop more freedom, but it may also alter details that you wanted to keep.
Generative Fill can also fill a selected area without a written description. This is useful when removing an object. Photoshop examines the pixels around the selection and estimates what should appear there.
Generative Expand: creating pixels beyond the canvas
Generative Expand works when you need more image area outside the original canvas. The canvas is the complete document area that Photoshop displays and saves. With the Crop tool, you can drag an edge outward to make the canvas larger. Photoshop then generates content in the new empty space.
Use Generative Expand when you want to:
- Change a vertical image into a wider banner.
- Add space around a subject for a layout.
- Correct an awkward crop.
- Extend a background or environment.
- Reframe a photo without stretching the original pixels.
The original image remains in its existing position. The generated content occupies the added area. If you enter a prompt, describe the scene that should continue, such as “misty mountain valley with pine trees.” If you leave the prompt empty, Photoshop tries to continue the existing visual pattern.
Generative Expand depends heavily on the edges of the original image. A simple sky or wall is usually easier to extend than a crowded street, a person, or a detailed architectural edge. Expanding a canvas does not guarantee that a person, building, or object will continue accurately.
How the two tools differ
| Tool | Input area | Main purpose | Prompt example |
|---|---|---|---|
| Generative Fill | A selection inside the canvas | Add, remove, or replace content | “red ceramic vase” |
| Generative Expand | New space outside the original canvas | Continue the image into an enlarged canvas | “sunset sky with thin clouds” |
Both tools use a region that Photoshop must fill. Generative Fill gets that region from your selection. Generative Expand gets it from the new canvas area created with the Crop tool.
A useful mental model
Think of the image as evidence and the generated area as a conclusion. Firefly studies the evidence around the target area, but it does not understand the scene exactly as a person does. It predicts visually plausible content. Plausible does not always mean factually correct, anatomically accurate, or consistent with the original subject.
The workflow is therefore guided generation, not one-click certainty. You control the location, size, and shape of the target area. Your prompt controls the requested subject or change. Photoshop then offers variations that you can inspect and refine.
Exercise
Exercise
You need to turn a tightly cropped portrait into a wider image with more background on both sides. Which tool should you start with, and why?
Show answer
Start with the Crop tool and use Generative Expand. The needed pixels are outside the original canvas, so expanding the canvas gives Photoshop an area to generate. Use Generative Fill instead when changing a selected area inside the existing canvas.