The current education methods are mostly based on test-oriented education and rarely really care about the content of students’ concerns, and flipped psychological education methods have appeared in some areas. The main purpose of this thesis is to combine artificial intelligence and flipped classroom psychology. This article mainly introduces the characteristics of artificial intelligence and the definition of flipped classroom. What are the advantages of the intelligent teaching platform compared to traditional teaching? This article selects key 1 class, key 2 class, key 3 class, and key 4 class from the students of our school. Groups A1 and B1 conduct a semester of artificial intelligence combined with the concept of flipped classroom psychology. Groups A2 and B2 teach students in accordance with traditional teaching. The experimental results show that the proportion of groups A1 and B1 increased by 8.2% and 8.14%. The midterm and final average scores of groups A1 and B1 are 10.87, 7.2, 14.13, and 12.2 points higher than those of groups A2 and B2, and their scores have increased by 10.3% and 7.02%, 12.4%, and 11.9%. The mental health education course effect of artificial intelligence and flipped classroom psychology can more stimulate students’ interest and promote the improvement of students’ performance through autonomous learning.