Skip to main content
Core.Today
|
Pruna AIMediumUltra

Pruna P-Image Upscale

PrunaAI's high-end image upscaler (575K+ runs) reaching up to 128-megapixel output. Target-megapixel or factor-based control, optional detail/realism enhancement passes, and megapixel-tiered pricing that starts at just 15 credits.

12 credits
per image at โ‰ค4MP output (default) โ€” tiered by output MP: โ‰ค4MP 12 / โ‰ค8MP 23 / โ‰ค16MP 46 / โ‰ค32MP 92 / โ‰ค64MP 140 / >64MP 270; factor mode bills the top tier (270)
Up to 128MP output โ€” poster and large-print territory
Two modes: target megapixels (precise billing) or scale factor (1-8x)
Optional enhance_details and enhance_realism passes
Megapixel-tiered pricing from 15 credits (โ‰ค4MP output)
webp/jpg/png output with quality control

Run it right now

Test this model instantly in the Console Playground โ€” no code required

Sign in to try

Use with AI Assistant

Copy usage instructions for Claude, ChatGPT, or other AI

Quick Start

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "prunaai/p-image-upscale",
  "input": {
    "image": "https://example.com/photo.jpg",
    "upscale_mode": "target",
    "target": 4
  }
}'

Parameters

ParameterTypeRequiredDefaultDescription
imagestringYes-Input image to upscale
upscale_modestringNotargettarget: aim for the megapixel count in `target` (precise billing). factor: multiply input size by `factor` (billed at top tier)
targetfactor
targetintegerNo4Target output size in megapixels (1-128), used when upscale_mode is target
factornumberNo2Upscale factor (1-8), used when upscale_mode is factor
enhance_detailsbooleanNofalseRun an extra pass that sharpens fine details
enhance_realismbooleanNofalseRun an extra pass that improves photographic realism
output_formatstringNojpgOutput format
webpjpgpng
output_qualityintegerNo80Output quality (0-100)
disable_safety_checkerbooleanNofalseDisable safety checker for generated images.
no_opbooleanNofalseDeprecated and ignored. Predictions always run normally.

How to Provide File Input

There are 3 ways to provide files for the image parameter:

Recommended

Direct Upload (Multipart)

Attach files directly to POST /v1/predictions/upload. No separate upload step needed.

curl -X POST "https://api.core.today/v1/predictions/upload" \
  -H "X-API-Key: cdt_your_api_key" \
  -F "model=prunaai/p-image-upscale" \
  -F 'input={"prompt":"your prompt here"}' \
  -F "file:image=@your_file.png"

Image URL

Pass a publicly accessible URL directly. You can also use file_url from the Storage API.

{
  "model": "prunaai/p-image-upscale",
  "input": {
    "prompt": "your prompt here",
    "image": "https://example.com/image.jpg"
  }
}
See the File Upload docs for more upload methods including Presigned URLs.

Common Parameters

Common parameters used when calling POST /v1/predictions.

ParameterTypeRequiredDefaultDescription
modelstringYes-Model identifier
inputobjectYes-Object containing the model-specific parameters from the table above
output_folderstringNo-Folder path for output files (max 256 chars, '..' not allowed)
webhook_urlstringNo-Webhook URL to call on completion
is_publicbooleanNofalseIf true, output files are also available via permanent public URLs

Examples

Budget 4MP Enhancement

Default target mode at the cheapest tier (15 credits)

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "prunaai/p-image-upscale",
  "input": {
    "image": "https://example.com/photo.jpg",
    "upscale_mode": "target",
    "target": 4
  }
}'

32MP Print-Ready Upscale

High-resolution output with detail enhancement (120 credits)

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "prunaai/p-image-upscale",
  "input": {
    "image": "https://example.com/artwork.jpg",
    "upscale_mode": "target",
    "target": 32,
    "enhance_details": true,
    "output_format": "png"
  }
}'

Tips & Best Practices

1Use target mode โ€” billing follows your target megapixels exactly, starting at 15 credits for โ‰ค4MP
2factor mode output size depends on the input image, so it is billed at the top tier (360 credits) โ€” switch to target mode unless you specifically need factor semantics
3Output megapixels drive the price: 8MP doubles the cost of 4MP, so pick the smallest target that fits your medium
4enhance_details and enhance_realism improve quality without changing the price tier
5For a simple flat-price 2x/4x, Google Upscaler (60 credits) may be simpler

Use Cases

Large-format print and poster preparation
Upscaling AI art for high-resolution wallpapers
Real-estate and product photography enhancement
Restoring detail in compressed web images
Creating zoomable high-resolution assets