Readme
P-Image-Upscale
P-Image-Upscale is a production-focused super-resolution model for turning small or compressed images into cleaner, larger assets.
What it is for
Use it when you need a larger, cleaner image for product assets, creative review, social publishing, or restoration workflows.
image_urlimage-Input image to upscale.upscale_modestringtarget / factortargetUpscale mode. 'target' scales to a fixed megapixel resolution. 'factor' multiplies each side by the given factor.
Default: "target"targetinteger(minimum: 1, maximum: 128)4Target resolution in megapixels (used when upscale_mode is 'target').
Default: 4factornumber(minimum: 1, maximum: 8)2Scaling factor applied to each side of the image (used when upscale_mode is 'factor'). Output capped at 128 MP.
Default: 2enhance_detailsbooleanfalseEnhance fine textures and small details. May increase contrast and introduce minor deviations from the original image.
Default: falseenhance_realismbooleanfalseImprove realism. May deviate more from the original image. Recommended for AI-generated images.
Default: falseoutput_formatstringjpg / png / webpjpgFormat of the output images
Default: "jpg"output_qualityinteger(minimum: 0, maximum: 100)80Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs
Default: 80

