post
https://api.photoeditapi.com/v1/generate/upscale
Increase the resolution of an image using AI upscaling. Supports 2×, 4×, and 8× scale factors.
Asynchronous: Returns immediately with status: pending. Poll GET /outputs/{generation_uuid} for the result.
Credit cost is calculated from the output megapixel count:
output_megapixels = (width × scale_factor × height × scale_factor) / 1,000,000
credits = ceil(output_megapixels × 2)
The credits_to_charge field in the response shows the exact cost before the job starts processing.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…