Yu Zao, a modern girl who masters psychology, wears a book and becomes a young eunuch of the Yangxin Palace. She disguises herself as a man in order to hide her gender and survive. By some mistake, she was raped by the tyrant He Huaijing who had taken a love potion, and from then on she served the emperor in fear. Due to childhood trauma, He Huaijing developed a split personality, with alternately cruel and suspicious personalities and gentle and lovely personalities. Yu Zao relied on hypnosis and intelligence to deal with the plots of the Queen Mother and Concubine Shu, while treating the tyrant's mental illness. She gradually became the emperor's confidant from a humble eunuch, and eventually helped the tyrant consolidate his power and overcome his heartache. The two also went from testing each other to staying together.