Black Friday: double credits on your first month, any plan · ends Sunday, Nov 29Cyber Monday extension: double credits on your first month, any plan · ends tonightBlack Friday: 2x creditsCyber Monday: 2x creditsSee plans
ScraperCity logo

AI Image Upscaler API Documentation

AI Image Upscaler

Upscale up to 200 images a run 2x, 3x or 4x (Real-ESRGAN on our own GPUs) from a list of image links. The download is one .zip with every image and a results.csv.

$0.019 per image upscaled, minimum charge $0.058 a runPOST /api/v1/scrape/ai-image-upscaler

Parameters

NameTypeRequiredDescription
imagesstring[]RequiredImage links (JPG, PNG or WebP), up to 200 a runExample: ["https://example.com/photo.jpg"]
scalenumberOptional2, 3 or 4Default: 4Example: 4
modelstringOptionalphoto for photos, fast for a quicker photo model, anime for drawings and illustrationsDefault: photoExample: photo
formatstringOptionaljpg, png or webpDefault: jpgExample: jpg

Examples

Upscale a list of images 4x

curl -X POST https://app.scrapercity.com/api/v1/scrape/ai-image-upscaler \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "images": ["https://example.com/photo1.jpg", "https://example.com/photo2.png"],
    "scale": 4
  }'

Check status and download

curl -X GET https://app.scrapercity.com/api/v1/scrape/status/{runId} \
  -H "Authorization: Bearer YOUR_API_KEY"

# When status is SUCCEEDED, download the images (.zip); add ?format=csv for the results table alone
curl -L https://app.scrapercity.com/api/downloads/{runId} -o images.zip

Use Cases

  • •Sharper product photos for a store or a listing
  • •Print-size versions of small images
  • •Cleaning up low-resolution logos and photos scraped from websites

Best Practices

  • •Charged only for images upscaled; links that are not images or could not be read are in results.csv and not charged
  • •results.csv columns: id, image_url, status, file, width, height, input_width, input_height, scale, bytes, error

Every scrape returns a runId. Poll GET /api/v1/scrape/status/{runId} until it completes, then download via GET /api/downloads/{runId}?format=csv.

Authenticate every request with Authorization: Bearer YOUR_API_KEY. See the full API reference for authentication, rate limits and error codes.