Text this: Normalizing flows for high-dimensional detector simulations