Added upscaleFactor to imageInference#150
Conversation
Sirsho1997
commented
May 25, 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 an optional upscaleFactor parameter to the Runware Image Inference node so workflows can request server-side upscaling (1x/2x/4x) as part of an imageInference task, along with UI toggle behavior and an example workflow demonstrating the feature.
Changes:
- Added
useUpscaleFactor+upscaleFactorinputs to the Image Inference node and includedupscaleFactorin the API payload when enabled (with validation). - Updated client UI toggle handling so
upscaleFactoris enabled/disabled based onuseUpscaleFactor. - Added a new workflow JSON showcasing Ideogram v3 image inference with
upscaleFactor.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| workflows/Runware_Image_Inference_Ideogram_v3_upscale_factor.json | Adds an example workflow that uses the new useUpscaleFactor / upscaleFactor inputs. |
| modules/imageInference.py | Introduces new node inputs and conditionally appends upscaleFactor to the imageInference request with allowed-values validation. |
| clientlibs/utils.js | Ensures the new upscaleFactor widget is toggled correctly in the Image Inference UI. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.