Skip to content

Added support for Pruna P-Video Replace#306

Open
Sirsho1997 wants to merge 1 commit into
mainfrom
feature-pruna-p-video-replace
Open

Added support for Pruna P-Video Replace#306
Sirsho1997 wants to merge 1 commit into
mainfrom
feature-pruna-p-video-replace

Conversation

@Sirsho1997
Copy link
Copy Markdown
Collaborator

@Sirsho1997 Sirsho1997 commented Jun 4, 2026

Added

ISettings now includes:

  • sourceAudioSync : Optional[bool] = None

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Jun 4, 2026

Important

Review skipped

Auto reviews are disabled on this repository. To trigger a review, include review in the PR description. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 1c2c156b-1c92-45f8-8b4c-1a05e64d5820

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch feature-pruna-p-video-replace

Comment @coderabbitai help to get the list of available commands and usage tips.

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 an additional video-related settings flag and ensures video inference requests properly normalize a direct inputs.video media value before sending the request.

Changes:

  • Extend ISettings with optional sourceAudioSync to support Pruna P-Video Replace scenarios.
  • Normalize requestVideo.inputs.video via _process_media so local file paths (and other supported media formats) are handled consistently.

Reviewed changes

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

File Description
runware/types.py Adds ISettings.sourceAudioSync as an optional boolean setting included in serialized payloads.
runware/base.py Processes inputs.video through _process_media during video inference request preparation.

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

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