Skip to content

Conversation

@SlimRG
Copy link
Owner

@SlimRG SlimRG commented Aug 12, 2025

Add WAN 2.1 Video Outpaint Examples

This PR introduces comprehensive examples for performing video outpaint using the WAN 2.1 model. Video outpaint allows users to extend the boundaries of an existing video (left, right, top, or bottom) and fill the newly created regions with AI-generated content, ensuring temporal consistency with the original footage.

The examples include:

  • wan_video_outpaint.py: A full-featured pipeline with a command-line interface for flexible outpainting.
  • wan_video_outpaint_simple.py: A simplified demo script for quick testing and understanding.
  • Supporting files: requirements_wan_outpaint.txt, README_wan_video_outpaint.md (detailed usage and tips), and test_wan_outpaint.py.

This enables users to easily expand video scenes, add context, or change aspect ratios while leveraging WAN 2.1's capabilities for high-quality, temporally consistent generation.

Before submitting

Who can review?

Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

@yiyixuxu @sayakpaul


Open in Cursor Open in Web

@cursor
Copy link

cursor bot commented Aug 12, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants