On-demand single-photon state generation via nonlinear absorption (4 pages)