Skip to content

Added support for Wan2.7#267

Merged
Sirsho1997 merged 5 commits intomainfrom
feature-wan2_7_update
Apr 3, 2026
Merged

Added support for Wan2.7#267
Sirsho1997 merged 5 commits intomainfrom
feature-wan2_7_update

Conversation

@Sirsho1997
Copy link
Copy Markdown
Collaborator

Added

  • ISettings now includes:

    • editRegions: Optional[List[List[List[int]]]]
    • sequential: Optional[bool]
    • thinking: Optional[bool]
    • colorPalette: Optional[List[Union[IColorPaletteEntry, Dict[str, Any]]]]
  • Added new dataclass: IColorPaletteEntry

    • hex: str
    • ratio: Optional[Union[str, float]]
  • IInputs now includes images: Optional[List[Union[str, File]]]

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR extends the SDK’s request dataclasses to support new Wan2.7-related parameters by expanding ISettings and IInputs, and adding a new structured type for color palettes.

Changes:

  • Added IColorPaletteEntry and introduced ISettings.colorPalette with dict-to-dataclass coercion in ISettings.__post_init__.
  • Extended ISettings with editRegions, sequential, and thinking.
  • Extended IInputs with images: Optional[List[Union[str, File]]].

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Sirsho1997 Sirsho1997 merged commit bc12af9 into main Apr 3, 2026
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