The embodiment of the invention provides a video generation model training method, a video generation method, a medium and a program product, and the training method comprises the steps: carrying out the pre-training of a generation model based on a first training
data set, determining a corresponding video generation model, and enabling the first training
data set to comprise training video data divided into a plurality of video blocks; training data in a second training
data set are input into the video generation model, corresponding video data are output, and the training data comprise audio data and reference pictures; and adjusting the video generation model based on a scoring model to obtain a trained video generation model. The block scheduling
processing is realized through pre-training, the real-time performance and efficiency of the
processing are improved, the knowledge of the scoring model is efficiently transferred to the video generation model, the problem of high model reasoning
delay is solved, the visual quality can be maintained, the
processing speed is remarkably improved, and the problem of long-term consistency of a long video is solved.