Background: Patient-specific lumbar spine models are crucial for enhancing diagnostic accuracy, preoperative planning, intraoperative navigation, and biomechanical analysis of the lumbar spine. However, the methods currently used for creating and analyzing these models primarily involve manual operations, which require significant anatomical expertise and often result in inefficiencies. To overcome these challenges, this study introduces a novel method for automating the creation and analysis of subject-specific lumbar spine models. Methods: This study utilizes deep learning algorithms and smoothing algorithms to accurately segment CT images and generate patient-specific three-dimensional (3D) lumbar masks. To ensure accuracy and continuity, vertebral surface models are then constructed and optimized, based on these 3D masks. Following that, model accuracy metrics are calculated accordingly. An automated modeling program is employed to construct structures such as intervertebral discs (IVD) and generate input files necessary for Finite Element (FE) analysis to simulate biomechanical behavior. The validity of the entire lumbar spine model produced using this method is verified by comparing the model within vitro experimental data. Finally, the proposed method is applied to a patient-specific model of the degenerated lumbar spine to simulate its biomechanical response and changes. Results: In the test set, the neural network achieves an average Dice coefficient (DC) of 97.8%, demonstrating high segmentation accuracy. Moreover, the application of the smoothing algorithm reduces model noise substantially. The smoothed model exhibits an average Hausdorff distance (HD) of 3.53 mm and an average surface distance (ASD) of 0.51 mm, demonstrating high accuracy. The FE analysis results agree closely within vitro experimental data, while the simulation results of the degradation lumbar model correspond with trends observed in existing literature.