Use Topaz in OpenClaw.
Topaz by Topaz Labs upscales images up to 8x resolution using neural networks that recover detail without artifacts. OpenClaw agents call it through the same RunAPI key used for chat and image generation — send an image URL, pick a scale factor, and poll for the enhanced result.
Use RunAPI to upscale an image with Topaz.
Requirements:
- Use the RUNAPI_API_KEY environment variable for authentication.
- Call the RunAPI upscale_image endpoint at https://runapi.ai/api/v1/topaz/upscale_image.
- Set model to "topaz-upscale-image".
- Pass the image URL in image_url.
- Optionally set scale to 2, 4, or 8 (default is 2).
- The response returns a task_id. Poll the task status endpoint until the task completes, then retrieve the upscaled image URL from the result.
curl -X POST https://runapi.ai/api/v1/topaz/upscale_image \
-H "Authorization: Bearer $RUNAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "topaz-upscale-image",
"image_url": "https://example.com/photo.jpg",
"scale": 4
}'
{
"task_id": "tsk_abc123",
"status": "pending",
"model": "topaz-upscale-image"
}
Use Topaz in OpenClaw in three steps
Configure RunAPI
If you have not set up RunAPI in OpenClaw yet, follow the OpenClaw setup guide. Set the RUNAPI_API_KEY environment variable and add RunAPI as an OpenAI-compatible provider with baseUrl https://runapi.ai/v1.
export RUNAPI_API_KEY=runapi_xxx
Call Topaz upscale_image
Send a POST request to the upscale_image endpoint with model set to topaz-upscale-image, the source image_url, and an optional scale factor of 2, 4, or 8. The same RunAPI key handles authentication.
POST /api/v1/topaz/upscale_image
Poll for the result
The endpoint returns a task_id with status pending. Poll the task status endpoint until the status changes to completed, then retrieve the upscaled image URL from the response. RunAPI SDKs and the CLI handle polling automatically.
GET /api/v1/topaz/upscale_image/tsk_abc123
Topaz upscale_image API parameters
| Parameter | Type | Description |
|---|---|---|
model |
string |
Required. topaz-upscale-image or topaz-upscale-video. |
image_url |
string |
URL of the image to upscale. |
scale |
integer |
Optional. Upscale factor: 2, 4, or 8. Default 2. |
callback_url |
string |
Optional. Webhook URL for async completion notification. |
What is Topaz on OpenClaw?
Topaz is the pro-grade image finishing tool that photographers call the "gold standard for photo fidelity." It upscales images up to 8x resolution with crystal-clear results that stay faithful to the original -- unlike some upscalers that add AI-generated detail that was not in the source image. On RunAPI, it runs as an API endpoint rather than a desktop app subscription, so OpenClaw agents can include upscaling as a step in automated image pipelines.
Topaz use cases
Upscaling AI-generated images to print quality
Take outputs from Midjourney, Flux, or any generation model and upscale them to 8K resolution for commercial print licensing, large-format posters, or packaging.
Noise reduction and face restoration
Clean up noisy low-light photos and restore blurry faces in portraits, recovering detail that was lost to compression or poor capture conditions.
Batch processing large photo collections
Process hundreds of product photos or archival images through upscaling in a single pipeline, with the API handling each image asynchronously.
Topaz + OpenClaw questions
Yes. Configure RunAPI as an OpenAI-compatible provider in OpenClaw, then instruct the agent to call the Topaz upscale_image endpoint. The same RUNAPI_API_KEY used for chat and image generation also handles upscaling requests.
No. The same RUNAPI_API_KEY that powers chat, image generation, and other models also works for Topaz upscaling. All RunAPI models share one API key and one credits balance.
Topaz upscaling is async. The endpoint returns a task_id immediately. Your OpenClaw agent polls the task status endpoint until the upscaled image is ready. RunAPI SDKs and the CLI handle polling automatically.
Topaz uses pay-as-you-go per-task pricing through RunAPI. Check the RunAPI pricing page for current rates. There is no monthly subscription or minimum spend -- unlike the $199/year Topaz desktop app subscription.
Topaz offers configurable 2x/4x/8x scale factors and excels at photographic detail at extreme enlargements. Recraft crisp upscale is optimized for clean edge recovery on design assets with lower per-task cost. For product photos and design work, try Recraft first. For maximum resolution photography, use Topaz.
Topaz works best on photographic content. Heavily compressed images, very small source files, or images with existing AI artifacts may produce results that look plasticky or over-smoothed at high scale factors. Start with 2x to test quality before committing to 4x or 8x on a batch.
OpenClaw general setup
Not configured yet? Start with the RunAPI setup guide for OpenClaw.
OpenClaw setup guide →Try Topaz in OpenClaw today.
Get a free RunAPI key, paste the prompt into OpenClaw, and start upscaling images with Topaz.