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 pendingPricing
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
| Field | Kind | Default | Description |
|---|---|---|---|
image required | URL or file | — | Input image to upscale. |
no_op | true or false | false | Deprecated and ignored. Predictions always run normally. |
factor | number 1 to 8 | 2 | Scaling factor applied to each side of the image (used when upscale_mode is 'factor'). Output capped at 128 MP. |
target | number (whole) 1 to 128 | 4 | Target resolution in megapixels (used when upscale_mode is 'target'). |
upscale_mode | JSON | target | Upscale mode. 'target' scales to a fixed megapixel resolution. 'factor' multiplies each side by the given factor. |
output_format | JSON | jpg | Format of the output images |
output_quality | number (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_details | true or false | false | Enhance fine textures and small details. May increase contrast and introduce minor deviations from the original image. |
enhance_realism | true or false | false | 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>"
}
}'