The goal of the present paper is to obtain new free field realizations of affine Kac-Moody algebras motivated by geometric representation theory for generalized flag manifolds of finite dimensional semisimple Lie groups. We provide an explicit construction of a large class of irreducible modules associated with certain parabolic subalgebras covering all known special cases.