ReplicateImage to imageComing soon

prunaai/p-image-upscale

prunaai/p-image-upscale is an image to 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.

Price pending

Pricing

Price pending.

Limits

Runs
In the background
Returns
image
Longest queue wait
3600s
Run deadline
1800s
Largest inline input
1024 KB
Largest input file
500 MB
Largest output
4768 MB
Outputs per run
16

Input

FieldKindDefaultDescription
image requiredURL or file—Input image to upscale.
no_optrue or falsefalseDeprecated and ignored. Predictions always run normally.
factornumber
1 to 8
2Scaling factor applied to each side of the image (used when upscale_mode is 'factor'). Output capped at 128 MP.
targetnumber (whole)
1 to 128
4Target resolution in megapixels (used when upscale_mode is 'target').
upscale_modeJSONtargetUpscale mode. 'target' scales to a fixed megapixel resolution. 'factor' multiplies each side by the given factor.
output_formatJSONjpgFormat of the output images
output_qualitynumber (whole)
0 to 100
80Quality 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 falsefalseEnhance fine textures and small details. May increase contrast and introduce minor deviations from the original image.
enhance_realismtrue or falsefalseImprove 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>"
    }
  }'