The spectral energy distribution (SED) model should treat the evolution of a galaxy from its birth. Dust in galaxies affects the formation and evolution of galaxies in various ways. For example, dust grains scatter and absorb stellar emitted ultraviolet (UV) photons and re-emit the radiation at infrared (IR) wavelengths. In this work, we construct a galaxy SED model based on our dust evolution model (Asano et al. 2013a,b, 2014) with a rigorous treatment of the chemical evolution. To reduce the computational cost, we adopt mega-grain approximation (MGA; (MGA; Inoue, 2005). MGA regards a high density dusty region as a huge size (10 pc) dust grain for calculating dust scattering. In this approximation, we can solve the radiative transfer easily and provide SEDs and attenuation curves of galaxies. This model can be used to fit any galaxy in the wavelength range of 10 nm-3 mm.