Generative AI is a branch of artificial intelligence that can create new content, such as text, images, videos, or audio,…