This is the second paper of a series reporting the results from the popstar evolutionary synthesis models. Here, we present synthetic emission-line spectra of HII regions photoionized by young star clusters, for seven values of cluster masses and for ages between 0.1 and 5.2Myr. The ionizing spectral energy distributions (SEDs) are those obtained by the popstar code for six different metallicities, with a very low-metallicity set, Z=0.0001 , not included in previous similar works. We assume that the radius of the HII region is the distance at which the ionized gas is deposited by the action of the mechanical energy of the winds and supernovae from the central ionizing young cluster.