Pei Yuanfu is accompanying Emperor Yizong of the Tang Dynasty on a hunting trip when he encountersShu Yulian at the Oriole and Flower Terrace. While hunting, the emperor accidentally falls off his horse. Passing by, Yulian rescues him and takes him to her home. Seeing how handsome the emperor is,Yulian’s sister Liuyan claims to be his savior. The emperor reveals to her his identity and makes her his concubine. She later gives birth to a girl called Xiaoman. Imperial Concubine Wang is so jealous that she issues orders to kill Liuyan and her daughter while sabotaging Imperial Concubine Chang. Liuyan flees home and begs her sister to adopt the baby. The emperor dies of rage over what Imperial Concubine Wanghas done. Yulian burns down her house and goes away to live with Xiaoman in seclusion.
Eighteen years later, the emperor’s son, Li Yi, encounters Xiaoman while hunting and falls in love with her at first sight. However, his aunt and his fiancée the Princess Huiji, disapprove of their relationship and drive the girl out of the palace. Xiaoman leaves Yi a love song in a Buddhist scripture. In order to avoid meeting anyone from the palace, Xiaoman moves to Plum Blossom Village with Yulian but runs into Li Yi despite her efforts. Yulian discloses the truth about Xiaoman and Li realizes that the woman he loves is actually his sister. Xiaoman is made Princess Yinghua (Oriole and Flower) and Liuyan is posthumously honored.