A temporary frequency response test and measurement error prediction method of direct current voltage transformer (DCTV) based on artificial intelligence (AI) is proposed. Firstly, the frequency characteristic of direct current (DC) side voltage of DCTV is analyzed. On this basis, a DCTV transient Frequency Response testing method based on transient alternating current (AC) & DC superposition was developed. Then, the method of voltage sudden change and phase correction is used to achieve transient process DCTV response time testing. Finally, the ant colony optimization (ACO) algorithm was improved by combining an adaptive inertia weight improvement strategy, achieving accurate prediction of the Measurement Error of DCTV. The proposed AI based DCTV transient Frequency Response testing and Measurement Error prediction method were compared and analyzed with the other three methods through simulation experiments. Compared to the other three comparison methods, the maximum transformation error in the evaluation indicators of mean squared error (MSE), root mean squared error (RMSE), and mean absolute error (MAE) decreased by 0.006, 0.0119, and 0.0085, respectively, while the maximum phase error decreased by 0.2794, 0.3004, and 0.2823, respectively.