Generative AI in Vision: A Survey on Models, Metrics and Applications