# Enhance photo quality with AI (photo enhancer)

**Use case:** 

Sharpen and enhance blurry, compressed or low-resolution photos with SeedVR2 AI super-resolution. Paste any number of image URLs and each photo comes back enhanced at 2x, as its own dataset item with the output URL and size. Unreadable images return as error items and are never charged.

## Input

```json
{
  "imageUrls": [
    "https://api.apify.com/v2/key-value-stores/MnVYERh4Bm47trebR/records/lake3-500",
    "https://api.apify.com/v2/key-value-stores/MnVYERh4Bm47trebR/records/street_dc-500"
  ],
  "maxImagesPerItem": 1,
  "scale": "2",
  "restoreFaces": false,
  "faceFidelity": 0.7,
  "outputFormat": "jpg",
  "maxOutputMegapixels": 16,
  "maxImages": 100
}
```

## Output

```json
{
  "index": {
    "label": "#",
    "format": "integer"
  },
  "outputUrl": {
    "label": "Upscaled",
    "format": "string"
  },
  "inputUrl": {
    "label": "Input",
    "format": "string"
  },
  "width": {
    "label": "W",
    "format": "integer"
  },
  "height": {
    "label": "H",
    "format": "integer"
  },
  "factor": {
    "label": "Factor",
    "format": "number"
  },
  "facesRestored": {
    "label": "Faces",
    "format": "boolean"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "error": {
    "label": "Error",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The AI Image Upscaler API — SeedVR2 2x/4x, Face Restoration, Batch Actor is ready to run with the inputs already set for "Enhance photo quality with AI (photo enhancer)". [Sign up or log in](https://console.apify.com/create-task-from-example/Ty2Emcy07QhT2KZOG) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Enhance photo quality with AI (photo enhancer)" task

The AI Image Upscaler API — SeedVR2 2x/4x, Face Restoration, Batch Actor will start running based on the input automatically. You can also change all the input fields, like image urls, images per dataset item, and more, to match your specific use case.

### 3. Receive the "Enhance photo quality with AI (photo enhancer)" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as #, upscaled, input, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Enhance photo quality with AI (photo enhancer)" task via API](https://apify.com/sherwood/image-upscaler-batch.md).

## FAQ

### How does this AI photo enhancer sharpen a blurry picture?

This AI photo enhancer task runs SeedVR2, a super-resolution model that reconstructs edges, textures and text instead of stretching pixels, so blurry, compressed or low-res photos come out sharper at 2x.

### How many photos can I enhance on Apify's free plan?

Apify's free plan includes $5 of platform credit each month, which covers roughly 400 photos with this AI photo enhancer task at $0.012 each. Failed and skipped photos are always free.

### Can the photo enhancer skip images that are already sharp and large?

This photo enhancer task can skip, without charge, images whose longest side already reaches skipIfLongEdgeAtLeast. They come back with status skipped and the original URL, so the next workflow step still gets a file.

### Does the photo enhancer keep transparent backgrounds?

This photo enhancer task keeps transparency in PNG and WebP output, handy after a background remover. In the default JPG output, transparent areas become white, so switch outputFormat to png for cutouts.

## About this Actor

This example demonstrates how to use [AI Image Upscaler API — SeedVR2 2x/4x, Face Restoration, Batch](https://apify.com/sherwood/image-upscaler-batch.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/sherwood/image-upscaler-batch.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/sherwood/image-upscaler-batch.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
