# Topaz | Image Upscale Topaz Image Upscale uses advanced AI models to intelligently enhance image resolution while preserving natural details and textures. It is ideal for upscaling low-resolution images for professional, creative, or restoration purposes without compromising quality. ## API Information - **Model Slug:** topaz-upscale-image - **Branded URL:** https://www.eachlabs.ai/topaz/topaz/topaz-upscale-image - **Provider:** Topaz Labs - **Category:** Image to Image - **Output Type:** image - **Status:** active - **Version:** 0.0.1 - **Base Cost:** $0.025 per execution - **Estimated Processing Time:** 10 seconds - **Last Updated:** 2026-06-22 - **Interactive Demo:** https://www.eachlabs.ai/ai-models/topaz-upscale-image ## Pricing - **Charge Type:** dynamic - **Estimate:** $0.025 per execution - **Pricing Details:** default: $0.025 ## Input Schema | Parameter | Type | Required | Default | Constraints | Description | |-----------|------|----------|---------|-------------|-------------| | model | string | No | Standard V2 | Low Resolution V2,Standard V2,CGI,High Fidelity V2,Text Refine,Recovery,Redefine,Recovery V2 | Model to use for image enhancement. | | upscale_factor | number | No | 2 | 1–4 | Factor to upscale the video by (e.g. 2.0 doubles width and height) | | crop_to_fill | boolean | No | false | - | - | | image_url | string | Yes | - | - | Url of the image to be upscaled | | output_format | string | No | jpeg | jpeg,png | Output format of the upscaled image. | | subject_detection | string | No | All | All,Foreground,Background | Subject detection mode for the image enhancement. | | face_enhancement | boolean | No | true | - | Whether to apply face enhancement to the image. | | face_enhancement_creativity | number | No | 0 | 0–1 | Creativity level for face enhancement. 0.0 means no creativity, 1.0 means maximum creativity. Ignored if face ehnancement is disabled. | | face_enhancement_strength | number | No | 0.8 | 0–1 | Strength of the face enhancement. 0.0 means no enhancement, 1.0 means maximum enhancement. Ignored if face ehnancement is disabled. | ## Example Request ```bash curl -X POST https://api.eachlabs.ai/v1/prediction/ \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "topaz-upscale-image", "input": { "image_url": "https://cdn-us.eachlabs.ai/defaults/a625cdf5d06b062b83aa76a706b0fccfea02dcebd458c672619b5fb0f7816188.webp" } }' ``` ## Output Schema Response returned by `GET /v1/prediction/{id}` when the job completes: ```json { "status": "success", "predictionID": "string", "output": "string (URL of generated image)", "metrics": { "predict_time": "number (seconds)" } } ``` ## Polling ```bash curl https://api.eachlabs.ai/v1/prediction/{PREDICTION_ID} \ -H "Authorization: Bearer YOUR_API_KEY" ``` | Status | Meaning | |--------|---------| | `processing` | Still running — poll again | | `success` | Done — read `output` | | `error` | Failed — read `message` / `details` | ## Webhook (alternative to polling) Pass `"webhook_url": "https://your.host/path"` in the create request. Eachlabs POSTs this payload when the job ends: ```json { "exec_id": "prediction-uuid", "status": "succeeded", "output": "https://...", "error": "" } ``` `status` is `"succeeded"` or `"failed"`. `exec_id` equals the `predictionID` from create. Return 2xx within 30 seconds. ## Errors Error body: `{ "status": "error", "message": "...", "details": "..." }` | Code | Meaning | |------|---------| | `400` | Invalid input | | `401` | Missing / invalid `Authorization` bearer token | | `404` | Unknown model or prediction id | | `429` | Rate limit — 100 creates / min, 10 concurrent per key | | `5xx` | Retry with backoff | ## Overview **topaz-upscale-image — Image-to-Image AI Model** topaz-upscale-image transforms low-resolution images into high-quality, print-ready visuals using Topaz Labs' advanced AI technology, intelligently reconstructing details like faces, textures, and edges that traditional upscalers blur or distort. Developed by topaz as part of the topaz family, this **image-to-image AI model** excels at upscaling up to 600% while preserving natural sharpness, making it essential for photographers, designers, and developers seeking **AI image upscaling** without artifacts. Whether restoring legacy photos or enhancing AI-generated content, topaz-upscale-image delivers results that often surpass originals, powered by specialized models for diverse image types. ## Usage Notes - API Base URL: `https://api.eachlabs.ai/v1` - Authentication: send `Authorization: Bearer YOUR_API_KEY`. Generate a key from the Eachlabs dashboard at https://www.eachlabs.ai/dashboard/api-keys. - File-typed parameters (`*_url`, `image_url`, `video_url`, `audio_url`, etc.) accept publicly-reachable HTTPS URLs only. Upload your asset first (GCS / S3 / your CDN) and pass the resulting URL. Data-URIs and localhost URLs are rejected. - For structured parameters (arrays / objects) send real JSON values, not stringified payloads. - Monetary values are reported in USD; per-token / per-megapixel rates may be billed in micro-cents internally. - Prefer `webhook_url` over polling for long-running predictions — see the Webhook Callback section.