Generative AI is a subset of Artificial Intelligence (AI) which is capable of creating new content, such as text, images,…