---
title: Topaz Labs Wonder 4 | Runware Docs
url: https://runware.ai/docs/models/topazlabs-wonder-4
description: All-in-one generative image enhancement that restores, denoises, and upscales in a single pass
---
# Topaz Labs Wonder 4

![Topaz Labs Wonder 4](https://assets.runware.ai/covers/topazlabs-wonder-4.jpg)

Wonder 4 is Topaz Labs' all-purpose generative model for image enhancement and upscaling. It treats each region of an image separately, combining denoising, deblurring, compression artifact removal, face recovery, and upscaling in one pass with no settings to tune. It suits photo restoration, cleanup of degraded or compressed images, and enhancement at the original size or enlarged up to six times, with output up to 256 megapixels.

- **Status**: live
- **ID**: `topazlabs:wonder@4`
- Try in Playground
- **Creator**: Topaz Labs
- **Release Date**: November 3, 2026
- **Zero Data Retention**: Yes
- **Capabilities**: Image to Image, Upscale, Checkpoint

## Pricing

$0.0428 from, per run · ~25s per request

**Rates** (per run)

- 1 MP output: `$0.0428`
- 4 MP output: `$0.0428`
- 8 MP output: `$0.0428`
- 16 MP output: `$0.0856`
- 24 MP output: `$0.128`
- 32 MP output: `$0.171`
- 40 MP output: `$0.214`
- 50 MP output: `$0.30`
- 64 MP output: `$0.342`
- 100 MP output: `$0.556`
- 128 MP output: `$0.685`
- 256 MP output: `$1.37`

**4 example generations**

- [upscale](https://runware.ai/docs/models/topazlabs-wonder-4/examples#example-deep-sea-exhibit-panorama-enlargement): `$0.0428` (~20s)
- [upscale](https://runware.ai/docs/models/topazlabs-wonder-4/examples#example-entomology-specimen-archive-image-cleanup): `$0.0428` (~26s)
- [upscale](https://runware.ai/docs/models/topazlabs-wonder-4/examples#example-heritage-seed-catalog-linocut): `$0.0428` (~23s)
- [upscale](https://runware.ai/docs/models/topazlabs-wonder-4/examples#example-pipe-organ-conservator-portrait): `$0.0856` (~33s)

times vary, measured end to end · [How pricing works](https://runware.ai/docs/models-api/pricing)

## Request Parameters

**API Options**

Platform-level options for task execution and delivery.

### [taskType](https://runware.ai/docs/models/topazlabs-wonder-4#request-tasktype)

- **Type**: `string`
- **Required**: true
- **Value**: `upscale`

Identifier for the type of task being performed.

### [taskUUID](https://runware.ai/docs/models/topazlabs-wonder-4#request-taskuuid)

- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.

### [outputType](https://runware.ai/docs/models/topazlabs-wonder-4#request-outputtype)

- **Type**: `string`
- **Default**: `URL`

Image output type.

**Allowed values**: `URL` `base64Data` `dataURI`

### [outputFormat](https://runware.ai/docs/models/topazlabs-wonder-4#request-outputformat)

- **Type**: `string`
- **Default**: `JPG`

Specifies the file format of the generated output. The available values depend on the task type and the specific model's capabilities.

- \`JPG\`: Best for photorealistic images with smaller file sizes (no transparency).
- \`PNG\`: Lossless compression, supports high quality and transparency (alpha channel).
- \`WEBP\`: Modern format providing superior compression and transparency support.

> [!NOTE]
> \*\*Transparency\*\*: If you are using features like background removal or LayerDiffuse that require transparency, you must select a format that supports an alpha channel (e.g., \`PNG\`, \`WEBP\`, \`TIFF\`). \`JPG\` does not support transparency.

**Allowed values**: `JPG` `PNG` `WEBP`

### [outputQuality](https://runware.ai/docs/models/topazlabs-wonder-4#request-outputquality)

- **Type**: `integer`
- **Min**: `20`
- **Max**: `99`
- **Default**: `95`

Compression quality of the output. Higher values preserve quality but increase file size.

### [webhookURL](https://runware.ai/docs/models/topazlabs-wonder-4#request-webhookurl)

- **Type**: `string`
- **Format**: `uri`

Webhook URL that receives JSON responses via HTTP POST when generation tasks complete. For batch requests with multiple results, each completed item triggers a separate webhook call as it becomes available.

**Learn more** (1 resource):

- [Webhooks](https://runware.ai/docs/models-api/webhooks) (platform)

### [deliveryMethod](https://runware.ai/docs/models/topazlabs-wonder-4#request-deliverymethod)

- **Type**: `string`
- **Default**: `sync`

Determines how the API delivers task results.

**Allowed values**:

- `sync` Returns results directly in the API response. Over HTTP, a task still running after 120 seconds continues as an async task and comes back with status 'processing'. Poll for its results using getResponse.
- `async` Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse.

**Learn more** (1 resource):

- [Task Polling](https://runware.ai/docs/models-api/task-polling) (platform)

### [uploadEndpoint](https://runware.ai/docs/models/topazlabs-wonder-4#request-uploadendpoint)

- **Type**: `string`
- **Format**: `uri`

Specifies a URL where the generated content will be automatically uploaded using the HTTP PUT method. The raw binary data of the media file is sent directly as the request body. For secure uploads to cloud storage, use presigned URLs that include temporary authentication credentials.

**Common use cases:**

- **Cloud storage**: Upload directly to S3 buckets, Google Cloud Storage, or Azure Blob Storage using presigned URLs.
- **CDN integration**: Upload to content delivery networks for immediate distribution.

```text
// S3 presigned URL for secure upload
https://your-bucket.s3.amazonaws.com/generated/content.mp4?X-Amz-Signature=abc123&X-Amz-Expires=3600

// Google Cloud Storage presigned URL
https://storage.googleapis.com/your-bucket/content.jpg?X-Goog-Signature=xyz789

// Custom storage endpoint
https://storage.example.com/uploads/generated-image.jpg
```

The content data will be sent as the request body to the specified URL when generation is complete.

### [ttl](https://runware.ai/docs/models/topazlabs-wonder-4#request-ttl)

- **Type**: `integer`
- **Min**: `60`

Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.

### [includeCost](https://runware.ai/docs/models/topazlabs-wonder-4#request-includecost)

- **Type**: `boolean`

Include task cost in the response.

### [routing](https://runware.ai/docs/models/topazlabs-wonder-4#request-routing)

- **Path**: `routing.allowedModels`
- **Type**: `object (8 properties)`

Model router options. Only read when `model` is `auto`, and never sent to the model.

#### [allowedModels](https://runware.ai/docs/models/topazlabs-wonder-4#request-routing-allowedmodels)

- **Path**: `routing.allowedModels`
- **Type**: `array of strings`
- **Min items**: `2`

Models the router may choose from. Nothing outside this list is considered, so a request none of them can serve is refused.

#### [excludedModels](https://runware.ai/docs/models/topazlabs-wonder-4#request-routing-excludedmodels)

- **Path**: `routing.excludedModels`
- **Type**: `array of strings`
- **Min items**: `1`

Models the router may not choose. Every other model stays a candidate.

#### [preferences](https://runware.ai/docs/models/topazlabs-wonder-4#request-routing-preferences)

- **Path**: `routing.preferences`
- **Type**: `object (3 properties)`

Relative importance of each dimension when models are compared. Weights, not thresholds.

##### [quality](https://runware.ai/docs/models/topazlabs-wonder-4#request-routing-preferences-quality)

- **Path**: `routing.preferences.quality`
- **Type**: `integer`
- **Min**: `0`
- **Max**: `5`

Importance of one dimension. `0` leaves it out of the decision.

##### [speed](https://runware.ai/docs/models/topazlabs-wonder-4#request-routing-preferences-speed)

- **Path**: `routing.preferences.speed`
- **Type**: `integer`
- **Min**: `0`
- **Max**: `5`

Importance of one dimension. `0` leaves it out of the decision.

##### [cost](https://runware.ai/docs/models/topazlabs-wonder-4#request-routing-preferences-cost)

- **Path**: `routing.preferences.cost`
- **Type**: `integer`
- **Min**: `0`
- **Max**: `5`

Importance of one dimension. `0` leaves it out of the decision.

#### [maxPrice](https://runware.ai/docs/models/topazlabs-wonder-4#request-routing-maxprice)

- **Path**: `routing.maxPrice`
- **Type**: `float`
- **Min**: `0`

Upper bound on what this request may cost, in USD. A model whose cost cannot be bounded is not chosen.

#### [requirements](https://runware.ai/docs/models/topazlabs-wonder-4#request-routing-requirements)

- **Path**: `routing.requirements`
- **Type**: `string`
- **Max**: `3000`

Conditions the result has to meet, in plain words, such as a style or a feature. A model that cannot meet them is not chosen. Output size is set with width and height rather than described here.

**Inputs**

Input resources for the task (images, audio, etc). These must be nested inside the \`inputs\` object.

### [image](https://runware.ai/docs/models/topazlabs-wonder-4#request-inputs-image)

- **Path**: `inputs.image`
- **Type**: `string`
- **Required**: true
- **Area**: `up to 256 MP`
- **Size**: `up to 32000 px`

Image input (UUID, URL, Data URI, or Base64).

**Core Parameters**

Primary parameters that define the task output.

### [model](https://runware.ai/docs/models/topazlabs-wonder-4#request-model)

- **Type**: `string`
- **Required**: true
- **Value**: `topazlabs:wonder@4`

Send `auto` instead of an AIR identifier to have the model router choose the model for this task. The rest of the request is unchanged, every value you send is kept, and only the parameters you leave out are filled in. See [Model Router](https://runware.ai/docs/models-api/model-router).

**Learn more** (3 resources):

- [Text To Image: Model Selection](https://runware.ai/docs/learn/text-to-image#model-selection) (learn)
- [Image Inpainting: Model Specialized Inpainting Models](https://runware.ai/docs/learn/image-inpainting#model-specialized-inpainting-models) (learn)
- [Image Outpainting: Other Critical Parameters](https://runware.ai/docs/learn/image-outpainting#other-critical-parameters) (learn)

### [upscaleFactor](https://runware.ai/docs/models/topazlabs-wonder-4#request-upscalefactor)

- **Type**: `integer`
- **Min**: `1`
- **Max**: `6`
- **Default**: `2`

Factor by which to upscale the generated image. A value of 2 doubles width and height. The output must not exceed 256 megapixels or 32000 pixels per side.

## Response Parameters

### [taskType](https://runware.ai/docs/models/topazlabs-wonder-4#response-tasktype)

- **Type**: `string`
- **Required**: true
- **Value**: `upscale`

Identifier for the type of task this response belongs to.

### [taskUUID](https://runware.ai/docs/models/topazlabs-wonder-4#response-taskuuid)

- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID v4 identifier echoed from the original request, used to match async responses to their tasks.

### [imageUUID](https://runware.ai/docs/models/topazlabs-wonder-4#response-imageuuid)

- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID of the output image.

### [imageURL](https://runware.ai/docs/models/topazlabs-wonder-4#response-imageurl)

- **Type**: `string`
- **Format**: `uri`

URL of the output image.

### [imageBase64Data](https://runware.ai/docs/models/topazlabs-wonder-4#response-imagebase64data)

- **Type**: `string`

Base64-encoded image data.

### [imageDataURI](https://runware.ai/docs/models/topazlabs-wonder-4#response-imagedatauri)

- **Type**: `string`
- **Format**: `uri`

Data URI of the output image.

### [cost](https://runware.ai/docs/models/topazlabs-wonder-4#response-cost)

- **Type**: `float`

Task cost in USD. Present when `includeCost` is set to `true` in the request.

## Examples

### upscale (upscale)

![Deep-Sea Exhibit Panorama Enlargement](https://assets.runware.ai/examples/topazlabs-wonder-4/c48cd646-8d6b-4802-b5ae-8da0512e488a.jpg)

```json
{
  "taskType": "upscale",
  "taskUUID": "be79e616-52d1-42c7-891b-7a92431872b3",
  "model": "topazlabs:wonder@4",
  "upscaleFactor": 2,
  "inputs": {
    "image": "https://assets.runware.ai/assets/inputs/c0b68d05-39f2-4050-a490-5922158d89c7.jpg"
  }
}
```

---

### upscale (upscale)

![Entomology Specimen Archive Image Cleanup](https://assets.runware.ai/examples/topazlabs-wonder-4/011e0741-baa4-4f96-8244-5f267701bf2c.jpg)

```json
{
  "taskType": "upscale",
  "taskUUID": "81d8312b-5052-4a66-ae58-cb49c36f9508",
  "model": "topazlabs:wonder@4",
  "upscaleFactor": 2,
  "inputs": {
    "image": "https://assets.runware.ai/assets/inputs/e3b585a6-7c86-4467-a2f4-b783381f0788.jpg"
  }
}
```

---

### upscale (upscale)

![Pipe Organ Conservator Portrait](https://assets.runware.ai/examples/topazlabs-wonder-4/5c471c59-fdba-4298-9b5f-0ea70f184dcd.jpg)

```json
{
  "taskType": "upscale",
  "taskUUID": "1f136f04-c1b1-430a-bb53-e1b6cf1d81cb",
  "model": "topazlabs:wonder@4",
  "upscaleFactor": 2,
  "inputs": {
    "image": "https://assets.runware.ai/assets/inputs/3eaca633-26b4-4ea1-bfbd-0823355e3b8d.jpg"
  }
}
```

---

### upscale (upscale)

![Heritage Seed Catalog Linocut](https://assets.runware.ai/examples/topazlabs-wonder-4/e05ccb86-ed91-4c13-9084-d8a682f36aff.jpg)

```json
{
  "taskType": "upscale",
  "taskUUID": "caa270bd-a5eb-47ca-a0b6-91f422aa20d8",
  "model": "topazlabs:wonder@4",
  "upscaleFactor": 2,
  "inputs": {
    "image": "https://assets.runware.ai/assets/inputs/611eb5dd-70fd-42bc-9183-8bf93c002051.jpg"
  }
}
```