With the widespread use of clean energy, the forecasting of wind power has become increasingly significant. Extracting time series from sophisticated wind power data and thus improving the prediction accuracy of wind power generation has become the key to short-term forecasting. This paper proposes a Kernel Extreme Learning Machine (KELM) prediction model based on Crested Porcupine Optimizer (CPO), Variational Modal Decomposition (VMD) with Improved Dung Beetle Optimization Algorithm (QHDBO). Firstly, by analyzing the correlation between the variables in the wind power data, the CPO algorithm is used to optimize the modal decomposition number and the penalty parameter of the VMD and extract the time-series information of the wind power series, and smooth it to obtain a number of sub-sequences with strong regularity. Then, the KELM prediction model is constructed for different subsequences, and the kernel parameters and regularization coefficients of KELM are optimized using the QHDBO algorithm. Finally, the predicted values of different subsequences are reconstructed to obtain the final prediction results. The simulation results show that the CVMD-QHDBO-KELM model can effectively improve the wind power prediction performance, and the MAPE values are all below 9 %, and most of the RE values are below 10 %.