The Pan Gu story has become firmly fixed in Chinese tradition. There is even an idiom relating to it: "Since Pan Gu created earth and the heavens," meaning "for a very long time." Nevertheless, it is rather a latecomer to the catalog of Chinese legends. First mention of it is in a book on Chinese myths written by Xu Zheng in the Three Kingdoms period (CE 220-265). Some opinions hold that it originated in south China or southeast Asia.
There are several versions of the Pan Gu story.
Among the Miao, Yao, Li and other nationalities of south China, a legend concerns Pan Gu the ancestor of all mankind, with a man's body and a dog's head. It runs like this: Up in Heaven the God in charge of the earth, King Gao Xin, owned a beautiful spotted dog. He reared him on a plate (pan in Chinese ) inside a gourd (hu, which is close to the sound gu ), so the dog was known as Pan Gu . Among the Gods there was great enmity between King Gao Xin and his rival King Fang. "Whoever can bring me the head of King Fang may marry my daughter, " he proclaimed, but nobody was willing to try because they were afraid of King Fang's strong soldiers and sturdy horses.
The dog Pan Gu overheard what was said, and when Gao Xin was sleeping, slipped out of the palace and ran to King Fang. The latter was glad to see him standing there wagging his tail. "You see, King Gao Xin is near his end. Even his dog has left him," Fang said, and held a banquet for the occasion with the dog at his side.