The Photoshop Way to Change Clothes
In Photoshop the usual path is: lasso or mask the clothing area, run Generative Fill, type a description of the new garment, regenerate until it looks right, then clone-stamp the edges. It's powerful and precise if you know the tools. It also takes a subscription, a desktop, and a fair bit of practice with selections and layers.