An image processing method for an image processing model, the method comprising:
- encoding, by an encoder of the image processing model, an original image to obtain a visual feature of a to-be-replaced face in the original image;
- and
- performing, by circuitry of a decoder of the image processing model, decoding based on the visual feature of the to-be-replaced face to obtain a target face having the same visual feature as the to-be-replaced face, wherein
- parameters of the decoder are obtained by performing an update according to a target image comprising the target face without changing parameters of the encoder.