The primary cells involved in keratogenesis are the keratinocytes. These cells originate from the basal layer of the epidermis and undergo a series of differentiation stages. As they move up through the epidermal layers, they accumulate keratin, a fibrous structural protein.