Yaoji was the beautiful daughter of Chidi, a minor god in the southern provinces of China. She died when she was young, and was buried on the Wushan mountain.

While on a pleasure trip, the king of Chu decided to camp overnight alongside a river. As he nodded off to sleep, a beautiful maiden, Yaoji, appeared in his dream. Taking pity on his loneliness, she lay down and shared his mat with him. Toward dawn, she readied to take her leave of him. The king, who was totally enamored with her, asked where she lived. She replied: "My home is on the precipice of the Wushan mountain. There you will find me. I am the crimson cloud in the morning, and the misty rain at twilight."

The king awoke with a start. Overwhelmed with love for his beautiful Yaoji, he had a temple erected on that very spot, in honor of the night he spent with her. Centuries later, poets still celebrate the story of the king and the maiden with their flowery words. And from this tale derives the Chinese euphemism "cloud and rain", which denotes that intimate encounter between two lovers.