Pruna AI P-Image Upscale is a fast AI image upscaling model that enhances image resolution and improves visual detail. Ready-to-use REST inference API for product photos, portraits, design assets, e-commerce images, social media visuals, and image enhancement workflows with simple integration, no coldstarts, and affordable pricing.
Idle

$0.005per run·~200 / $1


Pruna AI P-Image Upscale enhances and enlarges images with a simple workflow built around target size selection and flexible output formatting. It is suitable for restoring old images, improving low-resolution assets, preparing sharper visuals for design or marketing, and generating cleaner outputs for downstream use.
Simple image upscaling Upload a single image and generate a higher-quality result with minimal configuration.
Target-based output control
Use the target setting to choose the desired upscale level or output target.
Clean enhancement workflow Improve image clarity for photos, scans, product images, and other visual assets.
Flexible output format
Export the upscaled image in a supported format such as png.
Affordable tiered pricing Uses a simple pricing structure based on the selected target tier.
| Parameter | Required | Description |
|---|---|---|
| image | Yes | Input image to upscale. |
| target | No | Target upscale setting or output target level. Higher values produce a larger or stronger upscale result. Supports values up to 128. |
| output_format | No | Output image format, such as png. |
Upscale an old street photograph to produce a cleaner, sharper version for archival, presentation, or creative reuse.
Pricing is based on the selected target tier.
| Target | Cost |
|---|---|
<= 4 | $0.005 |
> 4 and <= 8 | $0.010 |
> 8 and <= 16 | $0.020 |
> 16 and <= 32 | $0.040 |
> 32 and <= 64 | $0.060 |
> 64 and <= 128 | $0.120 |
target <= 4 cost $0.005 per imagetarget > 4 and <= 8 cost $0.010 per imagetarget > 8 and <= 16 cost $0.020 per imagetarget > 16 and <= 32 cost $0.040 per imagetarget > 32 and <= 64 cost $0.060 per imagetarget > 64 and <= 128 cost $0.120 per imagetargetoutput_format does not affect pricingtarget setting first if you want a faster and cheaper test run.target only when you actually need the larger or stronger upscale output.png is a good choice when you want to preserve output quality.image is the only required field.target now supports values up to 128.target tier.output_format changes the file type, but not the price.Grab a WaveSpeedAI API key, then call POST https://api.wavespeed.ai/api/v3/pruna-ai/p-image/upscale with your input as JSON. The endpoint returns a prediction id; poll the prediction endpoint until status flips to completed, then read the output URL from data.outputs[0]. Examples for P Image Upscale below.
# Submit the prediction
curl -X POST "https://api.wavespeed.ai/api/v3/pruna-ai/p-image/upscale" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $WAVESPEED_API_KEY" \
-d '{
"image": "https://example.com/your-input.jpg",
"target": 4,
"output_format": "png",
"enable_sync_mode": false,
"enable_base64_output": false
}'
# Response includes a prediction id. Poll for the result:
curl -X GET "https://api.wavespeed.ai/api/v3/predictions/{request_id}/result" \
-H "Authorization: Bearer $WAVESPEED_API_KEY"
# When status is "completed", read the output from data.outputs[0].// npm install wavespeed
const WaveSpeed = require('wavespeed');
const client = new WaveSpeed(); // reads WAVESPEED_API_KEY from env
const result = await client.run("pruna-ai/p-image/upscale", {
"image": "https://example.com/your-input.jpg",
"target": 4,
"output_format": "png",
"enable_sync_mode": false,
"enable_base64_output": false
});
console.log(result.outputs[0]); // → URL of the generated output# pip install wavespeed
import wavespeed
output = wavespeed.run(
"pruna-ai/p-image/upscale",
{
"image": "https://example.com/your-input.jpg",
"target": 4,
"output_format": "png",
"enable_sync_mode": false,
"enable_base64_output": false
}
)
print(output["outputs"][0]) # → URL of the generated outputP Image Upscale is a Pruna Ai model for upscaling, exposed as a REST API on WaveSpeedAI. Pruna AI P-Image Upscale is a fast AI image upscaling model that enhances image resolution and improves visual detail. Ready-to-use REST inference API for product photos, portraits, design assets, e-commerce images, social media visuals, and image enhancement workflows with simple integration, no coldstarts, and affordable pricing. You can call it programmatically or try it from the playground above.
POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your WaveSpeedAI API key in the Authorization header. Submission returns a prediction ID; poll the prediction endpoint until status flips to "completed", then read the output URL from the result. The playground generates a ready-to-paste code sample in Python, JavaScript, or cURL for whatever inputs you've set. Full request/response shape is documented at https://wavespeed.ai/docs/docs-api/pruna-ai/pruna-ai-p-image-upscale.
P Image Upscale starts at $0.005 per run. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.
Key inputs: `image`, `enable_base64_output`, `enable_sync_mode`, `output_format`, `target`. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at https://wavespeed.ai/docs/docs-api/pruna-ai/pruna-ai-p-image-upscale.
Sign up for a free WaveSpeedAI account to claim starter credits, copy your API key from /accesskey, then call the endpoint shown in the API tab of the playground. The playground also auto-generates a code sample in Python, JavaScript, or cURL for the parameters you've set.
Commercial usage rights depend on the model's license, set by its provider (Pruna Ai). The license summary appears on the model card above; see WaveSpeedAI's Terms of Service for platform-level conditions.