In 794 AD, during the period of Emperor Huanwu of Japan, Nagaoka in Kyoto was cursed by his brother Prince Zaoliang, resulting in frequent natural and man-made disasters. Emperor Huan Wu was forced to move his capital to Pingan Beijing, which opened the prelude to the 400-year peace era. At that time, the struggle among the dignitaries was fierce, and the people lived a miserable life, so there were many grievances in the world, and people, ghosts and monsters lived together holding their breath. Onmyoji, who belong to the Yinyangliao of the court, have been active on the historical stage since then as a balance of contradictions among heaven, earth, people and ghosts, the most dazzling of which is the enigmatic Abe Qingming (Wanzhai Nomura). The right guard Lieutenant General Hiroya Yuan (Yingming Ito) is entrusted to visit Abe and is deeply impressed by the strange sight he witnessed and his personal charm, which is also attracted by Boya's integrity. The story begins with the two people's fateful acquaintance and precious friendship. Strange things have happened frequently in the court recently. Zuo Minister Fujiwara Shibuke's daughter's birthday Prince Dunhei, the baby was born with a curse. Qingming invites honey worms (Ishiko Ishii) and mysterious woman Qingyin (Koizumi today) to dissolve the curse with Boya, but they are framed. It turns out that everything is done by Yin Yang Tou Daozun (Hiroshi Makada). He took advantage of the conflicts between the left and right ministers and the competition between the concubines.