In the process of promoting school aesthetic education, some schools have some problems, such as insufficient construction of campus aesthetic education environment, lack of aesthetic thinking in various disciplines, and so on. In view of these problems, combined with the concept of the flipped classroom and the characteristics of artificial intelligence task-driven teaching, taking PHP, HTML + CSS + JS, and other development technologies as the main development technologies, and relying on the flipped classroom teaching mode of network learning space, this paper constructs an artificial intelligence core course website as a teaching platform for graduate teaching and undergraduate extended learning. The platform seeks the optimal solution of multiple combination optimization based on a genetic algorithm effectively improves the teaching quality of artificial intelligence courses and students’ learning efficiency.