API reference
Upscale
enlarge an image to 2K, 4K, or 8K. Every output size costs 1 credit.
POST
/api/hd-upscaleParameters
| Parameter | Values | Notes |
|---|---|---|
| imageUrl / image | URL or image file | JPG, PNG, WebP. Required. |
| mode | faithful · restore | faithful keeps every pixel; restore rebuilds detail on blurry photos (stops at 4K). |
| resolution | 2k · 4k · 8k | Required. |
Modes
Use faithful when the source is already sharp — it only adds pixels. Use restore for soft or blurry photos; it rebuilds fine detail and is available up to 4K.
