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 run
POST /api/v1/scrape/ai-image-upscalerParameters
| Name | Type | Required | Description |
|---|---|---|---|
images | string[] | Required | Image links (JPG, PNG or WebP), up to 200 a runExample: ["https://example.com/photo.jpg"] |
scale | number | Optional | 2, 3 or 4Default: 4Example: 4 |
model | string | Optional | photo for photos, fast for a quicker photo model, anime for drawings and illustrationsDefault: photoExample: photo |
format | string | Optional | jpg, 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.zipUse 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.