A person walks a bicycle through a grassy field, seen from behind, from a tutorial on using Generative Fill in Photoshop.
  • How to Use Generative Fill in Photoshop

  • Aaron Nace
    by Aaron Nace
    May 23, 2023
  • Add to
    favorites

Download Sample Images

Download Assets

This tutorial includes 6 sample images and 1 PDF guide. Downloads are free with a PHLEARN account.

  • Free sample files with every tutorial on PHLEARN
  • New tutorials published every week
  • Unlimited downloads with your free PHLEARN account
Download

Free PDF Guide · 3 Pages

This Tutorial as a Step-by-Step PDF

Covers the basic move (select, Generative Fill in the Contextual Task Bar, a prompt or none, Generate) and all six examples: forest dusk moody behind an inverted Select Subject, yarn wall art, blank-prompt removals, extending with the Crop Tool and an overlapping Rectangular Marquee, and cloudy sky. Keep it next to your keyboard.

Download the PDF Guide · 0.8 MB

description

Generative Fill in Photoshop does three things: fills a selection with something new, extends a frame beyond its edges, and removes what you do not want. The selection is where the craft is.

Get ready to be amazed by the incredible advancements that make photo editing a breeze for everyone. With its intelligent AI and cloud-based capabilities, generative fill now understands images like never before, allowing you to create jaw-dropping results effortlessly. Dive into a world of creativity and unleash your imagination with this revolutionary tool!

Artists Credit

Special thanks to Claudia Schmalz, Wesley Davi, Darkmode Cinema, Hicret, Josh Hild and Duran EKIZ duranekz.

Image sourced from Pexels.

Before and after photo of a woman walking a bicycle through a field showing a subtle addition made using Photoshop's Generative Fill
Before and after photo of a woman walking a bicycle through a field showing a subtle addition made using Photoshop's Generative Fill
AfterBefore
Side-by-side comparison of a beachfront cafe, before and after using Generative Fill in Photoshop to remove a passerby and add a cloud to the sky

Unique Results


Generative fill is an amazing tool that can smartly predict and effortlessly fill in the missing parts of your photos.

How to Use Generative Fill in Photoshop

Generative Fill is the biggest change to Photoshop in years. Make a selection, optionally describe what you want, and Photoshop generates content that matches the perspective, lighting and depth of field of the photograph around it.

What makes it different from every content-aware tool before it is that it is not copying from elsewhere in your image. It is creating something new that fits — which means it can handle situations where there was simply nothing to borrow from.

A note on versions: this was recorded when Generative Fill first arrived and generations were unlimited during the beta. Adobe has since introduced a generative credits system, and the model has been updated more than once. The workflow below is unchanged.

A photograph before any generative editing

The Three Things It Does

Remove — leave the prompt empty

Select something you want gone, leave the text field completely blank, and click Generate. An empty prompt is a removal instruction: Photoshop extends the surrounding scene across the selection rather than inventing anything new.

This is the single most useful thing to know about the tool, and it is the opposite of most people’s instinct. Typing “clean wall” invites the AI to generate a wall; typing nothing tells it to continue the wall that is already there, which is nearly always better.

Replace — describe what should be there

With a prompt, the selected area is filled with something new. Short and concrete works best: “cloudy sky”, “field of flowers”, “forest dusk moody”, “yarn wall art”. Photoshop reads the surrounding image for lighting and perspective, so you rarely need to describe those.

Extend — generate beyond the original frame

Select empty canvas outside the image and Generative Fill will build scene into it. This is how you widen a composition that was framed too tightly, or change aspect ratio without cropping into the subject.

Generative Fill replacing a background from a short text prompt

The Selection Is the Craft

Almost every disappointing result traces back to the selection rather than the prompt.

Select the subject, then invert

To replace a background, do not try to trace around it. Run Select, then Subject to get the person or object, then Select, then Inverse. You now have the background, defined by a far better boundary than you would have drawn by hand.

Expand that selection by a few pixels before generating. A boundary sitting exactly on the subject’s outline leaves a thin fringe of the old background behind, and it shows as a halo.

Overlap when you extend

When expanding an image, include a strip of the existing photograph inside your selection rather than selecting only the empty area. That overlap gives the AI something to match against and is the difference between a seamless extension and a visible join.

Work in sections

Generated content comes back at a capped resolution. A small selection spends all of that detail on a small area and comes back sharp; an enormous selection stretches the same detail thin and comes back soft. Several modest generations beat one large one, every time.

Generating and Regenerating

Three variations come back with each generation, and clicking Generate again produces three more. The differences between batches are often substantial, so it is worth going more than one round before settling.

Every generation lands on its own layer with a mask, so nothing is destructive and nothing is lost by trying again. That also means you can fix one bad area with a second small generation instead of rerolling the whole thing — the habit that saves the most time in practice.

