Topaz Labs Wonder 4

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.

API Reference
INTEGRATE
Complete technical specification for integration
RequestResponse
Examples4
CODE
Ready-to-use code snippets for common workflows
Guides5
LEARN
Step-by-step tutorials for advanced use cases
upscale
Deep-Sea Exhibit Panorama Enlargement$0.0428~20s
import { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'topazlabs:wonder@4',
upscaleFactor: 2,
inputs: {
image: 'https://assets.runware.ai/assets/inputs/c0b68d05-39f2-4050-a490-5922158d89c7.jpg'
}
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"model": "topazlabs:wonder@4",
"upscaleFactor": 2,
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/c0b68d05-39f2-4050-a490-5922158d89c7.jpg"
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"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"
}
}
]'runware run topazlabs:wonder@4 \
upscaleFactor=2 \
inputs.image=https://assets.runware.ai/assets/inputs/c0b68d05-39f2-4050-a490-5922158d89c7.jpg{
"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"
}
}Response
{
"taskType": "upscale",
"taskUUID": "be79e616-52d1-42c7-891b-7a92431872b3",
"imageUUID": "40451d27-de45-4802-8ce7-a4a557006da4",
"imageURL": "https://im.runware.ai/image/os/a07dlim3/ws/4/ii/40451d27-de45-4802-8ce7-a4a557006da4.jpg",
"cost": 0.0428,
"inputImageUUID": "6d65cc20-2f20-4152-81c3-fd3da540ed5d"
}upscale
Entomology Specimen Archive Image Cleanup$0.0428~26s
import { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'topazlabs:wonder@4',
upscaleFactor: 2,
inputs: {
image: 'https://assets.runware.ai/assets/inputs/e3b585a6-7c86-4467-a2f4-b783381f0788.jpg'
}
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"model": "topazlabs:wonder@4",
"upscaleFactor": 2,
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/e3b585a6-7c86-4467-a2f4-b783381f0788.jpg"
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"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"
}
}
]'runware run topazlabs:wonder@4 \
upscaleFactor=2 \
inputs.image=https://assets.runware.ai/assets/inputs/e3b585a6-7c86-4467-a2f4-b783381f0788.jpg{
"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"
}
}Response
{
"taskType": "upscale",
"taskUUID": "81d8312b-5052-4a66-ae58-cb49c36f9508",
"imageUUID": "656f0e80-4a7c-4b97-86e0-33fbcda69e3f",
"imageURL": "https://im.runware.ai/image/os/a09dlim3/ws/4/ii/656f0e80-4a7c-4b97-86e0-33fbcda69e3f.jpg",
"cost": 0.0428,
"inputImageUUID": "a32a69fd-2f52-4447-a633-9cf9684f7dbf"
}upscale
Pipe Organ Conservator Portrait$0.0856~33s
import { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'topazlabs:wonder@4',
upscaleFactor: 2,
inputs: {
image: 'https://assets.runware.ai/assets/inputs/3eaca633-26b4-4ea1-bfbd-0823355e3b8d.jpg'
}
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"model": "topazlabs:wonder@4",
"upscaleFactor": 2,
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/3eaca633-26b4-4ea1-bfbd-0823355e3b8d.jpg"
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"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"
}
}
]'runware run topazlabs:wonder@4 \
upscaleFactor=2 \
inputs.image=https://assets.runware.ai/assets/inputs/3eaca633-26b4-4ea1-bfbd-0823355e3b8d.jpg{
"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"
}
}Response
{
"taskType": "upscale",
"taskUUID": "1f136f04-c1b1-430a-bb53-e1b6cf1d81cb",
"imageUUID": "69d45640-4973-4f72-ac6d-40b66debb12b",
"imageURL": "https://im.runware.ai/image/os/a08dlim3/ws/4/ii/69d45640-4973-4f72-ac6d-40b66debb12b.jpg",
"cost": 0.0856,
"inputImageUUID": "0f103c04-2d91-498a-8f7a-44e87f86a6d9"
}upscale
Heritage Seed Catalog Linocut$0.0428~23s
import { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'topazlabs:wonder@4',
upscaleFactor: 2,
inputs: {
image: 'https://assets.runware.ai/assets/inputs/611eb5dd-70fd-42bc-9183-8bf93c002051.jpg'
}
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"model": "topazlabs:wonder@4",
"upscaleFactor": 2,
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/611eb5dd-70fd-42bc-9183-8bf93c002051.jpg"
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"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"
}
}
]'runware run topazlabs:wonder@4 \
upscaleFactor=2 \
inputs.image=https://assets.runware.ai/assets/inputs/611eb5dd-70fd-42bc-9183-8bf93c002051.jpg{
"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"
}
}Response
{
"taskType": "upscale",
"taskUUID": "caa270bd-a5eb-47ca-a0b6-91f422aa20d8",
"imageUUID": "763e1a11-12dd-4213-99ea-2d1b40b5435a",
"imageURL": "https://im.runware.ai/image/os/a08dlim3/ws/4/ii/763e1a11-12dd-4213-99ea-2d1b40b5435a.jpg",
"cost": 0.0428,
"inputImageUUID": "ebc194a2-0411-4c7a-aaee-22ec32b7d50b"
}