ReplicateImageComing soon

prunaai/p-image-upscale

prunaai/p-image-upscale is an image tool from Replicate that runs in the background and returns images. Coming soon: listed with its price, not yet open to runs.

This tool is listed but not yet available to run.

Pricing

Coming soon

Price pending

Limits

Runs
In the background
Returns
image
Longest queue wait
1 hour
Run deadline
30 minutes
Longest run, end to end
225 minutes
Largest inline input
1 MB
Largest input file
500 MB
Largest output
5 GB
Outputs per run
16

Input

FieldKindDefaultDescription
image requiredURL or file—

Input image to upscale.

no_optrue or falsefalse

Deprecated and ignored. Predictions always run normally.

factornumber
1 to 8
2

Scaling factor applied to each side of the image (used when upscale_mode is 'factor'). Output capped at 128 MP.

targetnumber (whole)
1 to 128
4

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

upscale_modeJSONtarget

Upscale mode. 'target' scales to a fixed megapixel resolution. 'factor' multiplies each side by the given factor.

output_formatJSONjpg

Format of the output images

output_qualitynumber (whole)
0 to 100
80

Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs

enhance_detailstrue or falsefalse

Enhance fine textures and small details. May increase contrast and introduce minor deviations from the original image.

enhance_realismtrue or falsefalse

Improve realism. May deviate more from the original image. Recommended for AI-generated images.

Same request in code

curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "replicate",
    "model": "prunaai/p-image-upscale",
    "input": {
      "image": "<image>"
    }
  }'