Comparing generated variations in the Properties panel

Why the Results Blend So Well

Photoshop sends the surrounding image along with your selection, not just the selection itself. That context is why generated content picks up the direction of the light, the perspective of the scene, the depth of field, and the color temperature without being told.

It also explains the failure cases. When there is little surrounding context — a selection at the very edge of a frame, or one covering most of the image — results get noticeably less reliable, because there is less for the model to reason from.

It is a fair thing to ask about, and Adobe’s stated position is that its generative model was trained on Adobe Stock content it holds licenses for, along with public domain and openly licensed material, rather than scraped from the open web. That is why Adobe has been willing to offer indemnification for commercial use of generated output in some plans.

Worth knowing rather than assuming either way, particularly for commercial work. Adobe’s own current terms are the place to check specifics, since both the model and the licensing have changed since launch.

What It Still Cannot Do

Faces and hands. Both remain unreliable. Keep faces out of your selections entirely — a regenerated face is subtly wrong in a way everybody notices.

Text and fine repeating detail. Signage, chain links, intricate patterns and precise architecture are where generated content most often breaks down under inspection.

A specific real product. It generates something plausible, not something particular. It cannot place an actual item a client sells into a photograph.

Working offline. Processing happens on Adobe’s servers, so an internet connection is required.

The finished image after several generative edits

How to Think About It

The most useful framing is that Generative Fill is very good at continuing things and merely adequate at inventing them. Removing a distraction, extending a sky, filling a gap where a background should carry on — these are jobs where it consistently outperforms anything that came before.

Asked to create something specific and detailed from nothing, it is a concepting tool rather than a finishing one. Treat the output as a strong base that still benefits from a retoucher’s eye, and it earns its place in almost every edit.

Quick Reference: Keys, Menus and Settings

  • Replace a backgroundSelect Subject, invert the selection, Generative Fill, type a prompt, Generate
  • Add an objectLasso the spot (L), Generative Fill, describe it, Generate
  • Remove somethingRough Lasso around it, Generative Fill, leave the prompt blank, Generate
  • Several areas at onceHold Shift while you Lasso each one, then generate once
  • Extend the frameC for Crop, uncheck Delete Cropped Pixels, drag out, Enter/Return; Rectangular Marquee overlapping the photo, Generate
  • More optionsProperties panel: click through the variations, or Generate again
Page 1 of the free How to Use Generative Fill in Photoshop PDF guide

Free Downloads

Follow Along on the Same Photos

Get the six practice photos for replacing, adding, removing and extending, plus the 3-page PDF guide that walks through every example. Free with a PHLEARN account.

Generative Fill in Photoshop: Common Questions

What can Generative Fill do?

Three things: remove what you select, replace or add something you describe, and extend a photo past its edges. It matches the perspective, lighting and depth of field of the photo around the selection.

How do I remove an object with Generative Fill?

Draw a rough Lasso around it, click Generative Fill in the Contextual Task Bar and click Generate without typing anything. A blank prompt works like a remove tool and continues the scene around it.

How do I replace a background?

Click Select Subject, then invert the selection so the background is selected. Click Generative Fill, describe the new background (the video uses “forest dusk moody”) and click Generate.

Why is there a halo around my subject after replacing the background?

The selection sits exactly on the subject’s outline. Expand it by a few pixels before you generate so no fringe of the old background is left behind.

How do I extend a photo with Generative Fill?

Press C for the Crop Tool, uncheck Delete Cropped Pixels and drag the edge out. Select the empty area with the Rectangular Marquee, overlapping the photo a little, then click Generate.

Can I fill several areas at once?

Yes. Hold Shift with the Lasso to add each area to one selection. Making all your selections at once fills them with the same, cohesive kind of content.

What if the result looks wrong?

Click through the variations in the Properties panel, then click Generate again for more. Each result lands on its own Generative Layer, so you can fix one bad area with a second small generation.

Why do large generations look soft?

Generated content comes back at a capped resolution, so a huge selection is spread thin. Work in sections: several modest generations come back sharper than one large one.

Does Generative Fill work offline?

No. The selection and the image around it are processed on Adobe’s servers, so you need an internet connection and each generation takes a moment.

Are the sample files free?

Yes, with a free PHLEARN account. You get 6 sample images and 1 PDF guide: photos for replacing, adding, removing and extending, and the six examples step by step.

Master Photoshop, Lightroom and Photography

Join PHLEARN PRO for $12.99 a month, or $99.99 a year (save 36%). Cancel anytime, with a 100% money-back guarantee.

As featured in
  • 500px
  • Adobe
  • Fstoppers
  • HuffPost
  • Inc.
  • PetaPixel