This study accurately assessed the overall ecological landscape condition of the city through the environmental landscape pattern index, and specifically explored the NP, LSI, and PD indices of construction land, cultivated land, forest land, grassland, water, and other land. Adopting advanced artificial intelligence and virtual reality technologies, this paper successfully constructs a 3D visualization scene of the urban landscape, which provides a vivid and intuitive perspective for urban planning. Further, based on the planning and design framework of urban landscape ecosystem, this paper clarifies the ecological evaluation elements and landscape design indexes, and uses VR technology to optimize the design of environmental aspects of urban streets. By establishing an optimization strategy database, this paper conducts an in-depth correlation analysis between the optimization scheme’s design indicators and evaluation factors. Comparing the comprehensive ecosystem service area before and after optimization, the results show that applying VR technology in ecological landscape design is highly effective. The integrated ecosystem service area before and after optimization increased from 7611.72m² to 8039.51m², of which the integrated ecosystem service area of “general” grade increased by 324.03m², showing the best effect of ecological optimization. The research in this paper provides scientific basis and technical support for ecological landscape design and new ideas and methods for future urban environmental planning and construction.