The study aimed to examine the mediating roles of AIP, fatty liver, and HbA1c in the relationship between C-index and diabetes risk, providing a comprehensive understanding of their complex interactions and proposing novel strategies for diabetes risk management. Here, AIP is linked to diabetes mellitus.