It makes more sense to embed stable diffusion capabilities into well-established image editors such as Gimp, Photoshop, Krita, or Figma, which come with layered, non-destructive functionalities, rather than attempting the opposite approach.
https://github.com/Interpause/auto-sd-paint-ext https://github.com/thndrbrrr/gimp-stable-boy https://www.magicbrushai.com/