Skip to content

Added upscaleFactor to imageInference#150

Merged
Sirsho1997 merged 1 commit into
mainfrom
feature-ComfyUIImprovementsUI
May 25, 2026
Merged

Added upscaleFactor to imageInference#150
Sirsho1997 merged 1 commit into
mainfrom
feature-ComfyUIImprovementsUI

Conversation

@Sirsho1997
Copy link
Copy Markdown
Contributor

image

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 25, 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: 581ebc60-38ab-41ea-b64a-30d749c9c85e

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-ComfyUIImprovementsUI

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

Copy link
Copy Markdown

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

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 + upscaleFactor inputs to the Image Inference node and included upscaleFactor in the API payload when enabled (with validation).
  • Updated client UI toggle handling so upscaleFactor is enabled/disabled based on useUpscaleFactor.
  • 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.

@Sirsho1997 Sirsho1997 merged commit ccf055a into main May 25, 2026
2 checks passed
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