Before joining the imperial court a young Di Renjie was a minor judge in Bianzhou. When his mentor Yan Liben was welcoming Empress Wu back to the imperial court from the Ganye Temple, he encountered a strange ghostly incident called "Qingji". Master Yan was wrongly accused of being the murderer who intended to kill Empress and was jailed. To unravel the mystery, Dee comes to Chang'an alone, and with the help of his lover Gongsun Yu and his friend Yang Lu, a small-time gangster in Chang'an, he solves the "Qing Ji" murder case
The tomb of Yan Dong, the former head of the Six Horsemen Division in Chang'an, is hit by tomb robbers and the Xuanmao pearl, which was used to suppress the demon king, is stolen, leading to the rise of demons in Chang'an City and the unrest of the people. The Chief Steward, Eunuch Fish (Luo Jiaying), orders Ma San (Wu Mengda), Wang Zhuge (Jia Bing) and Lei Yan (Xu Dongdong) of the Six Horsemen Division to suppress the demons and hunt for the pearl, and to hatch a terrifying plot.
The film tells a motivational story of a disabled girl who pursuit her dreams. Gong Beibei, a grade 2 student studied in high school, was misunderstanded as a introverted, reticent freak. When she is alone she has super powers that can levitate and hold things. She likes to record her super-power experience through drawing comics. Due to her mother died in a car accident when she was young and the lack of motor function, she has physical defects which causes her inferiority and loneliness. Until one day she got a car crash, the door of youth gradually opened, which changes her life.