Text this: Nonparametric Estimation of a Factorizable Density using Diffusion Models