Skip to main content
GoogleFastHigh

Google Upscaler

Google's image upscaler (770K+ runs). Upscale images 2x or 4x using generative AI while preserving natural detail, with adjustable output compression โ€” a simple, reliable enhancer at a flat price.

46 credits
per image (x2 and x4 same price)
2x or 4x upscaling with generative detail preservation
Google-grade quality and consistency
Adjustable output compression quality (1-100)
Flat price regardless of upscale factor
Simple 3-parameter API โ€” easy to automate

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": "google/upscaler",
  "input": {
    "image": "https://example.com/photo.jpg",
    "upscale_factor": "x4",
    "compression_quality": 95
  }
}'

Parameters

ParameterTypeRequiredDefaultDescription
imagestringYes-Input image to upscale
upscale_factorstringNox2Upscale factor: x2 or x4
x2x4
compression_qualityintegerNo80Output compression quality (1-100)

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=google/upscaler" \
  -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": "google/upscaler",
  "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

4x Upscale for Print

Maximum enlargement at the same flat price

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "google/upscaler",
  "input": {
    "image": "https://example.com/photo.jpg",
    "upscale_factor": "x4",
    "compression_quality": 95
  }
}'

Quick 2x Enhancement

Default settings for everyday enhancement

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "google/upscaler",
  "input": {
    "image": "https://example.com/thumbnail.jpg",
    "upscale_factor": "x2"
  }
}'

Tips & Best Practices

1x2 and x4 cost the same 60 credits โ€” pick x4 when you need the extra resolution
2Raise compression_quality to 90+ for print or archival output; the default 80 is fine for web
3For very large targets (up to 128MP) or factor-based control, compare with Pruna P-Image Upscale
4For face-specific restoration, GFPGAN or CodeFormer may fit better than a general upscaler

Use Cases

Enhancing low-resolution product or listing photos
Preparing AI-generated images for print
Upscaling thumbnails into hero images
Batch enhancement of archival photos
Improving screenshots for documentation