In terms of the problems of high feature dimension and large data redundancy in the wind and solar power prediction method, an improved prediction model is proposed by combining feature selection methods with the long- and short-term time-series network (LSTNet). The long short-term memory (LSTM) unit in the LSTNet model is replaced with the bidirectional long short-term memory (BiLSTM), which enables recursive response training for the states of hidden layers at the start and end of the sequence. For feature selection, both feature screening and dimension reduction methods are considered, including random forest (RF), grey relational analysis (GRA), and principal component analysis (PCA). Finally, based on wind and solar power data, the effectiveness of the proposed methods is verified, where the RF-LSTNet performs the best. For wind power prediction, the mean absolute percentage error is reduced by 29.7% and root mean square error is reduced by 24.1% compared with the traditional LSTNet model, and for solar power prediction, the MAPE is reduced by 12.9% and RMSE is reduced by 3.8%.