During the Kaiyuan period of the Tang Dynasty, the palace maid Ling Wei was selected into the imperial dining room because she was good at preparing medicinal meals. The concubines in the harem competed for favors through meals, and the imperial dining room became a battlefield for power games. Ling Wei stuck to her heart and refused to prepare harmful meals for her concubines, which put her in danger many times. With her precise control of ingredients, she prepared nourishing medicinal meals for the frail Ninth Prince, winning his trust. In the process, he and Qin Yue, the manager of the imperial kitchen, supported each other and exposed the harem's conspiracy to use food to assassinate.