Given the risk of ROP reactivation after anti-VEGF therapy and the crucial need for timely intervention, this study established prediction models for ROP reactivation after anti-VEGF treatment using machine learning algorithms based on pretreatment data, including clinical risk factors and retinal images. This evidence concerns the gene VEGFA and retinopathy of prematurity.