Pei Yan, the great detective of Dayin, was demoted to a minor official in Western Xinjiang because his outspoken words offended the powerful. On the way to his post, he traveled with Su Miao, an alchemist who carried secrets, and was involved in a series of unbelievable "nightmare magic cases": living shadow puppets danced at night demanding life, ancient temple murals devoured monks, inn bronze mirrors reflected blood feuds in previous lives, and desert inns transformed into prisons of flesh and blood... Behind each strange case, it pointed to a shocking conspiracy that has been brewing for thousands of years in the depths of Western Xinjiang - someone wants to use billions of living beings as sacrifices to awaken the sleeping "nightmare lord" and subvert the world. Pei Yan used his wisdom to clear away the fog, and Su Miao used mystical skills to fight against the evil. The two of them traveled westward, deep into the desperate situation of the mysterious world, making friends with strange people, fighting against powerful enemies, exploring the truth and protecting the order of the world in the bizarre world of nightmare magic.