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

Image URL

Pass a publicly accessible URL directly. With the Storage API (POST /v1/files/upload-url) the file uploads straight to S3 (50MB per file) and you pass the returned file_url.

{
  "model": "prunaai/p-image-upscale",
  "input": {
    "prompt": "your prompt here",
    "image": "https://example.com/image.jpg"
  }
}

Direct Upload (Multipart)

Attach files directly to POST /v1/predictions/upload. No separate upload step, but the bytes pass through the API server so the whole request is capped at 10MB.

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"
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

Model Info

ProviderPruna AI
Version-
CategoryImage Generation
Price12 credits

API Endpoint

POST /v1/predictions
Try in ConsoleBack to Docs