Transforming growth factor β receptor (TGF-β1R) and receptor tyrosine kinases (RTKs), such as VEGFRs, PDGFRs and FGFRs are considered important therapeutic targets in blocking myofibroblast migration and activation of idiopathic pulmonary fibrosis (IPF). To screen and design innovative prodrug to simultaneously target these four classes of receptors, we proposed an approach based on network pharmacology combining virtual screening and machine learning activity prediction, followed by efficient in vitro and in vivo models to evaluate drug activity. We first constructed Collagen1A2-A549 cells with type I collagen as the main biomarker and evaluated the activity of compounds to inhibit collagen expression at the cellular level. The data from the first round of Collagen1A2-A549 cell screening were substituted into the machine learning model, and the model was optimized accordingly. As a result, the false positive rate of the model was reduced from 85.0% to 66.7%, and two prospective compounds, Z103080500 and Z104578368, were finally selected. Collagen levels were reduced effectively by both Z103080500 (67.88% reduction) and Z104578368 (69.54% reduction). Moreover, these two compounds showed low cellular cytotoxicity. Subsequently, the effect of Z103080500 and Z104578368 was evaluated in a bleomycin-induced C57BL/6 mouse IPF model. These results showed that 50 mg/kg Z103080500 and Z104578368 could effectively reduce the number of inflammatory cells and the expression level of α-SMA. Meanwhile, Z103080500 and Z104578368 reduced the expression of major markers and inflammatory factors of IPF, such as collagen, IFN-γ, IL-17 and HYP, indicating that these screened Z103080500 and Z104578368 effectively delayed lung tissue inflammation and had a potential therapeutic effect on IPF. Our findings demonstrate that a screening and evaluation model for prodrug against IPF has been successfully established. It is of great significance to further modify these compounds to enhance their potency and activity.