Using the world’s leading confrontation generation network, combined with face detection, hair segmentation, portrait segmentation and other technologies, tailor-made two-dimensional animation images with thousands of people and thousands of faces for users, and can generate two-dimensional animation portraits wearing masks through parameter settings.