The Yinyang Master is a Chinese fantasy film directed by Li Weiran that stars Chen Kun and Zhou Xun and was released in 2021. It is based on the NetEase game Onmyji (which is based on novelist Baku Yumemakura's novel series of the same name). It was shot in 2018 and released in China on February 12, 2021, on the first day of the Chinese New Year. The Yin Yang Master was released on March 19, 2021, by Netflix, who had bought the international streaming rights.
Qing Ming, a Yinyang Master, is a Yinyang Bureau official who protects demon souls and a mystical item known as the Scale Stone. He flees after being blamed for the deaths of a guard team and his superior, Cimu, and begins a new life as a traveler between the human and demon realms.
When the demon king threatens to return seven years later, he becomes involved in the stealing of Imperial tributes carried by Boya. He's also being pursued by Bai Ni, the chief of the Yinyang Bureau, with whom he made an agreement. Qing Ming, trapped in a demon world fighting arena, escapes with an injured Bai Ni, Boya, and their companions. Qing Ming is found to have been caring for and training a team of demons in preparation for the Demon King's return. Bai Ni is healed by Qing Ming and reclaims the Scale Stone, which was consumed by one of Qing Ming's demons mistakenly. Bai Ni is ambushed by Cimu and his henchwoman the Snow Lady on her way back to the Bureau, and the Scale Stone is stolen. Cimu reveals that he has craved monster power since witnessing Qing Ming exhibit it when they were younger, and he adopts the Snow Lady as his familiar in order to devise a scheme to steal the Scale Stone. Cimu now uses the reclaimed Scale Stone to transform himself into a strong demon, and he utilizes his newfound strength to launch a demon invasion of the human world.
Cimu defeats Qing Ming, who must make a deal with the Demon King to receive his abilities, while Boya and Qing Ming's demons protect the bridge between the two realms. He defeats Cimu and chooses to leave Bai Ni, Boya, and his demons in the human world while he returns to the demon realm.