The uncertainty of the wind process leads to the randomness of its regional propagation, and the spatial correlation between nearby wind farms also shows a dynamic change tendency under the influence of wind direction. To consider the influence of dynamic spatial correlation on wind power prediction modeling, a short-term wind power prediction method based on a dynamic graph neural network is proposed. First, the topology graph of the wind farm cluster was established to represent the correlation of wind farms based on graph theory. Then, a dynamic spatiotemporal graph neural network was constructed to adapt graph topology by node embedding, which can explore the changing characteristics of spatial correlation among wind farms. Finally, we proposed a decoupling error model that can quantify the proportion of errors caused by the modeling process, which can assist in evaluating the performance of predictive models. We conducted experiments using data provided by the wind farm cluster in Inner Mongolia, and the average normalized Root Mean Square Error for the 12 wind farms was 0.1424, which verified the effectiveness of the proposed model.