Harnessing optoelectronic noises in a photonic generative network