The rapid expansion of cities has accelerated the impact of human activities on the ecological environment. Existing studies conducted quantitative evaluations of ecological environment quality through complex remote sensing image screening and processing. Dynamic monitoring and modeling based on cloud platform programming are still lacking at present. This paper evaluated the quality of the ecological environment in Xi'an in 2000Xi'an in , 2005Xi'an in , 2010Xi'an in , 2015Xi'an in , and 2020 using the remote Sensing Ecological index (rSEi) model. We selected high-quality remote sensing images based on the Google Earth Engine platform (GEE). The calculation of four indicators and the Principal Component Analysis (PCA) were performed on the platform using JavaScript. The geodetector model was used to detect factors affecting the spatial differentiation of rSEi. The results showed that: (1) The ecological environment quality of Xi'an city during 2000-2020 showed a temporal trend of decreasing and then increasing, and a spatial trend of north-low and south-high. The rSEi value for Xi'an was 0.665 in 2000, 0.653 in 2005, 0.623 in 2010, 0.644 in 2015, and 0.651 in 2020. (2) The Bad level and Fair level of rSEi were mainly distributed in the city's built-up area, and rSEi values were better in the Qinling Mountains. From 2000 to 2020, we found the deterioration areas of rSEi mainly distributed in the Weiyang, Baqiao, Yanliang, Chang'an, and Huyi districts. The improvement areas were mainly distributed in the southeastern mountains.(3) From the geodetector results, elevation (DEM), slope (SLO), precipitation (PrE), temperature (TEM), distance to main roads (rOA), distance to settlements (SET), land use/land cover (LUC), GDP, and population (POP) significantly influenced the regional RSEI spatial differentiation. The rankings of the explanatory power of the single factors were mainly: PrE>TEM>DEM> rOA>LUC>SLO>GDP> SET>POP. PrE has the strongest explanatory power of the nine factors. (4) Positive spatial auto correlation existed for the rSEi values in Xi'an.