BackgroundMeasuring spinal alignment with radiological parameters is essential in patients with spinal conditions likely to be treated surgically. These evaluations are not usually included in the radiological report. As a result, spinal surgeons commonly perform the measurement, which is time-consuming and subject to errors. We aim to develop a fully automated artificial intelligence tool to assist in measuring alignment parameters in whole-spine lateral radiograph (WSL X-rays). Material and MethodsWe developed a tool called Vertebrai that automatically calculates the global spinal parameters (GSP): Pelvic incidence (PI), sacral slope (SS), pelvic tilt (PT), L1-L4 angle, L4-S1 lumbo-pelvic angle, T1 pelvic angle (TPA), sagittal vertical axis (SVA), cervical lordosis (CL), C1-C2 lordosis, lumbar lordosis (LL), mid-thoracic kyphosis (MTK), proximal thoracic kyphosis (PTK), global thoracic kyphosis (GTK), T1 slope (T1S), C2-C7 plummet (cSVA), spino-sacral angle (SSA), C7 tilt (C7T), global tilt (GT), spinopelvic tilt (T1SPi) and hip odontoid axis (OD-HA). We assessed human-AI interaction instead of AI performance alone. We compared the time to measure GSP and inter-rater agreement with and without AI assistance. Two institutional datasets were created with 2267 multilabel images for classification, and 784 WSL X-rays with reference standard landmark labeled by spinal surgeons. ResultsVertebrai significantly reduced the measurement time comparing spine surgeons with AI assistance and the AI algorithm alone, without human intervention (3 minutes vs 0.26 minutes; p < 0.05). Vertebrai achieved an average accuracy of 83% in detecting abnormal alignment values, with the SS parameter exhibiting the lowest accuracy at 61.5% and T1SPi demonstrating the highest accuracy at 100%. Intra-class correlation analysis revealed a high level of correlation and consistency in the global alignment parameters. ConclusionsVertebrai's measurements can accurately detect alignment parameters, making it a promising tool for measuring GSP automatically.