Skip to content

Conversation

@SlimRG
Copy link
Owner

@SlimRG SlimRG commented Aug 12, 2025

What does this PR do?

This PR introduces video outpainting capabilities for the WAN 2.1 model. It provides a WanVideoOutpaintPipeline that extends existing video content by expanding its dimensions (height and/or width) and generating coherent new frames in the padded regions. This leverages WAN's Spatial-Temporal Guidance (STG) to ensure temporal consistency and high-quality content generation in the newly created areas.

The implementation allows users to:

  • Expand video dimensions to desired resolutions or aspect ratios.
  • Fill outpainted regions with AI-generated content based on a text prompt and the original video.
  • Utilize various padding modes (constant, edge, reflect, symmetric).

This feature enhances the utility of WAN 2.1 for video manipulation and content creation.

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