prunaai/p-image-upscale 🖼️✓🔢❓ → 🖼️

⭐ Official ▶️ 11.6K runs 📅 Mar 2026 ⚙️ Cog 0.16.12
image-enhancement image-upscaling

About

Very efficient image upscaler supporting outputs up to 8 MP. Upscales images to 4 MP in under one second.

Example Output

Output

Example output

Performance Metrics

1.21s Prediction Time
1.24s Total Time
All Input Parameters
{
  "image": "https://replicate.delivery/pbxt/Omaod5X49qN1VNDfR52POKGR8DRDsWSCAXklmmBCRU9WCc3d/out.jpg",
  "no_op": false,
  "factor": 2,
  "target": 4,
  "upscale_mode": "target",
  "output_format": "jpg",
  "output_quality": 80,
  "enhance_details": false,
  "enhance_realism": false
}
Input Parameters
image (required) Type: string
Input image to upscale.
no_op Type: booleanDefault: false
Health check mode - returns status without inference.
factor Type: numberDefault: 2Range: 1 - 8
Scaling factor applied to each side of the image (used when upscale_mode is 'factor'). Output capped at 8 MP.
target Type: integerDefault: 4Range: 1 - 8
Target resolution in megapixels (used when upscale_mode is 'target').
upscale_mode Default: target
Upscale mode. 'target' scales to a fixed megapixel resolution. 'factor' multiplies each side by the given factor.
output_format Default: jpg
Format of the output images
output_quality Type: integerDefault: 80Range: 0 - 100
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 Type: booleanDefault: false
Enhance fine textures and small details. May increase contrast and introduce minor deviations from the original image.
enhance_realism Type: booleanDefault: false
Improve realism. May deviate more from the original image. Recommended for AI-generated images.
disable_safety_checker Type: booleanDefault: false
Disable safety checker for generated images.
Output Schema

Output

Type: stringFormat: uri

Example Execution Logs
14:44:25.826 Upscaling took 0.88 seconds
Version Details
Version ID
43f68bd354e2e7fdf2924467ee1d059bea95f2f1a46be0e983a5e19dea996f70
Version Created
April 3, 2026
Run on Replicate →