Skip to content

Added support for Sync 3models#272

Open
Sirsho1997 wants to merge 2 commits intomainfrom
feature-sync3Update
Open

Added support for Sync 3models#272
Sirsho1997 wants to merge 2 commits intomainfrom
feature-sync3Update

Conversation

@Sirsho1997
Copy link
Copy Markdown
Collaborator

@Sirsho1997 Sirsho1997 commented Apr 13, 2026

Added

  • Updated ISettings:
    • syncMode: Optional[str]
    • mode: Optional[str]
    • emotion: Optional[str]
    • activeSpeakerDetection: Optional[Union[IActiveSpeakerDetection, Dict[str, Any]]]
    • occlusionDetection: Optional[bool]
    • segments: Optional[List[Union[ISegment, Dict[str, Any]]]]
    • tts: Optional[Union[ITTSSettings, Dict[str, Any]]]
  • Added IActiveSpeakerDetection (autoDetect, frameNumber, coordinates, boundingBoxes) with validation for boundingBoxes entries (null or four numeric values).
  • Added ISegment for Sync segments (startTime, endTime, audio, ref, audioStartTime, audioEndTime).
  • Added ITTSSettings for Sync TTS tuning (stability, similarityBoost).
  • Added compatibility aliases:
    • ISyncSegment = ISegment
    • ISyncActiveSpeakerDetection = IActiveSpeakerDetection
    • ISyncSettings = ISyncProviderSettings

Changed

  • Updated ISyncProviderSettings to include Sync 3 fields:
    • mode: Optional[str]
    • emotion: Optional[str]
    • activeSpeakerDetection: Optional[Union[IActiveSpeakerDetection, Dict[str, Any], bool]]
    • occlusionDetection: Optional[bool]
    • segments: Optional[List[Union[ISegment, Dict[str, Any]]]]
  • Added post_init normalization for Sync settings so dictionary inputs are coerced to IActiveSpeakerDetection / ISegment / ITTSSettings objects.

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

Adds Sync 3 model support by extending the SDK’s typed request structures and normalization logic for Sync-related video settings.

Changes:

  • Expanded ISettings and ISyncProviderSettings with Sync 3 fields (mode/emotion/active speaker detection/occlusion/segments).
  • Introduced ISegment and IActiveSpeakerDetection (with boundingBoxes validation) and added backward-compatible aliases.
  • Added __post_init__ coercion so dict inputs are normalized into typed objects.

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

Comment thread runware/types.py
Comment thread runware/types.py Outdated
Comment thread runware/types.py
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.

2 participants