Voltar
Video Restyle - After
Video Restyle - Before

This ComfyUI workflow, titled 'Video Restyle', is designed to transform a base video into a stylized version using a reference image. It leverages the WAN 2.1 VACE model, which excels in video style transfer. The workflow incorporates several custom nodes, such as ComfyUI-WanVideoWrapper and comfyui-depthanythingv2, to preprocess and encode video data efficiently. The process begins with loading a base video and a stylized reference image. The video is then preprocessed using edge detection techniques like CannyEdgePreprocessor or depth estimation via DepthAnything_V2. These preprocessing steps help in extracting essential features from the video frames, which are crucial for the style transfer process.

The workflow is particularly useful due to its flexibility and precision in video restyling. By combining various nodes like WanVideoModelLoader and WanVideoSampler, it allows for detailed control over the video transformation process. Users can experiment with different preprocessing techniques, such as depth versus edge detection, to achieve the desired artistic effect. The integration of the WanVideoVACEEncode node ensures that the final output is a high-quality, stylized video that maintains the original video's dynamics while incorporating the artistic elements from the reference image.