Purpose: To generate and evaluate individualized post-therapeutic optical coherence tomography (OCT) images that could predict the short-term response of anti-vascular endothelial growth factor (VEGF) therapy for diabetic macular edema (DME) based on pre-therapeutic images using generative adversarial network (GAN). Methods: Real-world imaging data were collected at the Department of Ophthalmology, Qilu Hospital. A total of 561 pairs of pre-therapeutic and post-therapeutic OCT images of patients with DME were retrospectively included in the training set, 71 pre-therapeutic OCT images were included in the validation set, and their corresponding post-therapeutic OCT images were used to evaluate the synthetic images. A pix2pixHD method was adopted to predict post-therapeutic OCT images in DME patients that received anti-VEGF therapy. The quality and similarity of synthetic OCT images were evaluated independently by a screening experiment and an evaluation experiment. Results: The post-therapeutic OCT images generated by the GAN model based on big data were comparable to the actual images, and the response of edema resorption was also close to the ground truth. Most synthetic images (65/71) were difficult to differentiate from the actual OCT images by retinal specialists. The mean absolute error (MAE) of the central macular thickness (CMT) between the synthetic OCT images and the actual images was 24.51 ± 18.56 μm. Conclusions: The application of GAN can objectively demonstrate the individual short-term response of anti-VEGF therapy one month in advance based on OCT images with high accuracy, which could potentially help to improve treatment compliance of DME patients, identify patients who are not responding well to treatment and optimize the treatment program.