Accurately and efficiently generating floor response spectra is crucial for the seismic design and analysis of nonstructural components, and seismic analysis of equipment placed on floors. In this article, a direct spectra-to-spectra method for generating floor response spectra is designed based on deep learning algorithms. The dataset was developed using the records of 102 building observation arrays in the Center for Engineering Strong Motion Data, which included 48 concrete structures, 44 steel structures and 10 masonry structures. The procedure involves training a deep learning model (FRSNet) with the ground response spectra and easily obtained structural parameters as inputs and the floor response spectra as outputs. Analysis results show that the prediction performance of the model is good on concrete structures, steel structures and masonry structures. The proposed model has sufficient accuracy, and the prediction performance is better than that of other models compared in this article. Finally, the proposed model is validated through two numerical models, a shaking table model structure and an actual structure. Convincing results confirm the accurate prediction capabilities of the proposed method.