Image quality enhancement
An AI image upscaler and enhancer API. Restores low-resolution and compressed images to 2K quality.
Tool ID SKM0004 ยท Category: image tools
1. Overview
Supported specifications
Choose the tool ID for the specification you need. Availability and quota depend on your account's catalog.
Use cases
- Restore heavily compressed product photos so shoppers can see the details.
- Sharpen older photos for full-page layouts.
Before you call
Prepare your image. See "Limits" below for file requirements. Check the config API or SDK task catalog to confirm that your account can use SKM0004. Listing the catalog does not consume quota.
2. Try it
This tool works with its default parameters.
First paste the setup commands from HTTP API quick start into Bash. They define vmake_run, which gets the config, consumes quota, submits the task, and polls until it finishes. Set media_url to a publicly readable image you are authorized to use. To use a local file, upload it to OSS first and use the resulting URL.
This command consumes quota.
The function prints data from the final response. When data.status is 10, read the output from data.result. When it is 2 or 20, read data.msg and see Errors and troubleshooting. To see each request on its own, follow the steps from Get config to Poll task status.
3. Reference
3.1 Task settings
These are the config values for SKM0004. Always use the current values from the config API. For HTTP submission, serialize params as a JSON string and, when present, copy the complete profile object to init_images[0].profile. The SDK handles this mapping automatically.
3.2 Limits
3.3 Processing time
- Processing time depends on the size and complexity of the media. Actual calls are authoritative.
- Follow
status_query.durationsfrom the token policy for polling intervals.vmake_runand the SDK poll automatically.
3.4 Pricing
- Quota is deducted before each submission.
vmake_runand the SDK do this automatically. Unit prices and free quota follow your plan and the selected tool ID. - If a task fails, the quota deducted for that task is returned to your account.
- Querying an existing task does not deduct quota again. Submitting again deducts quota again.