Sub topic 3
Running Generative Fill from the Contextual Task Bar
This chapter covers the full Generative Fill workflow in Photoshop, from an active selection to a finished generative layer. It assumes you can open images, use the Layers panel and toolbar, make selections with the Lasso, Marquee, and Object Selection tools, and work with layers and layer masks. It also assumes you are signed in to an Adobe account on a Photoshop version that includes generative AI features. Menu names and button positions change between releases, so treat the labels below as a guide and check them against your version.
The workflow at a glance
Generative Fill takes a selection on a layer and creates new pixels inside it. It reads the pixels around the selection, and your prompt if you write one. The same Firefly model handles every run, so the steps are the same whether you add, replace, or remove content.
- Open an image and pick the layer you want to change.
- Make a selection.
- Find the Contextual Task Bar and choose Generative Fill.
- Type a prompt, or leave the field empty.
- Select Generate and wait for the result.
- Review the variations and keep the one you want.
The Contextual Task Bar
The Contextual Task Bar is a floating toolbar. Photoshop shows it near your canvas content and changes its buttons to match what you are doing. With no selection it offers actions such as removing the background. With an active selection it offers selection actions such as Select subject, Invert, Refine edge, and Generative Fill.
If you cannot see the bar, check these things in order:
- Confirm you have an active selection. A selection that has been deselected or hidden gives the bar nothing to act on.
- Open the Window menu and look for Contextual Task Bar. Turn it on if it is off.
- Confirm the active layer is visible and unlocked. A locked or hidden layer can block generation.
- Confirm you are signed in and online. Generative features send your request to Adobe's servers, so they do not run offline.
The bar can be moved. If it covers the area you are editing, drag it by its handle to another position. Photoshop can also reset its position from its menu.
Alternatives to the bar
You do not need the bar for every run. The Edit menu also has a Generative Fill command, and it works with the same selection. Use whichever you prefer. The result is identical, because both routes open the same generation controls.
What the selection controls
The selection decides where new pixels appear. Pixels outside the selection are not replaced. They still matter, because Firefly reads the surrounding image to match lighting, color, perspective, and texture.
Keep these points in mind when you run Generative Fill:
- A tight selection gives the model little context to match and can leave visible edges.
- A selection that slightly overlaps the neighboring area gives it more to blend with.
- Soft or feathered edges help the new content merge into the image.
- A very large selection gives the model more freedom, and more room to drift from the rest of the picture.
- A selection that includes a hard-edged object, such as part of a building, often produces a hard edge in the result. Include extra background when you want a soft transition.
The previous chapter covers selection preparation in detail. Here the point is practical. If the first result shows a visible seam, grow the selection a little or feather it, then generate again.
Generative Fill on an empty and a filled selection
The prompt field is optional. What you leave empty or fill changes the result.
| Prompt | What Firefly does | Typical use |
|---|---|---|
| Empty | Fills the selection with content that matches the surroundings | Removing an object, repairing a gap |
| Short noun phrase | Adds that object in the selected area | Adding a boat to a lake |
| Description with style words | Adds content and shapes its look | Adding a lamp with warm light |
| Instruction to remove | Often unreliable. Use an empty prompt instead | Removal |
Prompting is the subject of the next chapter, so this section stays brief. The one habit worth forming now is to treat an empty prompt as a real option. If you select a stray cable and leave the field blank, Photoshop treats the task as "fill this with whatever belongs here". That is usually better than writing "remove the cable".
Step by step: adding an object
This worked example adds a small sailboat to the water in a landscape photo.
- Open the photo and select the layer that holds the water.
- Choose the Lasso tool and draw a rough outline where the boat should go. Leave a little water around the boat shape.
- In the Contextual Task Bar, select Generative Fill.
- In the prompt field, type
small white sailboat. - Select Generate.
- Look at the Properties panel. It shows three variations. Click each thumbnail to compare them on the canvas.
- Pick the one with the best scale and reflection. The other variations stay available in the panel.
If the boat is too large, undo, make a smaller selection, and run again. The size of the selection strongly affects the size of the object.
What Photoshop creates: a generative layer
After you select Generate, Photoshop does not paint onto your original layer. It makes a new layer at the top of the stack. This is a generative layer. It holds the new pixels, and it keeps the variations and the prompt you used.
Because the result sits on its own layer, you can do these things without damaging the photo:
- Hide the layer to see the original image.
- Delete the layer to undo the change entirely.
- Reduce the layer's opacity to blend the result with the original.
- Add a layer mask to hide part of the result.
- Move the layer in the stack.
The next chapters on generative layers and refinement go further. For this chapter, the main point is that generation is a reversible step as long as the layer stays separate.
The Properties panel
When a generative layer is active, the Properties panel shows the controls for that layer.
- Prompt field. Shows the text you used and lets you change it.
- Generate button. Creates a new batch of variations from the same selection.
- Variations. Thumbnails of the results. Click one to apply it to the canvas.
Generating again adds more variations to the same layer. It does not stack new layers. Each batch gives you three new results, so you can keep generating until you find a good one.
Reading the result
Do not judge the first result by thumbnail alone. Zoom to 100 percent and inspect these areas:
- Edges. Check where new content meets the original for color shifts or soft halos.
- Lighting. Check that shadows fall in the same direction as the rest of the scene.
- Perspective. Check that the angle of the new object matches the angle of its surroundings.
- Detail. Check hands, text, faces, and fine patterns, where generated content often shows errors.
- Resolution. Generated content can look softer than a sharp photo. The next section explains why.
Resolution and size limits
Firefly generates content at a limited working size. When the selected area is large, Photoshop creates the result at a lower resolution and scales it up to fit. The new area can then look softer or more smoothed than the rest of the photo.
You can reduce this problem by working in smaller pieces. Select a part of the area, generate, then repeat with the next part. Each run produces more detail per pixel than one large run.
Common errors and what to do
| Symptom | Likely cause | What to try |
|---|---|---|
| The Generative Fill button is missing | No active selection, or you are not signed in | Make a selection and check your Adobe account |
| The button is grayed out | The layer is locked or hidden, or the image mode is not supported | Unlock the layer, make it visible, and use RGB color mode at 8 or 16 bits per channel |
| A message says the prompt cannot be used | The prompt was rejected by content filters | Reword the prompt in neutral terms |
| A visible outline appears around the new content | The selection was too tight | Expand or feather the selection and generate again |
| The result ignores your prompt | The prompt is too long or too vague | Use a short noun phrase and name the object |
| An unrelated object appears | The prompt was empty and the surroundings suggested something else | Add a short prompt that names what you want |
| Generation fails or stalls | Network trouble or a busy service | Check your connection and try again |
Credits
Generative features use generative credits. Each generation request can use credits from your plan, and the amount depends on your plan and the feature. Photoshop shows your remaining credits in your account details. If you run out, standard generation can slow down or stop, depending on the plan. The last chapter returns to credits and Content Credentials.
For now, one habit saves credits: make your selection and prompt as clear as you can before you select Generate, so you spend fewer runs on bad results.
Working practices
These habits make the workflow faster and more predictable.
- Select the correct layer before you start. Generative Fill reads the visible image, so with a layer stack it uses what you can see. Check which layers are visible.
- Work on a copy when the original matters. The generative layer protects the pixels below, but a duplicate protects against other mistakes.
- Name the layers you keep. A stack of layers named "Generative Layer 1" through "Generative Layer 9" is hard to read later.
- Generate several batches before you decide. Early results are often not the best ones.
- Use small selections for small changes. One focused change per run gives you more control.
Exercises
Exercise
You select a utility pole in a landscape photo and select Generative Fill. What should you put in the prompt field to remove it, and why?
Show answer
Leave the prompt field empty. With no prompt, Photoshop fills the selection with content that matches the surroundings, which usually removes the pole cleanly. A prompt such as "remove the pole" can be read as a description of content and may produce a pole or an unrelated object.
Exercise
After generating, you see a faint outline around the new content. Name two changes to the selection that can fix this.
Show answer
Expand the selection slightly so it overlaps the surrounding area, and feather the edge so the new content blends into the original. Then generate again.
Exercise
Where does Photoshop put the result of a Generative Fill run, and why does that matter for editing?
Show answer
It puts the result on a new generative layer above the original layer. The original pixels stay unchanged, so you can hide or delete the generative layer, lower its opacity, or add a mask to it without damaging the photo.