> ## Documentation Index
> Fetch the complete documentation index at: https://docs.elumenta.ru/llms.txt
> Use this file to discover all available pages before exploring further.

# Upscale

> Upscale an image up to 4x using ESRGAN

Free on all plans. Use via the main generate endpoint:

```json theme={null}
{
  "model": "upscale-esrgan",
  "prompt": "upscale",
  "params": {
    "image_url": "https://example.com/photo.jpg",
    "scale": 4
  }
}
```

Or via the dedicated endpoint:

```bash theme={null}
POST /api/v2/generate/upscale
{"image_url": "https://example.com/photo.jpg", "scale": 4}
```

Returns `result_url` with the upscaled image.
