Gao Sheng (played by Adam Cheng), a gifted young scholar who topped the imperial examinations, wins the favor of the Yongzheng Emperor and is appointed as the study companion to Hongli—the future Qianlong Emperor. Gao Sheng spends over twenty years in the Forbidden City. He is not only the emperor's reading companion but also solves countless problems, big and small, for the Qianlong Emperor. Yet Qianlong is jealous of Gao Sheng's outstanding talent and learning, so Gao Sheng holds no official post—though he lives a carefree life nonetheless. A newly arrived palace maid, Ruyi (played by Tavia Yeung), catches the emperor's fancy, but because of Ruyi's lowly status and the empress's authority, he never manages to win her. Just then, Ruyi is framed on a trumped-up charge and ends up lost outside the palace, her whereabouts unknown. Qianlong orders Gao Sheng to track down Ruyi, and Gao Sheng seizes the chance to experience the vast world beyond the palace, arriving in Yangzhou. There he finds news of Ruyi and meets Su San (played by Sheren Tang), the chivalrous courtesan and proprietress of the Ten Thousand Flowers Pavilion. The two go from finding each other unbearable to developing a deep mutual understanding—but things can never go smoothly...