Added support for Lora in Video Inference#168
Conversation
Sirsho1997
commented
Jun 12, 2026
|
Important Review skippedAuto reviews are disabled on this repository. To trigger a review, include ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches✨ Simplify code
Comment |
There was a problem hiding this comment.
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 Loranode (RUNWAREVIDEOINFERENCELORA) and register it for both backend and frontend. - Extend
Runware Video Inferenceto accept an optionallorainput and include it in the API request payload. - Add
lightricks:ltx@2.3-opento 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.
| 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" |