Mediation analysis suggests that the AIP partially mediates the relationship between obesity indices and diabetes risk, implying that obesity may indirectly increase diabetes risk by elevating the AIP. Here, AIP is linked to obesity due to melanocortin 4 receptor deficiency.