The present disclosure provides an image warping method and an image warping device, including: obtaining an image or a video; identifying at least one target portion of a to-be-warped portrait in the image or the video; and performing a warping process on the target portion using a preset warping algorithm, where the warping process includes one or more of the following processes: enlarging, narrowing down, or shifting. In this way, a portrait in the image or the video can be beautified automatically, without a manual beautification of the image from a user, making the beautification more intelligent and simpler, thereby improving the user experience. Moreover, according to the method of the present disclosure, a warping process can be performed on an image or a video online in real time, or performed on a stored image or a stored video offline, allowing the image warping method to be more widely used.