A modern girl accidentally transmigrates into a novel and becomes Xiao Baobao, the newborn Princess Yongning of the Great Yin Dynasty. She nearly gets sent to the Cold Palace by her misogynistic and fatuous father, Emperor Xiao Chengye. But when the emperor unexpectedly hears his daughter’s inner voice, he learns of his own tragic fate: subjugation and a cruel death. From then on, he regards her as his lucky star and dotes on her endlessly. Relying on her knowledge of the plot, Xiao Baobao exposes the schemes of evil concubines and treacherous officials, resolves crises in the court and at the border, recommends talented people, and improves craftsmanship. She assists her father in eliminating villains and stabilizing the dynasty. In the end, Great Yin enjoys peace and prosperity. Emperor Xiao Chengye becomes a wise ruler, Consort Shen Shufei is crowned empress, and Xiao Baobao, still a young child, forges a legend of a flourishing age.