The invention discloses a model training method, a
video processing method,
electronic equipment and a storage medium, and relates to the technical field of
video processing and large models. The method comprises the following steps: acquiring training video data; performing
video reconstruction processing on the training video data by using an initial video variational self-encoding model to obtain a reconstruction result, the initial video variational self-encoding model being used for performing
key frame space compression and overall
time sequence compression on a plurality of video frame groups in the training video data to complete
video reconstruction; and training the initial video variational self-encoding model based on the training video data and the reconstruction result to generate a target video variational self-encoding model, the target video variational self-encoding model being used for providing reconstructed video data for the initial video generation model to
train and generate the target video generation model. According to the method and the device, the technical problems of low reconstruction result quality and slow optimization of the video variational auto-
encoder model in the related technology are solved.