Excessive discharge of antibiotics seriously threatens human health and is thus a global public health problem. This highlights the urgent need to develop intelligent sensing materials for specific antibiotics that are highly visual, fast, convenient, and inexpensive. Herein, two reverse α-octamolybdate polyoxometalates (POMs; Mo8) were used to chelate lanthanide ions to obtain lanthanide POMs (LnPOMs; LnMo16; Ln = Eu, Sm, Tb, Gd) with highly sensitive smart photoresponses to specific antibiotics (ofloxacin [OFN], norfloxacin [NOR], enrofloxacin [ENR], and oxytetracycline [OTC]) and histidine (His) with luminescence turn-on. Specific antibiotics and His, which has an electron-rich structure, can efficiently enhance the antenna effect, thereby greatly improving the luminescence of EuMo16. Surprisingly, OFN and NOR both enhanced the luminescence of Eu(III) ions and Mo8, whereas ENR and OTC only enhanced the luminescence of Eu(III) ions, showing a differentiated sensitization effect. More notably, the combination of POMs and Ln(III) ions enhanced the ability of LnPOMs to produce reactive oxygen species under light irradiation, and these LnPOMs showed significant sterilization effects on Escherichia coli and Staphylococcus aureus. To our knowledge, this is the first time electron-rich antibiotics or amino acids were used to enhance the luminescence of LnPOMs, achieving luminescence-enhanced photoresponse to specific antibiotics and amino acids.