Skip to main content
Participant
Sep 12, 2023 6:42 PM UTC
Question

Adobe Photoshop generative fill: preserve objects

Hi all,


I'm trying to enhance some visuals by integrating them into a more attractive background. I start with an object in a white background and I create a generate fill around. The process works fine except that sometimes the object itself is modified and I would like to prevent that.

Is there something I can add into the prompt or an option to enable somewhere that could help me with this? If I take for example the picture of a bike, generative fill tends to add things that are not there like additional spokes, additional cables, ...

Any idea?

Thanks

 

15 replies

Participant
May 23, 2024 3:04 PM UTC

I'm having the same issue. I create a perfect selection around a shot of a piece of furniture on white, make sure the selection is precise using a layer mask, invert the selection then generate a backgound. More often than not it adds (and here's a few, but by no means all) extra legs, inches to either side, creates its own carvings where there may be carvings on the furniture, weird shelves, entire additional sections of the selected furniture that should exist neither in reality nor the fevered dreams of the insane. 

 

Translate
Participant
Jan 25, 2024 2:57 PM UTC

Hi! I scale down the object first, leaving a copy of the object hid. Then i generate the fill and unhide the original object. then minimal adjustment and voilá. Its a workaround, and only work with objects without spaces, holes or transparent.

Translate
Participant
Jun 6, 2024 5:17 PM UTC

Best work around so far, thanks!

Translate
Participant
Nov 17, 2023 7:59 AM UTC

I have the same issue. Does anyone have a solution for this?

Translate
Kevin Stohlmeyer
Community Expert
Community Expert
Nov 17, 2023 1:41 PM UTC

@Davie336789556nez dont select the object you wish to preserve.

Translate
Participant
Nov 22, 2023 8:15 PM UTC

Hi Kevin,
How would you do that? If I don't select the object, the AI will generate a background that will not fit the object.

Here is an example of a product on a white backgroud. I select it with the object selection tool (cloud) and then invert the selection to take only the background into account. At that point the selection is ok, even spokes are taken into account. Then when I use generative AI, I clearly see it understands the shape and size of the bike on the picture but it adds stuff to the picture like what you can see here below.

Translate
Monhill
Participant
Sep 27, 2023 9:36 PM UTC

I'm having the exact issue with the exact same scenario (object on white background still altering the perimeter of my object or adding small random details). Would love a solution.

Translate
Participating Frequently
Nov 4, 2023 12:43 AM UTC

I have the same issue. 

Translate
Participating Frequently
Nov 4, 2023 12:47 AM UTC

I created a character in photoshop and would like to place him in different settings. everytime I do it warps all the edges of my original character making hime look weird. Not just adjusting him to fit in the setting - warping him odly. sometimes to the point of hime being unrecognized.  It's a cartoon so I want to use him as the base for the AI so that it matches and looks natural.

 

Translate
Kevin Stohlmeyer
Community Expert
Community Expert
Sep 12, 2023 7:13 PM UTC

Hi @Laurent32241942u0ae why couldn't you simply duplicate the subject layer and mask it out - leaving you with the AI results on a lower layer and your untouched object on a masked layer?

Translate
Participant
Sep 12, 2023 7:26 PM UTC

Thanks, I tried that but if I do this, the AI doesn't understand the object anymore and the background doesn't make sense anymore. I perhaps missed something but I extracted the object from the original picture just leaving a "hole" there, I duplicated the object on a higher layer and then I applied generative ai on the original image.

Translate
Kevin Stohlmeyer
Community Expert
Community Expert
Sep 12, 2023 7:34 PM UTC

Hi @Laurent32241942u0ae duplicate the object, dont cut it out. Make a copy to a new layer, leaving the original there for the AI to work with.

Translate