With the development of artificial intelligence, there has been a wave of innovation in the field of music creation and performance. In this paper, we propose a novel generative adversarial network architecture, which can generate adaptive piano accompaniment in real time. In the network, the generator generates piano accompaniment based on the input melody, and the discriminator evaluates the quality difference between the generated accompaniment and the professional accompaniment, and improves the quality of the accompaniment through the adversarial learning mechanism. The network design foc...