Skip to content

Added support for Lora in Video Inference#168

Open
Sirsho1997 wants to merge 1 commit into
mainfrom
feature-lora-video
Open

Added support for Lora in Video Inference#168
Sirsho1997 wants to merge 1 commit into
mainfrom
feature-lora-video

Conversation

@Sirsho1997

Copy link
Copy Markdown
Contributor
image

@Sirsho1997 Sirsho1997 requested a review from Copilot June 12, 2026 13:18
@coderabbitai

coderabbitai Bot commented Jun 12, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. To trigger a review, include coderabbit-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: f35be845-7032-42ae-b1e8-7a31fc75fc2c

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-lora-video

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

Copilot AI left a comment

Copy link
Copy Markdown

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 adds a new LoRA configuration node and wires it into the Runware Video Inference request payload, plus updates the video model search lists to include an additional Lightricks model variant.

Changes:

  • Add Runware Video Inference Lora node (RUNWAREVIDEOINFERENCELORA) and register it for both backend and frontend.
  • Extend Runware Video Inference to accept an optional lora input and include it in the API request payload.
  • Add lightricks:ltx@2.3-open to video model search mappings (Python + client JS).

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
modules/videoModelSearch.py Adds lightricks:ltx@2.3-open to model lists and dimension/resolution maps.
modules/videoInferenceLora.py Introduces a new node that outputs a LoRA config object for video inference.
modules/videoInference.py Accepts optional lora input and injects it into genConfig payload.
modules/utils/runwareUtils.py Changes the default API base URL (flagged as a high-impact, out-of-scope change).
clientlibs/utils.js Mirrors the new Lightricks model option/dimension/resolution support in the frontend filter handler.
clientlibs/types.js Registers the new Runware Video Inference Lora node type and UI props.
init.py Imports and registers Runware Video Inference Lora in NODE_CLASS_MAPPINGS.

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

Comment on lines 157 to +161
def getCustomEndpoint():
custom_endpoint = os.getenv("RUNWARE_CUSTOM_ENDPOINT")
if custom_endpoint and isinstance(custom_endpoint, str):
return custom_endpoint
return "https://api.runware.ai/v1"
return "https://api.runware.dev/v1"
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