In this paper, a coupling model of SWAT (Soil and Water Assessment Tool) and EFDC (Environmental Fluid Dynamics Code) was established, and the relationship between the pollution source and water quality response was identified. Based on the hydrodynamic water quality simulation results and the one-dimensional WEC (water environmental capacity) theoretical formula, the total nitrogen and total phosphorus WEC and the remaining WEC of the Yongzhou Section of Xiangjiang River Basin under the guaranteed rate of 90% and in 2017 were calculated, respectively. It can be seen from the results that the total nitrogen WEC of the Yongzhou Section of Xiangjiang River Basin in 2017 is 27,673.04 t, the total nitrogen WEC under the guaranteed rate of 90% is 19,497.61 t/a and the total phosphorus WEC of the Yongzhou Section of Xiangjiang River Basin in 2017 is 4,877.22 t. The total phosphorus WEC under the guaranteed rate of 90% is 2,936.64 t/a; in 2017, the remaining WECs of total nitrogen and total phosphorus in the entire basin are 14,646.69 and 3,358.67 t, respectively.