# Google Upscaler > Upscale images 2x or 4x times - **Provider**: replicate - **Model ID**: google/upscaler - **Category**: image_upscale_restore - **Credits**: 46 per request - **Pricing Type**: fixed ## API Endpoint Base URL: https://api.core.today/v1 ### Create Prediction POST /predictions ### Get Status GET /predictions/{job_id} ### Cancel DELETE /predictions/{job_id} ## Authentication Header: `X-API-Key: YOUR_API_KEY` ## Input Parameters - `upscale_factor` (string, optional): Factor by which to upscale the image (Default: `x2`; Options: `x2`, `x4`) - `image` (string, **required**): Image to upscale - `compression_quality` (integer, optional): Compression quality for output (1-100) (Default: `80`; Range: min: 1, max: 100) ## Example Request ```json { "model": "google/upscaler", "input": { "upscale_factor": "x4", "image": "https://replicate.delivery/xezq/iwN5atioJTYgGVzVonhdDfbQZznTSBFTqmfh5WY84gP05XMUA/tmp7k57elxf.png", "compression_quality": 80 } } ``` ## Response Format ```json { "job_id": "abc123", "status": "pending", "provider": "replicate", "model": "black-forest-labs/flux-schnell", "created_at": "2026-01-01T00:00:00Z", "result": null, "error": null } ``` Status values: `pending`, `processing`, `completed`, `failed`, `cancelled` ## Usage Flow 1. POST /predictions with model and input → receive job_id 2. Poll GET /predictions/{job_id} until status is `completed` or `failed` 3. Result contains output URL(s) or data ## Output Type url ## Tags google, upscaler, image-upscale, enhancement, utility ## Documentation https://replicate.com/google/upscaler