Model infrared spectra for accreting stars