In a bid to resolve lingering problems in cosmology, more focus is being tilted towards cosmological models in which physical constants of nature are not necessarily real constants, but varying with cosmic time. In this paper we have study cosmology in nonlinear electrodynamics with the Newton's gravitational constant $G$ not a constant but vary in form of power-law of the scale factor of the universe. The evolution of the scale factor $a (t)$ is studied in this model which depends on nonlinear electrodynamics fine tuning term of $\alpha$. Then we check the stability of the model using the speed of sound.