>>2797450If you have the hardware to do it, I recommend running Stable Diffusion locally instead of using an online tool. Editing like you describe can be done generally with img2img.
Segment Anything is one extension that allows you to more easily select what region of the image to transform. This is just one example of the editing assistance tools that are out there.
https://www.youtube.com/watch?v=yDYhIuS8hJ4