Skip to main content
Participant
September 21, 2025
Answered

automatic background with the image by artificial intelligence

  • September 21, 2025
  • 1 reply
  • 205 views

I edit photos of children in costumes and the costumes are basically the same, I just change the children and for each costume I use a standard background. I wanted to know if there is any tool that can add this background automatically using artificial intelligence to identify the costume used by each child?

 

The attachment contains 3 edited photos and the background for better understanding.

Correct answer AlanGilbertson

I get it. That's way outside the built-in AI capabilities at the moment, and probably for a long time to come, but if you're willing to dive under the hood and get grease up to your elbows you could build something with an OpenAI, Gemini, or other image AI API and script it in Python. 

Depending on the economics of your situation, you might hire or collaborate with an AI engineer to build it.

If you do, let us know, because you'll have created a valuable (and salable!) asset for the community as a whole.

1 reply

AlanGilbertson
Community Expert
Community Expert
September 21, 2025

From your description, it seems that you can do this with a regular Action. The steps would be to open the image, use "remove background," use "import background," flatten, save. If you have different backgrounds for different costumes, the Action would be the same except for the image you specify in the import step.

 

Once you have the Action set up and tested, run your images through Photoshop using the Batch feature in Bridge (Tools > Photoshop > Batch...), specifying the Action you want to run.

Participant
September 21, 2025

I already use automated actions, I wanted something smarter, because there are 30 different costumes. In practice, I wanted to load all the images into Photoshop and automatically identify which are the backgrounds

AlanGilbertson
Community Expert
AlanGilbertsonCommunity ExpertCorrect answer
Community Expert
September 22, 2025

I get it. That's way outside the built-in AI capabilities at the moment, and probably for a long time to come, but if you're willing to dive under the hood and get grease up to your elbows you could build something with an OpenAI, Gemini, or other image AI API and script it in Python. 

Depending on the economics of your situation, you might hire or collaborate with an AI engineer to build it.

If you do, let us know, because you'll have created a valuable (and salable!) asset for the community as a whole.