AI Upscale Image API

Upscale and enhance images with AI. Supports face enhancement, denoising, sharpening, and generative upscaling up to 4x.

photo editing12 creditsv1.0.0

Endpoint

endpoint
POST https://backend.aaddyy.com/api/ai/upscale-image

Authentication

header
Authorization: Bearer YOUR_API_KEY

Parameters

Required

image_urlstringrequired

Public http(s) link to the image to upscale.

Optional

modelstring

Enhancement mode. Leave it out to use the standard mode.

upscale_factornumber

Default: 2

crop_to_fillboolean

Default: false

output_formatstring

Values: jpegpng

Default: jpeg

subject_detectionstring

Values: AllForegroundBackground

Default: All

face_enhancementboolean

Default: true

face_enhancement_creativitynumber
face_enhancement_strengthnumber

Default: 0.8

sharpennumber
denoisenumber
fix_compressionnumber
strengthnumber
creativityinteger
textureinteger
promptstring
autopromptboolean
detailnumber

Example Request

cURL
curl -X POST https://backend.aaddyy.com/api/ai/upscale-image \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image_url": "https://example.com"
  }'

Request Body

json
{
  "image_url": "https://example.com"
}

Example Response

json
{
  "success": true,
  "message": "AI Upscale Image completed successfully",
  "timestamp": "2026-11-13T16:43:28.633Z",
  "requestId": "req_16adzzp0p",
  "data": {
    "cost": 0.12,
    "remainingCredits": 9.95,
    "images": [
      {
        "url": "https://example.com/generated-image-xyz.png",
        "size": "1024x1024",
        "format": "png"
      }
    ],
    "numImages": 1
  }
}

SDK

javascript
import { AADDYY } from 'aaddyy'

const client = new AADDYY()
const result = await client._request('POST', '/api/ai/upscale-image', {
  "image_url": "https://example.com"
})

Install: npm install aaddyy

Pricing

$0.12 per image (12 credits)

flat price per upscaled image

Rate Limits

10 requests per 1m

Burst: 3