At that time, it was Tang Xuanzong who ordered Li Bai to write poems. Tang Xuanzong and Yang Guifei enjoyed peony and wine together. They thought the scene was beautiful and wanted to express their feelings with a poem, so they thought of Li Bai, and then they called Li Bai and asked him to express the scene with a poem. Therefore, after Li Bai came, he wrote three "Qing Ping Diao". At that time, when Li Bai was writing a poem, Emperor Xuanzong of the Tang Dynasty gave him a theme, enjoying flowers and praising the princess. At that time, concubine meant Yang Guifei, and Tang Xuanzong clearly pointed it out to Li Bai, that is, let him write a poem praising Yang Guifei, and then Li Bai got this theme and wrote three "Qing Ping Diao" to praise Yang Guifei.
After Li Bai wrote these three poems, they were well received by Emperor Xuanzong of the Tang Dynasty and Yang Guifei. Li Bai wrote Yang Guifei beautifully through these three poems, and then Yang Guifei couldn't help being shy after seeing these three poems, because she felt that Li Bai wrote her beautifully, so she was very happy. Tang Xuanzong was happy to see Yang Guifei, and he was also happy.
In fact, it was not unintentional that Li Bai wrote this song "Qingpingdiao" at that time, but Tang Xuanzong asked him to write it after he set a theme for him.