Generative AI Models for Learning Flow Maps of Stochastic Dynamical Systems in Bounded Domains