In Japanese mythology, the Kamiyo-nanayo (神世七代, lit. "Seven Generations of the Age of the Gods") are the seven generations of kami that emerged after the formation of heaven and earth.[1]
According to the Kojiki, these deities appeared after the Kotoamatsukami, which appeared at the time of the creation of the universe. The first two generations were hitorigami while the five that followed came into being as male-female pairs of kami: male deities and sisters that were at the same time married couples. In total the Kamiyonanayo consist of 12 deities in this chronicle.[1]
In contrast, the chronicle Nihon Shoki, points out that this group was the first to appear after the creation of heaven and earth. It also states that the first three generations of deities were hitorigami and that the other generations of deities were pairs of the opposite sex. Finally the Nihon Shoki uses a different spelling for the names of all deities.