Jiang Huaiyue, a modern actress, finds herself transmigrated into the body of Princess Yunhe, a minor character in a historical drama she once filmed. On her wedding night to Pei Ji, the Regent Prince and the story's primary antagonist, she discovers she is in grave danger. The original princess was drugged by the male lead, Jiang Jingchen, and subsequently tortured to death by Pei Ji. Determined to survive, Jiang Huaiyue resists the aphrodisiac by inflicting pain upon herself and bathing in cold water, thereby altering the tragic fate written in the script. Pei Ji, suspicious and ruthless, spares her life but remains a lethal threat, viewing her as a pawn sent by the Emperor to spy on him.
Jiang Huaiyue soon learns that her best friend, Su Xiangwan, has also transmigrated into the body of Su Wanwan, the widow of General Xiao Qingrong. The two women reunite and formulate a plan to survive in this hostile world. Jiang Huaiyue decides to play a double game, feeding false information to Jiang Jingchen while attempting to gain Pei Ji's trust. She confronts Pei Ji directly, confessing her role as a spy and proposing a deal: she will serve him in exchange for protection. Pei Ji, intrigued by her boldness and deviation from the original character's timid nature, agrees to the arrangement but continues to watch her closely.
Meanwhile, Su Xiangwan uses her knowledge of traditional crafts to start a business, partnering with a shop owner named Yun Shang to secure financial independence. She recognizes the impending chaos in the empire and understands the need for resources to eventually escape the capital. Jiang Huaiyue, lacking practical skills, relies on her wits and her position as Princess Consort to navigate the treacherous court politics. She faces hostility from Eunuch Yu, a loyal servant of Jiang Jingchen, but is protected by Pei Ji, who asserts his dominance over the imperial court.
The political landscape is further complicated by Pei Ji's hidden past. He is actually Gu Zhilin, the sole survivor of the Gu family, whose father was betrayed and killed by Jiang Jingchen's father, Jiang Qilin. Jiang Qilin usurped the throne, ending the previous dynasty and establishing the current regime. Pei Ji has spent years secretly building power to exact revenge and restore his family's honor. He conspires with He Lan and Shen Yanli to overthrow Jiang Jingchen, using the ongoing war with the Northern Rong tribes as a catalyst. The original plot involved Jiang Jingchen eliminating Pei Ji to consolidate power, but Jiang Huaiyue's presence has introduced significant variables into this equation.
As Jiang Huaiyue spends more time with Pei Ji, the dynamic between them shifts. He tests her loyalty repeatedly, while she struggles to maintain her cover without losing her life. The Emperor, frustrated by her refusal to fully cooperate, plots to retrieve the Soldier's Token of the Divine Strategy Army, the key to controlling the capital's military forces. Jiang Huaiyue finds herself caught between the Emperor's demands and Pei Ji's growing suspicion. Her survival depends on balancing these opposing forces while avoiding the fate of the original characters. The story follows her efforts to change her destiny, protect her friend, and navigate a world where every interaction could lead to death or political upheaval.