API Documentation

Integrate our powerful AI services into your applications

Image Upscaler API

The Image Upscaler API allows you to enhance the resolution of your images using AI technology.

Upscale Image

Endpoint

POST https://api.a1d.ai/api/image-upscaler

Parameters

imageUrl
The URL of the image to upscale
scale
Upscale factor. Supported values: 2, 4, 8, 16
source
Set to "api" for API requests

Example Request

curl --location --request POST 'https://api.a1d.ai/api/image-upscaler' \
--header 'Authorization: KEY $YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data-raw '{
  "imageUrl": "https://example.com/image.jpg",
  "source": "api",
  "scale": 2
}'

Response Example

{
  "taskId": "task_abc123"
}

Notes

  • Supported image formats: JPG, PNG, WEBP, SVG, JPEG
  • The API processes one image at a time
  • Processing time varies based on image size and scale factor