Skip to content
Last updated

🔨 In Development
This section is currently being developed and may change.

POSThttps://api.freddy.aitronos.com/v1/images/upscale

Increase the resolution and fidelity of your source images using Freddy upscaling models.

Authentication

Request body

FieldTypeRequiredDescription
image_urlstringYesPublic URL or base64 string for the input image.
scalenumberNoUpscaling factor (2 or 4). Default: 2.
formatstringNoOutput format (png, jpeg, webp). Default: png.

Returns

JSON object containing upscaled image metadata and a download URL.

{
  "data": [
    {
      "url": "https://api.freddy.aitronos.com/upscaled-images/img_abc123.png",
      "original_size": {
        "width": 512,
        "height": 512
      },
      "upscaled_size": {
        "width": 1024,
        "height": 1024
      }
    }
  ]
}
curl -X POST "https://api.freddy.aitronos.com/v1/images/upscale" \
  -H "Authorization: Bearer $FREDDY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image_url": "https://example.com/image.jpg",
    "scale": 2,
    "format": "png"
  }'