As a two-dimensional electromagnetic metamaterial, the cross-polarization conversion (CPC) metasurface is thin, easy to develop, and has attracted wide attention. However, existing CPC cell surface designs still rely on inefficient full-wave numerical simulation. Although some researchers have explored deep learning CPC metasurface structure design methods, the generated metasurface patterns are of poor quality. In this paper, an on-demand design method for cross-polarization conversion metasurface based on depth-generation model is proposed. Firstly, Wasserstein generative adversarial network (WGAN) is used to reverse design CPC metasurface, and Wasserstein distance is introduced to replace JS divergence and KL divergence to optimize the target. The problem of training difficulty caused by gradient elimination of original generative adversarial network (GAN) is fundamentally solved. Secondly, in the WGAN model, U-Net architecture generator is used to generate images, which greatly improves the surface image quality of CPC. In addition, a simulator composed of convolutional neural network (CNN) is also added in this paper to carry out forward prediction of S-parameter spectrum diagram. By inputting the patterns generated by WGAN into the simulator, the corresponding S-parameter spectrum diagram is generated and compared with the real S-parameter spectrum diagram, so as to verify whether the surface patterns of generated elements meet the requirements. The depth generation model proposed in this paper organically combines the forward spectrum prediction model and the reverse CPC metasurface structure design model, so that the CPC metasurface structure satisfying the expected electromagnetic response can be designed quickly on demand. This on-demand design method is expected to promote the rapid design, fabrication and application of electromagnetic devices.