The digital economy drives a surge in online digital image transactions, increasing the risk of data breaches due to extensive image file transmission. Stream ciphers, known for their efficiency compared to block ciphers, have emerged as a preferred choice for encrypting images in such transactions to safeguard transmitted data. Nevertheless, traditional stream cipher algorithms face diverse security threats. To address this challenge, efforts have been devoted to generating stream ciphers by generative adversarial networks (GANs) transforming input style into random patterns. Regrettably, these ciphers face issues in key sensitivity, randomness, and style transformation failures. Quantum true random numbers offer a potential solution but are costly to deploy. To handle this dilemma, we design stream ciphers relied on a neural network random number generator (RNG) using quantum true random numbers for training least squares GANs. Specifically, two fully-connected layers are incorporated into the RNG, avoiding the defects of style transformation in existing GANs-based stream ciphers. Besides, a random number calculation formula is employed to ensure that each decimal place output by the generator contributes to the computation of the random numbers. By doing so, the randomness of GANs is enhanced and the deployment of costly quantum devices is avoided. Experiments reveal that the information entropy of our generated images reaches to 7.9991, the adjacent pixel correlation coefficient of the ciphertext attains -0.0015, the Number of Pixel Change Rate and Unified Average Changing Intensity achieve 99.62% and 33.52%, respectively. These results demonstrate that the designed RNG facilitates randomness, whilst having secure properties applied in stream ciphers.