The specification discloses a
face synthesis model training method and device, a storage medium and an electronic device. In the method provided in the specification, a face image is obtained and adjusted, an image of a face region of the adjusted face image is taken as a target image, an image obtained by
face synthesis of the target image and the face image before adjustment is taken as a training sample, and a
face synthesis model to be trained is input. The face synthesis model to be trained is trained with the minimum difference between an optimized image output by the model and the face image before adjustment as a training target. As can be seen from the above method, the method pre-adjusts and synthesizes a face image to obtain a training sample, and then trains a face synthesis model to be trained with the minimum difference between an image output by the model and the face image before adjustment as a training target. The face synthesis model trained by the method can make the difference between the foreground and the background of a face synthesis image smaller.