API Reference

Image Upscale (Super Resolution)

Enlarge an image 2x, 4x, or 8x with detail reconstruction rather than plain interpolation. Submit the image as a data URI, receive a job_id, then download the result from our endpoint. We do not store results: the file lives on the processing CDN for 1 hour after the job finishes, so download it as soon as the status is succeeded. Input is capped at 1 MB and 1 MP (send JPEG or WebP to stay under it), a job that fails is refunded in full, and checking status or downloading is free.

Main endpoint
POST https://use.apiindonesia.id/api/v1/image/upscale/2x
Endpoints
5
Authentication
x-api-key header (create one free in the dashboard)
Price
250 / 1,000 / 4,000 credits per image (2x / 4x / 8x); 1 credit = Rp1
Format
JSON (REST), with cURL, JavaScript and Python examples
Product Brief

What this API gives you

Enlarge an image 2x, 4x, or 8x with detail reconstruction rather than plain interpolation. Submit the image as a data URI, receive a job_id, then download the result from our endpoint. We do not store results: the file lives on the processing CDN for 1 hour after the job finishes, so download it as soon as the status is succeeded. Input is capped at 1 MB and 1 MP (send JPEG or WebP to stay under it), a job that fails is refunded in full, and checking status or downloading is free.

Coverage
5

ready-to-use endpoints in this product, with JSON responses and consistent error handling.

Access
API key

Can be tried with the 3,000 credit signup bonus, then used in production through one API Indonesia key.

Sample resource
https://use.apiindonesia.id/api/v1/image/upscale/2x

Upscales an image 2x, accepting up to 1 MP of input and returning at most 4 MP. Costs 250 credits per job. A failed job is refunded in full, and an account that has never topped up can run this tier at most 4 times from the signup bonus (failed jobs do not count).

Example product scenarios

This section separates the product page from the docs. The docs explain how to call endpoints; this page explains why the endpoints make sense for your feature.

  • E-commerce & marketplaces: enlarge old or heavily compressed product photos so they meet a platform minimum resolution, without reshooting.
  • Print & photography apps: prepare higher-resolution files for small-format printing, invitations, or promo material from an existing photo archive.
  • Content & social media: raise the resolution of a client visual asset before using it on channels that demand sharp images, through the same endpoint set as your data APIs.

Example Usage

Request
curl -X POST "https://use.apiindonesia.id/api/v1/image/upscale/2x" \
  -H "x-api-key: ***" \
  -H "Content-Type: application/json" \
  -d '{"image":"data:image/jpeg;base64,/9j/4AAQSkZJRg..."}'
Response · 202 Accepted
{
  "success": true,
  "data": {
    "job_id": "6f1c1f0e-6a8f-4f2b-9a1e-0d6b3f0f9a11",
    "status": "pending",
    "tier": "2x",
    "credits_charged": 250,
    "download_expires_at": "2026-10-23T15:20:11.000Z",
    "poll_after_seconds": 3
  }
}

Related Articles

Pricing 250 / 1,000 / 4,000 credits per image (2x / 4x / 8x); 1 credit = Rp1. One-time 3,000 credit signup bonus, no credit card, no monthly allowance.

Image Upscale (Super Resolution) API questions

What is the input size limit?

Up to 1 MB and 1 MP. Send JPEG or WebP as a data URI to stay under the limit.

How does the flow work?

POST the image to /api/v1/image/upscale/2x, 4x or 8x to get a job_id, poll GET /api/v1/image/jobs/{id}, then download from /image/jobs/{id}/file once the status is succeeded. Status checks and downloads are free.

How long are results kept?

We do not store results. The file stays on the processing CDN for 1 hour after the job finishes, and a failed job is refunded in full.

Get Started

Start Integrating
Today

Sign up for free and get a 3,000 credit bonus (Rp3,000) once your email is verified, grab an API key, and call your first endpoint right away. No credit card, no tedious approval process.

Dot wave visualization