If you are interested in face swap in video, I recommend connecting DeepFace API https://yesai.su/en/docs/deep_face_video The site has detailed instructions for all functions and you can also find out all the important nuances of connecting the API, so you will definitely not have any problems...