ComfyUI Node

P-Image Upscale

Outsource the upscale, keep the quality

By Runware·Created 2 years ago·Updated about a month ago· 140
P-Image Upscale
  • image
  • image
upscaleFactorfalse
upscaleFactor_value2
targetMegapixelsfalse
targetMegapixels_value1
settings.enhanceDetailsfalse
settings.realismfalse
ttlfalse
ttl_value60
outputFormatJPG
outputQuality95

P-Image Upscale is the Pruna node for when your image needs to be big and you'd rather not babysit a local upscaler. You feed it an IMAGE, and it returns a larger IMAGE - and unlike a dumb resize, it's a learned upscaler that invents detail rather than blurring pixels. The KB's upscaling essay makes the case for why this matters: upscaling is where a lot of local workflows either produce mush or require a careful tile-based pipeline. This node hands you the tile pipeline in a box, running on Pruna's cloud.

The two levers you get are the interesting part, because they cover the two different jobs an upscaler can do. upscaleFactor doubles width and height per step. targetMegapixels instead says "I want output around this many megapixels" and lets the model figure out the factor. Different mental models, same output quality.

What you actually set

  • image - required, an IMAGE socket. The source to upscale.
  • upscaleFactor - gated toggle, default 2 when enabled. A value of 2 doubles width and height (4x the pixels).
  • targetMegapixels - gated toggle, default 1, capped at 128 MP. The alternative to factor-based scaling: pick the target size, let the model choose the rest.
  • settings.enhanceDetails - sharpens fine textures. The tooltip is honest: may increase contrast and introduce small deviations from the original.
  • settings.realism - improves realism, may deviate more from the original, recommended for AI-generated images. That last bit is the practical tip - AI images often have that smooth, waxy look that a realism pass fixes.
  • outputFormat - JPG, PNG, WEBP.

Output: one image socket, type IMAGE. Wire it into Save Image and you're done - the upscaled file lands in your output folder.

Install

One-time pack install: ComfyUI Manager → search Runware → install → restart, or

cd ComfyUI/custom_nodes
git clone https://github.com/Runware/ComfyUI-Runware
pip install -r ComfyUI-Runware/requirements.txt

API key into ComfyUI Settings → Runware API key or RUNWARE_API_KEY. Light dependencies, no model downloads.

Where people get burned

  • The gated toggles are off by default. upscaleFactor and targetMegapixels are both gated - you have to enable the toggle before the value field does anything. New users stare at the defaults and wonder why nothing scaled. Flip the switch.
  • Realism and enhanceDetails change the image. They're not free passes; they trade fidelity for perceived quality. On a clean photo you may not want either. On AI art, realism is usually a win.
  • 128 MP is a big file. The cap exists for a reason; upscaling to it produces enormous PNGs that are slow to save and share.
  • It's a paid run. Per-run cost prints on the title bar. A 4x upscale is a small bill, but batch-upscaling a folder adds up.

The takeaway: if you've got a local upscaler that works, you probably don't need this. If you don't want to set one up, or you're upscaling AI output and want the realism pass, this node is the shortest path to a big, clean image.

CategoryRunware/Image/prunaai

Inputs (11)

NameTypeDefaultDescription
imageIMAGE
upscaleFactoroptBOOLEANfalseEnable to set upscaleFactor. This setting has usage rules in this model, so it is off unless you enable it.
upscaleFactor_valueoptINT22–16Factor by which to upscale the generated image. A value of 2 doubles width and height.
targetMegapixelsoptBOOLEANfalseEnable to set targetMegapixels. This setting has usage rules in this model, so it is off unless you enable it.
targetMegapixels_valueoptINT11–128Target resolution in megapixels. Output is capped at 128 MP.
settings.enhanceDetailsoptBOOLEANfalseEnhances fine textures and small details. May increase contrast and introduce minor deviations from the original.
settings.realismoptBOOLEANfalseImproves realism in the upscaled image. May deviate more from the original. Recommended for AI-generated images.
ttloptBOOLEANfalseEnable to set ttl. Off uses the model's default.
ttl_valueoptINT60Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.
outputFormatoptCOMBOJPGFile format for the generated image.
outputQualityoptINT9520–99Compression quality of the output. Higher values preserve quality but increase file size.

Outputs (1)

NameTypeDescription
imageIMAGE