Creative Upscaling
Creative Upscaling for Images
AI-generated and stylized images. Sources with no true original to stay faithful to, where a bolder result is the goal.
More detail than the source contains. Upscale up to 8× with rich new texture rather than a cleaner version of what's there.
Prompt-guided direction. Steer the enhancement with a text prompt.
Photoreal faces and skin in GenAI images. Use Bloom 1 Realism for more realistic outputs, specifically for use on faces and skin.
Endpoints
https://api.topazlabs.com/image/v1/enhance-gen/async
Bloom 2, Bloom 1 Realism
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-gen/async" \
-H "X-API-Key: $TOPAZ_API_KEY" \
-F "image=@photo.jpg" \
-F "model=Bloom 2" \
-F "creativity=3" \
-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", "Bloom 2");
form.append("creativity", "3");
form.append("output_width", "3840");
form.append("output_format", "png");
const response = await fetch("https://api.topazlabs.com/image/v1/enhance-gen/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, output_width, output_height, crop_to_fill) are the same for every creative upscaling model and are listed on the Request Parameters page. Model settings are listed on each model's page.
Limitations
Bloom 2 and Bloom 1 Realism accept up to 256 MP input and output, with each output side up to 32,000 pixels.
Helpful Resources
Last updated
Was this helpful?

