Izanagi is a deity who was a child of the seven divine generations in Japanese mythology and Shintoism , and is also referred to in the roughly translated Kojiki as `` male who invites '' , or Izanagi-no-mikoto . Izanagi is a deity born of the seven divine generations in Japanese mythology and Shinto , and is also referred to in the roughly translated Kojiki as `` male-who-invites '' or Izanagi-no-mikoto .