You're looking at a specific version of this model. Jump to the model overview.

prunaai /p-image-upscale:f909c620

Input schema

The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.

Field Type Default value Description
image
string
Input image to upscale.
upscale_mode
None
target
Upscale mode. 'target' scales to a fixed megapixel resolution. 'factor' multiplies each side by the given factor.
target
integer
4

Min: 1

Max: 8

Target resolution in megapixels (used when upscale_mode is 'target').
factor
number
2

Min: 1

Max: 8

Scaling factor applied to each side of the image (used when upscale_mode is 'factor'). Output capped at 8 MP.
enhance_details
boolean
False
Enhance fine textures and small details. May increase contrast and introduce minor deviations from the original image.
enhance_realism
boolean
False
Improve realism. May deviate more from the original image. Recommended for AI-generated images.
output_format
None
jpg
Format of the output images
output_quality
integer
80

Max: 100

Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs
disable_safety_checker
boolean
False
Disable safety checker for generated images.
no_op
boolean
False
Health check mode - returns status without inference.

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'format': 'uri', 'title': 'Output', 'type': 'string'}