You're thinking of other types of AI like machine learning.
That’s all generative AI is. Machine learning applied to tasks like image generation and text generation. It’s all the same stuff. The difference between something that detects parts of an image and something that generates parts of an image is in application.
Edit: Why am I getting downvoted? I’m not making any value statements about generative AI here.