POST /v1/upscale — Upscale Images via API
POST /v1/upscale — Upscale Images via API
Upscale images to higher resolutions using AI via the Artnex API. Submit any image by URL or base64 and receive a sharpened, enlarged version.
POST
POST /v1/upscale — Upscale Images via API
TheDocumentation Index
Fetch the complete documentation index at: https://docs.artnex.app/llms.txt
Use this file to discover all available pages before exploring further.
/v1/upscale endpoint uses AI super-resolution to enlarge an image while preserving and recovering detail. Submit your image by URL or as a base64 string, and receive a link to the upscaled result.
Endpoint
Request parameters
The image to upscale. Provide either:
- A publicly accessible HTTPS URL pointing to the image, or
- A base64-encoded image string with a data URI prefix (e.g.,
data:image/jpeg;base64,...).
The upscale multiplier applied to the original dimensions. For example, a
2 on a 512×512 image produces a 1024×1024 output. Common values: 2, 4.Response fields
true when the request completed successfully.Direct HTTPS URL to the upscaled image. Available for 24 hours; download promptly if you need to keep the result.
Unique identifier for this request.
Credits deducted from your balance. Upscaling costs 100 credits per request.
Credit cost
| Operation | Credits |
|---|---|
| Upscale (any scale factor) | 100 |
Example requests
Example response
Error codes
| HTTP status | Error code | Cause |
|---|---|---|
400 | missing_image | The image field is absent |
400 | invalid_image_format | The image format is not supported or the file is corrupt |
400 | image_too_large | The image exceeds the 10 MB size limit |
400 | invalid_scale | The scale value is outside the supported range |
401 | invalid_api_key | The API key is missing, malformed, or revoked |
402 | insufficient_credits | Your account does not have enough credits |
429 | rate_limit_exceeded | You have exceeded your plan’s daily request quota |
POST /v1/tts — Text-to-Speech API Reference
Previous
POST /v1/remove-bg — Remove Backgrounds via API
Next