Wan2.1 VACE Outpainting

Generate extended videos by expanding video size using Wan VACE outpainting.

About

This ComfyUI workflow teaches you how to outpaint a video—expanding its canvas while keeping the original content intact—using Wan 2.1 VACE. It loads your source clip with LoadVideo and extracts dimensions and frame count via GetVideoComponents and PreviewImage. You then define where to expand using ImagePadForOutpaint and a mask built from ImageToMask/MaskToImage, replicated across time with RepeatImageBatch. Prompts are encoded with CLIPTextEncode, and generation runs through KSampler with ModelSamplingSD3 scheduling on a Wan 2.1 VACE UNet/Decoder stack (UNETLoader, VAELoader), with VAEDecode converting latents to frames.

What you provide

  • Reading the workflow

Runs in ComfyUI. This workflow can't run on this page. Open it in Comfy Cloud with everything loaded, or download it for your own ComfyUI.

Try in Cloud
Output
ExampleSample output
Sample output

Questions & answers