Traditional landscape design methods have low efficiency, poor subjectivity and insufficient goal optimization. This paper proposes a landscape design optimization and spatial layout method based on artificial intelligence (AI) algorithms to achieve scientific and efficient landscape design through the combination of collected information data and algorithms. The optimization design of landscape facility paths and spatial dimensions is carried out by adopting a heuristic polygonal layout algorithm, establishing a data model based on the database and scene templates, and combining the landscapes in the polygonal space after landscape matching. The optimal sequence of the landscape is obtained by using the scoring function, and then combined with the particle swarm algorithm to realize the optimization of the landscape layout. The Hypervolume index is stable to about 0.815 in 30 generations, which has a good quality of Pareto optimal solution set. In this paper, the algorithm formulates three groups of landscape design optimization and spatial layout planning schemes for different situations, making full use of the land that is utilized for a certain place. The implementation of the sustainable development scenarios improves the local environmental and social benefits significantly, and the average annual growth rate of employment in related industries reaches 3.16%. Satisfaction survey results show that local residents are most satisfied with the green environment and cultural atmosphere after the implementation of the program, respectively 80.03, 79.35, through the smart management to improve the local environmental quality and cultural atmosphere.