Skip to main content
Participant
February 22, 2024
Question

Automatize GenAI with JSon

  • February 22, 2024
  • 2 replies
  • 266 views

Hi ,

I would like to remove text from some parts of my image using the GenAI capability of photoshop.

I tried doing it manually and results are really good.

The problem is I have hundreds of images on which I need to perform this operation.

I have a json that contains the co-ordinate positions for the areas that I would like to remove in images, is there any way I can automatize Photoshop to do this task automatically.

 

Thank you

This topic has been closed for replies.

2 replies

Stephen Marsh
Community Expert
Community Expert
February 24, 2024

Are the locations the same for each/all images?

 

Or are the locations common to similar "groups" of images, such as landscape or portrait orientation, filename, or containing folder name, metadata or some other common variable?

 

How do you expect to match up the locations in the JSON file to each image?

 

Hundreds of images with multiple areas? Have you considered your generative credits?

 

https://community.adobe.com/t5/photoshop-ecosystem-discussions/photoshop-what-you-need-to-know-about-generative-credits/td-p/14185311

c.pfaffenbichler
Community Expert
Community Expert
February 24, 2024
quote

Are the locations the same for each/all images?

 

Or are the locations common to similar "groups" of images, such as landscape or portrait orientation, filename, or containing folder name, metadata or some other common variable?

 

How do you expect to match up the locations in the JSON file to each image?

Good point. 

@Micky3562069297pa , could you provide a few sample images and the corresponding coordinates-file? 

c.pfaffenbichler
Community Expert
Community Expert
February 24, 2024

ExtendScript Scripting is on the way out (though no definitive timeline has been presented), so you way want to delve into UXP Scripting right away.