Sub topic 8
Extending the canvas with Generative Expand
Generative Expand enlarges the canvas of an image and fills the new area with content that Firefly generates to match the original. It uses the Crop tool, so you do not need to select the empty area first. This chapter covers the workflow, how to control the result, and the errors that come up most often.
This chapter assumes you can open images and use the Layers panel and the toolbar. It also assumes you have made selections and know what a layer mask does. You need an Adobe account and a Photoshop version that includes generative AI features. The menus and button labels below can differ slightly between versions.
What Generative Expand does
Generative Expand is a form of Generative Fill. It draws new pixels from a prompt and the surrounding image. The difference is where the input area comes from. With Generative Fill you make a selection inside the image. With Generative Expand you drag the Crop tool's handles past the edge of the canvas, and the new empty area becomes the region to fill.
Common uses:
- Changing the aspect ratio, for example turning a 4:3 photo into a 16:9 banner.
- Adding headroom or space for text above a subject.
- Recovering a wider scene when the original crop was too tight.
- Filling in the empty corners after you rotate or straighten a photo.
Firefly reads the existing image along the shared edge and continues its colors, lighting, perspective, and texture into the new area. It works best when that edge has a clear, continuous pattern, such as sky, water, grass, a wall, or a blurred background.
Running Generative Expand step by step
- Open the image and select the Crop tool (shortcut
C). - Drag a handle on the crop border outward so the border sits beyond the canvas. You can drag one side, one corner, or all sides. Hold
Alt(Windows) orOption(macOS) to expand from the center. - Check the options bar. Set the Fill option to Generative Expand. Other choices, such as Transparent or Background, only add empty or flat-colored pixels.
- Optionally type a prompt in the Contextual Task Bar. Leave it empty if you want Photoshop to continue the scene on its own.
- Click Generate in the Contextual Task Bar. If the bar is not showing, turn it on from the Window menu.
- Review the results in the Properties panel, then press
Enteror click the commit check mark to finish.
Photoshop sends the image content and the expansion area to Firefly, then returns three variations. Each one appears as a thumbnail in the Properties panel. Click a thumbnail to preview it on the canvas.
Where the result goes: a generative layer
The expanded content is not baked into your original pixels. Photoshop places it on a new generative layer above the background. The layer has a thumbnail and a layer mask, and it stores its prompt and its variations. Because the original image is untouched, you can:
- Hide the generative layer to see the original canvas, now at its larger size.
- Switch to another variation in the Properties panel at any time.
- Paint on the layer mask to hide or reveal parts of the generated area.
- Delete the layer and run the expansion again.
If you flatten the image, merge layers, or rasterize, the layer loses its variation set, and you cannot switch variations afterward. Keep a layered copy of the file if you may want to revisit the result.
Controlling the result
Prompt or no prompt
An empty prompt is the right choice in most cases. Firefly then extends the existing scene, which keeps the style consistent. Add a prompt when you want specific content in the new area.
| Goal | Prompt | Why |
|---|---|---|
| Continue a landscape naturally | Empty | The surrounding pixels already describe the scene. |
| Add a specific element | `a wooden fence along the left edge` | Names the object and where it sits. |
| Add space for a headline | `soft clouds, empty sky` | Keeps the area quiet and uncluttered. |
| Match a mood | `golden hour light, warm haze` | Steers lighting without adding objects. |
Describe what you want to see, not what you want to avoid. A prompt such as "no people" can make the model add people, because the word is still part of the description. If unwanted content keeps appearing, rephrase the prompt to describe the empty scene, for example empty beach, calm water.
Expansion size
Large expansions give Firefly less to anchor on. Each extra step away from the original edge relies more on the model's guess and less on real pixels. Results can drift in style or repeat patterns.
A reliable method for large changes:
- Expand by a moderate amount, such as 25 to 30 percent of the image width.
- Commit and review the result.
- Expand again from the new edge, using the generated area as context.
This takes more steps, but each step stays close to known content. It also gives you a fresh set of variations at each stage, so you can pick the best piece for each side.
Expanding more than one side
You can expand several sides in one pass. Quality is usually higher when the sides need similar content, such as sky on the top and left. If the sides need different things, such as water on the left and a building on the right, expand them separately and use a different prompt for each.
Expanding a selected region
You can also use the Generative Fill route. Increase the canvas with Image > Canvas Size, select the new empty area with the Rectangular Marquee tool, and click Generate in the Contextual Task Bar. Make the selection overlap the original image by a few pixels so Firefly can blend the seam.
This path is slower than the Crop tool. Use it when you need control that the Crop tool does not give you, such as filling only part of the new area or giving different regions different prompts.
Common errors and fixes
| Symptom | Likely cause | Fix |
|---|---|---|
| Generate button is missing | Fill is not set to Generative Expand, or the crop border does not pass the canvas edge | Set Fill in the options bar and drag the border beyond the canvas. |
| Visible seam at the old edge | Strong difference in light or grain at the join | Paint a soft black brush on the layer mask along the seam, then add a Curves or Levels layer to match tones. |
| Repeated or tiled texture | Expansion too large for the available context | Undo, expand by a smaller amount, and generate in stages. |
| Subject cut off mid-body at the edge | Original crop removed part of the subject | Add a prompt that completes the subject, or crop in so the cut is hidden. |
| Generated content looks sharper or softer than the photo | Different grain and detail level | Add a Noise or Gaussian Blur filter to a copy of the layer, or use Camera Raw Filter to match grain. |
| Content blocked or no results returned | The prompt or image triggered a content filter, or the connection failed | Rephrase the prompt, check your connection, and try again. |
| Generation fails with a credits message | No generative credits left on your plan | Check your balance in your Adobe account, or wait for the monthly reset. |
Edge cases
- Very small canvases and very large ones. Photoshop may limit the resolution it sends to Firefly and then scale the result to match your document. A high-resolution file can show slight softness in the generated area.
- Rotated or transparent edges. After straightening a photo, the transparent corners are a good use for Generative Expand. Keep the crop border just outside the corners so Firefly fills them, then check the corner pixels at 100 percent zoom.
- Cropping inside while expanding. If you pull one side in and another side out in the same crop, Photoshop trims the inner side and generates only on the outer side. Commit the crop once.
- Text and logos. Firefly cannot reliably continue text, signs, or logos across the seam. Expect distorted letters, and plan to hide or replace these areas.
Refining the expanded area
Generated results usually need light cleanup.
- Mask the seam. Select the generative layer's mask, choose a soft brush at low opacity, and paint black along the join to reveal the original pixels slightly.
- Match tone. Add a Curves or Color Balance adjustment layer above the generative layer. Clip it to that layer with
Alt/Option-click between the layers, so only the new area changes. - Match grain. Add subtle noise to the generated layer if the original photo has visible grain.
- Retouch with Generative Fill. Select a small flawed area, such as a stray object, and run Generative Fill with an empty prompt to remove it.
- Regenerate. If the problem is structural, click Generate again for a fresh set of three variations rather than fixing a weak base.
Each Generate click uses generative credits, so judge a result before you regenerate. Fixing a small flaw with a mask costs nothing.
Credits and Content Credentials
Every generation, including each regeneration, uses generative credits from your plan. Plans differ in the number of credits and in what happens when you run out, so check your account for current limits. Expanding in several stages uses more credits than one large expansion, but each stage is more likely to give a usable result.
Photoshop can attach Content Credentials to files that contain generative content. These are metadata that record that generative AI was used and which edits were made. Keep the setting on when you export an image for publication, and tell clients or readers when an image has been extended with AI. Expanding a news or documentary photograph changes what the image shows, so treat that use with care.
Summary of good practice
- Use the Crop tool with Fill set to Generative Expand.
- Leave the prompt empty to continue the scene, and describe what you want when you need a specific element.
- Expand in moderate steps instead of one large jump.
- Keep the generative layer intact so you can switch variations and edit the mask.
- Fix seams and tone with a mask and clipped adjustment layers before spending credits again.
Exercise
You have a 3000 x 2000 px landscape photo and need a 16:9 version without cropping any of it. The photo has open sky above and a tree line on the right edge. Describe how you would extend it, including your prompt choice, and name two checks to do after committing.
Show answer
Select the Crop tool, set Fill to Generative Expand, and drag the right handle outward to widen the canvas (a 16:9 frame at 2000 px tall needs about 3556 px wide, so add about 556 px). Leave the prompt empty so Firefly continues the tree line and sky in the existing style. If the right side needs a lot more width, do it in two stages instead of one. Click Generate, compare the three variations, and commit the best one. After committing, check the seam at the old right edge at 100 percent zoom and fix any visible join with a soft brush on the generative layer's mask. Also check for repeated tree patterns or mismatched grain, and use a clipped Curves layer or added noise if the tone or texture differs.
Exercise
A Generative Expand result keeps adding people to a beach scene even though your prompt says "no people". What is the likely cause and what should you change?
Show answer
The model treats the words in the prompt as content to depict, so naming "people" can bring them in even with "no". Replace the prompt with a description of the scene you want, such as "empty beach, calm water, clear sky", or leave the prompt empty so Firefly continues the surrounding scene. If a person still appears, select that area and run Generative Fill with an empty prompt to remove it.