Precision Upscaling
Precision Upscaling for Images
Clean upscales of good sources. You need a bigger version of a reasonably good image with no recovered or generated detail.
Fidelity over recovery. Print reproduction, archival masters, forensic or scientific imagery, or any pipeline where "the model invented that" is unacceptable.
Graphics, product shots, and close inspection. Anything that will be compared pixel for pixel against the original.
Specialized sources. Very small images (Low Resolution 2), illustrations and renders (Art & CGI), text and logos (Text & Shapes), transparent PNGs (Transparent Image Upscale), and small or degraded faces (Recover Faces / Face Recovery 3).
Endpoints
https://api.topazlabs.com/image/v1/enhance/async
Standard 2, High Fidelity 3
https://api.topazlabs.com/image/v1/enhance-gen/async
Detail Faces
https://api.topazlabs.com/image/v1/restore-gen/async
Face Recovery 3
https://api.topazlabs.com/image/v1/tool/async
Transparent Image Upscale (PNG only)
Requests are multipart/form-data. Pass the image as the image field (or reference a previous upload with source_id or source_url), set model to the value shown on the model's page, and set the output size with output_width and/or output_height. The response returns a process_id and eta; poll GET /status/{process_id} and download the result from GET /download/{process_id}.
curl -X POST "https://api.topazlabs.com/image/v1/enhance/async" \
-H "X-API-Key: $TOPAZ_API_KEY" \
-F "image=@photo.jpg" \
-F "model=Standard V2" \
-F "output_width=3840" \
-F "output_format=png"import fs from 'fs';
import FormData from 'form-data';
const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("model", "Standard V2");
form.append("output_width", "3840");
form.append("output_format", "png");
const response = await fetch("https://api.topazlabs.com/image/v1/enhance/async", {
method: 'POST',
headers: {
'X-API-Key': process.env.TOPAZ_API_KEY,
...form.getHeaders(),
},
body: form,
});
if (!response.ok) {
throw new Error(`Request failed: ${response.status} ${await response.text()}`);
}
console.log(await response.json());Parameters
Request parameters (image, source_id, source_url, model, output_format, webhook_url) are the same for every image endpoint and are listed on the Request Parameters page. /enhance/async, /enhance-gen/async, and /tool/async also accept output_width, output_height, and crop_to_fill to set the output size. Model settings are listed on each model's page.
Limitations
Most models accept up to 256 MP input and output, with each output side up to 32,000 pixels. Transparent Image Upscale accepts and returns PNG only.
Helpful Resources
Last updated
Was this helpful?




