This could be done using a combination of layer masks Prompts

Discover millions of AI-generated images and prompts from Stable Diffusion, Midjourney, and DALL-E